A B C D E F G H I K L M N O P Q R S T U V W

A

AbstractAsyncQueueReader - Class in com.sun.grizzly.async
 
AbstractAsyncQueueReader(SelectorHandler) - Constructor for class com.sun.grizzly.async.AbstractAsyncQueueReader
 
AbstractAsyncQueueWriter - Class in com.sun.grizzly.async
 
AbstractAsyncQueueWriter(SelectorHandler) - Constructor for class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
AbstractConnectorHandler<E extends SelectorHandler,K extends CallbackHandler> - Class in com.sun.grizzly
Abstract ConnectorHandler definition, which preimplements common getter/setter methods.
AbstractConnectorHandler() - Constructor for class com.sun.grizzly.AbstractConnectorHandler
 
acceptWithoutRegistration(SelectionKey) - Method in class com.sun.grizzly.ReusableTCPSelectorHandler
Accepts connection, without registering it for reading or writing
acceptWithoutRegistration(SelectionKey) - Method in interface com.sun.grizzly.SelectorHandler
Accepts connection, without registering it for reading or writing
acceptWithoutRegistration(SelectionKey) - Method in class com.sun.grizzly.TCPSelectorHandler
Accepts connection, without registering it for reading or writing
acquire() - Method in interface com.sun.grizzly.ConnectorInstanceHandler
Acquire a ConnectorHandler
acquire() - Method in class com.sun.grizzly.ConnectorInstanceHandler.ConcurrentQueueConnectorInstanceHandler
Acquire a ConnectorHandler
acquireConnectorHandler(Controller.Protocol) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandlerPool
 
acquireConnectorHandler(Controller.Protocol) - Method in interface com.sun.grizzly.ConnectorHandlerPool
Return an instance of ConnectorHandler, which corresponds to the protocol
acquireConnectorHandler(Controller.Protocol) - Method in class com.sun.grizzly.Controller
Return an instance of a ConnectorHandler based on the Protocol requested.
acquireConnectorHandler(Controller.Protocol) - Method in class com.sun.grizzly.DefaultConnectorHandlerPool
 
acquireConnectorHandler() - Method in interface com.sun.grizzly.SelectorHandler
Return an instance of the ConnectorHandler
acquireConnectorHandler() - Method in class com.sun.grizzly.TCPSelectorHandler
Return an instance of the default ConnectorHandler, which is the TCPConnectorHandler
addChannel(SelectableChannel, SelectorHandler) - Method in class com.sun.grizzly.ReadController
Add a Channel to be processed byReadController's SelectorHandler
addEventHandler(DefaultProtocolChain.EventHandler) - Method in class com.sun.grizzly.DefaultProtocolChain
Add the DefaultProtocolChain.EventHandler
addExpirationStamp(SelectionKey, long) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
Adds expiration timeout stamp to the SelectionKey depending on its attachment
addExpirationStamp(SelectionKey) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
 
addFilter(ProtocolFilter) - Method in class com.sun.grizzly.DefaultProtocolChain
Add the ProtocolFilter to this ProtocolChain
addFilter(int, ProtocolFilter) - Method in class com.sun.grizzly.DefaultProtocolChain
Insert a ProtocolFilter at position pos.
addFilter(ProtocolFilter) - Method in interface com.sun.grizzly.ProtocolChain
Add a ProtocolFilter to the list.
addFilter(int, ProtocolFilter) - Method in interface com.sun.grizzly.ProtocolChain
Insert a ProtocolFilter to the list at position 'pos'.
addPendingIO(Runnable) - Method in class com.sun.grizzly.TCPSelectorHandler
addPendingKeyCancel(SelectionKey) - Method in class com.sun.grizzly.TCPSelectorHandler
addProtocolSupport(Controller.Protocol) - Method in class com.sun.grizzly.RoundRobinSelectorHandler
Add custom protocol support
address - Variable in class com.sun.grizzly.async.OperationResult
 
addSelectorHandler(SelectorHandler) - Method in class com.sun.grizzly.Controller
Add a SelectorHandler
addStateListener(ControllerStateListener) - Method in class com.sun.grizzly.Controller
Add controller state listener
afterCall() - Method in class com.sun.grizzly.async.AsyncQueueReaderContextTask
 
afterCall() - Method in class com.sun.grizzly.async.AsyncQueueWriterContextTask
 
afterCall() - Method in class com.sun.grizzly.SelectionKeyContextTask
 
associateKey(SelectionKey) - Method in class com.sun.grizzly.CallbackHandlerSelectionKeyAttachment
 
AsyncQueue<K,E> - Class in com.sun.grizzly.async
Class implements Map-like collection, maps keys to values, where single key could have queue of correspondent values.
AsyncQueue() - Constructor for class com.sun.grizzly.async.AsyncQueue
 
AsyncQueue.AsyncQueueEntry - Class in com.sun.grizzly.async
AsyncQueue data unit
AsyncQueue.AsyncQueueEntry() - Constructor for class com.sun.grizzly.async.AsyncQueue.AsyncQueueEntry
 
AsyncQueueDataProcessor - Interface in com.sun.grizzly.async
Interface represents processor class, which could be used either by AsyncQueueWriter for pre processing data, which will be sent on a SelectableChannel; or by AsyncQueueReader for post processing data, which were read from a SelectableChannel.
AsyncQueueReadable - Interface in com.sun.grizzly.async
Object, which is able to read data to the ByteBuffer asynchronously, using queue.
AsyncQueueReader - Interface in com.sun.grizzly.async
 
asyncQueueReader - Variable in class com.sun.grizzly.TCPSelectorHandler
AsyncQueueWriter
AsyncQueueReaderContextTask - Class in com.sun.grizzly.async
AsyncQueueReader task, which will be executed by Context, when Context.execute(ContextTask) is called.
AsyncQueueReaderContextTask(AsyncQueueReader) - Constructor for class com.sun.grizzly.async.AsyncQueueReaderContextTask
 
AsyncQueueReadUnit - Class in com.sun.grizzly.async
AsyncQueue write data unit
AsyncQueueReadUnit() - Constructor for class com.sun.grizzly.async.AsyncQueueReadUnit
 
AsyncQueueWritable - Interface in com.sun.grizzly.async
Object, which is able to send ByteBuffer data asynchronously, using queue.
AsyncQueueWriter - Interface in com.sun.grizzly.async
Common interface to be implemented by protocol dependant asynchronous queue writers implementations
asyncQueueWriter - Variable in class com.sun.grizzly.TCPSelectorHandler
AsyncQueueWriter
AsyncQueueWriterContextTask - Class in com.sun.grizzly.async
AsyncQueueWriter task, which will be executed by Context, when Context.execute(ContextTask) is called.
AsyncQueueWriterContextTask(AsyncQueueWriter) - Constructor for class com.sun.grizzly.async.AsyncQueueWriterContextTask
 
AsyncQueueWriteUnit - Class in com.sun.grizzly.async
AsyncQueue write data unit
AsyncQueueWriteUnit() - Constructor for class com.sun.grizzly.async.AsyncQueueWriteUnit
 
AsyncReadCallbackHandler - Interface in com.sun.grizzly.async
Callback handler interface, used by AsyncQueueReader to notify custom code either about completion of specific ByteBuffer reading or about IO problem, which occured when reading data to a ByteBuffer
AsyncReadCondition - Interface in com.sun.grizzly.async
Interface represents condition, which will be checked when AsyncQueueReader was able to read new portion of data from SelectableChannel, which is associated with a SelectionKey.
AsyncWriteCallbackHandler - Interface in com.sun.grizzly.async
Callback handler interface, used by AsyncQueueWriter to notify custom code either about completion of specific ByteBuffer writing or about IO problem, which occured when writing ByteBuffer
attach(E) - Method in interface com.sun.grizzly.IOEvent
Attach an E and return the previous value.
attach(E) - Method in class com.sun.grizzly.IOEvent.DefaultIOEvent
 
attachment() - Method in interface com.sun.grizzly.IOEvent
Return the current attachment.
attachment() - Method in class com.sun.grizzly.IOEvent.DefaultIOEvent
 
attributes - Variable in class com.sun.grizzly.Controller
Attributes, associated with the Controller instance
attributes - Variable in class com.sun.grizzly.TCPSelectorHandler
Attributes, associated with the SelectorHandler instance

B

BaseSelectionKeyHandler - Class in com.sun.grizzly
This class is an implementation of a SelectionKeyHandler which does not use the SelectionKey attachment, does not expire keys or utilize a keep-alive mechanism.
BaseSelectionKeyHandler() - Constructor for class com.sun.grizzly.BaseSelectionKeyHandler
 
BaseSelectionKeyHandler(SelectorHandler) - Constructor for class com.sun.grizzly.BaseSelectionKeyHandler
 
beforeCall() - Method in class com.sun.grizzly.async.AsyncQueueReaderContextTask
 
beforeCall() - Method in class com.sun.grizzly.async.AsyncQueueWriterContextTask
 
beforeCall() - Method in class com.sun.grizzly.SelectionKeyContextTask
 
bind(ServerSocket, InetSocketAddress, int) - Method in class com.sun.grizzly.PortRange
Binds socket to endpoint.
bind(Socket, InetSocketAddress) - Method in class com.sun.grizzly.PortRange
Binds socket to endpoint.
bind(ServerSocket, InetAddress, int) - Method in class com.sun.grizzly.PortRange
Binds socket to address.
bind(Socket, InetAddress) - Method in class com.sun.grizzly.PortRange
Binds socket to address.
bind(DatagramSocket, InetAddress) - Method in class com.sun.grizzly.PortRange
Binds socket to address.
bind(DatagramSocket) - Method in class com.sun.grizzly.PortRange
Binds socket to the wildcard address.
bind(ServerSocket, int) - Method in class com.sun.grizzly.PortRange
Binds socket to the wildcard address.
bind(Socket) - Method in class com.sun.grizzly.PortRange
Binds socket to the wildcard address.
boolean2Role(boolean) - Static method in class com.sun.grizzly.TCPSelectorHandler
Returns the Role, depending on isClient value
byteBuffer - Variable in class com.sun.grizzly.async.AsyncQueueReadUnit
 
byteBuffer - Variable in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
byteBufferCloner - Variable in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
ByteBufferCloner - Interface in com.sun.grizzly.async
Cloner, which will be called by AsyncQueueWriter, when ByteBuffer could not be written directly, and will be added to the queue.
bytesProcessed - Variable in class com.sun.grizzly.async.OperationResult
 

C

CacheableConnectorHandler - Class in com.sun.grizzly.connectioncache.client
Extended implementation of the DefaultSelectionKeyHandler with ConnectionManagement integrated in it
CacheableConnectorHandler(CacheableConnectorHandlerPool) - Constructor for class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
CacheableConnectorHandlerPool - Class in com.sun.grizzly.connectioncache.client
ConnectorInstanceHandler which use a ConcurrentQueue to pool CacheableConnectorHandler
CacheableConnectorHandlerPool(Controller, int, int, int) - Constructor for class com.sun.grizzly.connectioncache.client.CacheableConnectorHandlerPool
 
CacheableConnectorHandlerPool(Controller, int, int, int, ConnectionFinder<ConnectorHandler>) - Constructor for class com.sun.grizzly.connectioncache.client.CacheableConnectorHandlerPool
 
CacheableConnectorHandlerPool(Controller, int, int, int, ConnectionFinder<ConnectorHandler>, OutboundConnectionFactory<ConnectorHandler>) - Constructor for class com.sun.grizzly.connectioncache.client.CacheableConnectorHandlerPool
 
CacheableSelectionKeyHandler - Class in com.sun.grizzly.connectioncache.server
Extended implementation of the DefaultSelectionKeyHandler with ConnectionManagement integrated in it
CacheableSelectionKeyHandler() - Constructor for class com.sun.grizzly.connectioncache.server.CacheableSelectionKeyHandler
 
CacheableSelectionKeyHandler(int, int) - Constructor for class com.sun.grizzly.connectioncache.server.CacheableSelectionKeyHandler
Construct ConnectionManagementSelectionKeyHandler
call() - Method in class com.sun.grizzly.SelectionKeyContextTask
 
callbackHandler - Variable in class com.sun.grizzly.AbstractConnectorHandler
A CallbackHandler handler invoked by the SelectorHandler when a non blocking operation is ready to be processed.
callbackHandler - Variable in class com.sun.grizzly.async.AsyncQueueReadUnit
 
callbackHandler - Variable in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
CallbackHandler<E> - Interface in com.sun.grizzly
Callback handler for non blocking client operations.
CallbackHandlerContextTask - Class in com.sun.grizzly
CallbackHandler task, which will be executed by Context, when Context.execute(ContextTask) is called.
CallbackHandlerContextTask(CallbackHandler) - Constructor for class com.sun.grizzly.CallbackHandlerContextTask
 
CallbackHandlerDescriptor - Interface in com.sun.grizzly
Class represents CallbackHandler descriptor.
CallbackHandlerSelectionKeyAttachment - Class in com.sun.grizzly
SelectionKey attachment, which wraps CallbackHandler
CallbackHandlerSelectionKeyAttachment(CallbackHandler) - Constructor for class com.sun.grizzly.CallbackHandlerSelectionKeyAttachment
Creates the CallbackHandler to the SelectionKey CallbackHandler will not be attached directly, but wrapped with CallbackHandlerSelectionKeyAttachment
cancel(SelectionKey) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
if SelectionKey is valid, its canceled .
cancel(SelectionKey) - Method in class com.sun.grizzly.connectioncache.server.CacheableSelectionKeyHandler
 
cancel() - Method in interface com.sun.grizzly.Context
Cancel a Context.suspend()ed Context.
cancel() - Method in class com.sun.grizzly.NIOContext
Cancel a NIOContext.suspend()ed Context.
cancel(SelectionKey) - Method in interface com.sun.grizzly.SelectionKeyHandler
Cancel a SelectionKey and close its Channel.
cancel() - Method in class com.sun.grizzly.suspendable.Suspendable
Cancel a suspended connection.
cancel(SelectionKey) - Method in class com.sun.grizzly.suspendable.SuspendableFilter
Cancel the connection by internalling cancelling the associated ReadableChannel and it associated SelectionKey
cancelKey(SelectionKey) - Method in class com.sun.grizzly.Controller
Deprecated.  
canCreateNewConnection(ContactInfo<C>) - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl
 
canCreateNewConnection(ContactInfo<C>) - Method in interface com.sun.grizzly.connectioncache.spi.transport.OutboundConnectionCache
Determine whether a new connection could be created by the ConnectionCache or not.
checkAsyncReadCompleted(SelectionKey, SocketAddress, ByteBuffer) - Method in interface com.sun.grizzly.async.AsyncReadCondition
Method checks, whether data, which was read to the ByteBuffer, is read completely, or custom code expects more data.
checkEmptyRead(SocketChannel, int) - Method in class com.sun.grizzly.filter.ReadFilter
 
clear() - Method in class com.sun.grizzly.async.AsyncQueue
 
clone(ByteBuffer) - Method in interface com.sun.grizzly.async.ByteBufferCloner
 
close() - Method in class com.sun.grizzly.async.AbstractAsyncQueueReader
 
close() - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
close() - Method in interface com.sun.grizzly.async.AsyncQueueReader
Close AsyncQueueReader and release its resources
close() - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Close AsyncQueueWriter and release its resources
close(SelectionKey) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
close() - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
close(C) - Method in class com.sun.grizzly.connectioncache.impl.transport.InboundConnectionCacheBlockingImpl
Close a connection, regardless of whether the connection is busy or not.
close(C) - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl
Close a connection, regardless of whether the connection is busy or not.
close(C) - Method in interface com.sun.grizzly.connectioncache.spi.transport.ConnectionCache
Close a connection, regardless of its state.
close() - Method in interface com.sun.grizzly.ConnectorHandler
Close the underlying connection.
close(SelectionKey) - Method in interface com.sun.grizzly.SelectionKeyHandler
Close the SelectionKey's channel input or output, but keep alive the SelectionKey.
close() - Method in class com.sun.grizzly.SSLConnectorHandler
Close the underlying connection.
close() - Method in class com.sun.grizzly.TCPConnectorHandler
Close the underlying connection.
close() - Method in class com.sun.grizzly.UDPConnectorHandler
Close the underlying connection.
closeChannel(SelectableChannel) - Method in class com.sun.grizzly.ReusableTCPSelectorHandler
Closes SelectableChannel
closeChannel(SelectableChannel) - Method in class com.sun.grizzly.ReusableUDPSelectorHandler
Closes SelectableChannel
closeChannel(SelectableChannel) - Method in interface com.sun.grizzly.SelectorHandler
Closes SelectableChannel
closeChannel(SelectableChannel) - Method in class com.sun.grizzly.TCPSelectorHandler
Closes SelectableChannel
closeChannel(SelectableChannel) - Method in class com.sun.grizzly.UDPSelectorHandler
 
com.sun.grizzly - package com.sun.grizzly
 
com.sun.grizzly.async - package com.sun.grizzly.async
 
com.sun.grizzly.connectioncache.client - package com.sun.grizzly.connectioncache.client
 
com.sun.grizzly.connectioncache.impl.concurrent - package com.sun.grizzly.connectioncache.impl.concurrent
 
com.sun.grizzly.connectioncache.impl.transport - package com.sun.grizzly.connectioncache.impl.transport
 
com.sun.grizzly.connectioncache.server - package com.sun.grizzly.connectioncache.server
 
com.sun.grizzly.connectioncache.spi.concurrent - package com.sun.grizzly.connectioncache.spi.concurrent
 
com.sun.grizzly.connectioncache.spi.transport - package com.sun.grizzly.connectioncache.spi.transport
 
com.sun.grizzly.filter - package com.sun.grizzly.filter
 
com.sun.grizzly.suspendable - package com.sun.grizzly.suspendable
 
ComplexSelectorHandler - Interface in com.sun.grizzly
A ComplexSelectorHandler handles all java.nio.channels.Selector operations similar way SelectorHandler does.
ConcurrentQueue<V> - Interface in com.sun.grizzly.connectioncache.spi.concurrent
A class that provides a very simply unbounded queue.
ConcurrentQueue.Handle<V> - Interface in com.sun.grizzly.connectioncache.spi.concurrent
A Handle provides the capability to delete an element of a ConcurrentQueue very quickly.
ConcurrentQueueBlockingImpl<V> - Class in com.sun.grizzly.connectioncache.impl.concurrent
 
ConcurrentQueueBlockingImpl() - Constructor for class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueBlockingImpl
 
ConcurrentQueueFactory - Class in com.sun.grizzly.connectioncache.spi.concurrent
A factory class for creating instances of ConcurrentQueue.
ConcurrentQueueImpl<V> - Class in com.sun.grizzly.connectioncache.impl.concurrent
 
ConcurrentQueueImpl() - Constructor for class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueImpl
 
ConcurrentQueueNonBlockingImpl<V> - Class in com.sun.grizzly.connectioncache.impl.concurrent
 
ConcurrentQueueNonBlockingImpl() - Constructor for class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueNonBlockingImpl
 
condition - Variable in class com.sun.grizzly.async.AsyncQueueReadUnit
 
configure(SSLConfig) - Method in class com.sun.grizzly.filter.SSLReadFilter
Configures SSL settings.
configure(SSLConfig) - Method in class com.sun.grizzly.SSLConnectorHandler
Configure SSLConnectorHandler's SSL settings.
configureChannel(SelectableChannel) - Method in interface com.sun.grizzly.SelectorHandler
Configure the channel operations.
configureChannel(SelectableChannel) - Method in class com.sun.grizzly.TCPConnectorHandler
configureChannel(SelectableChannel) - Method in class com.sun.grizzly.TCPSelectorHandler
Configure the channel operations.
configureContext(SelectionKey, Context.OpType, NIOContext, SelectorHandler) - Method in class com.sun.grizzly.Controller
Configure the Context
configureOpType(SelectionKey) - Method in class com.sun.grizzly.NIOContext
Configure the NIOContext.currentOpType based on the SelectionKey.readyOps() values.
connect(SocketAddress, K) - Method in class com.sun.grizzly.AbstractConnectorHandler
Connect to hostname:port.
connect(SocketAddress) - Method in class com.sun.grizzly.AbstractConnectorHandler
Connect to hostname:port.
connect(SocketAddress, K, E) - Method in class com.sun.grizzly.AbstractConnectorHandler
Connect to hostname:port.
connect(SocketAddress, SocketAddress, K) - Method in class com.sun.grizzly.AbstractConnectorHandler
Connect to hostname:port.
connect(SocketAddress, CallbackHandler, SelectorHandler) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
connect(SocketAddress, CallbackHandler) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
connect(SocketAddress) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
connect(SocketAddress, SocketAddress, CallbackHandler, SelectorHandler) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
connect(SocketAddress, SocketAddress, CallbackHandler) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
connect(SocketAddress, SocketAddress) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
connect(SocketAddress, P, E) - Method in interface com.sun.grizzly.ConnectorHandler
Connect to hostname:port.
connect(SocketAddress, P) - Method in interface com.sun.grizzly.ConnectorHandler
Connect to hostname:port.
connect(SocketAddress) - Method in interface com.sun.grizzly.ConnectorHandler
Connect to hostname:port.
connect(SocketAddress, SocketAddress, P, E) - Method in interface com.sun.grizzly.ConnectorHandler
Connect to hostname:port.
connect(SocketAddress, SocketAddress, P) - Method in interface com.sun.grizzly.ConnectorHandler
Connect to hostname:port.
connect(SocketAddress, SocketAddress) - Method in interface com.sun.grizzly.ConnectorHandler
Connect to hostname:port.
connect(SocketAddress, SocketAddress, SSLCallbackHandler, SSLSelectorHandler) - Method in class com.sun.grizzly.SSLConnectorHandler
Connect to hostname:port.
connect(SocketAddress, SocketAddress) - Method in class com.sun.grizzly.SSLConnectorHandler
Connect to hostname:port.
connect(SocketAddress, SocketAddress, CallbackHandler, TCPSelectorHandler) - Method in class com.sun.grizzly.TCPConnectorHandler
Connect to hostname:port.
connect(SocketAddress, SocketAddress) - Method in class com.sun.grizzly.TCPConnectorHandler
Connect to hostname:port.
connect(SocketAddress, SocketAddress, CallbackHandler) - Method in class com.sun.grizzly.TCPSelectorHandler
Register a CallBackHandler to this Selector.
connect(SocketAddress, SocketAddress, CallbackHandler, UDPSelectorHandler) - Method in class com.sun.grizzly.UDPConnectorHandler
Connect to hostname:port.
connect(SocketAddress, SocketAddress) - Method in class com.sun.grizzly.UDPConnectorHandler
Connect to hostname:port.
ConnectionCache<C extends java.io.Closeable> - Interface in com.sun.grizzly.connectioncache.spi.transport
A connection cache manages a group of connections which may be re-used for sending and receiving messages.
ConnectionCacheBase<C extends java.io.Closeable> - Class in com.sun.grizzly.connectioncache.impl.transport
 
ConnectionCacheFactory - Class in com.sun.grizzly.connectioncache.spi.transport
A factory class for creating connections caches.
ConnectionFinder<C extends java.io.Closeable> - Interface in com.sun.grizzly.connectioncache.spi.transport
An instance of a ConnectionFinder may be supplied to the OutboundConnectionCache.get method.
connectionTimeout - Variable in class com.sun.grizzly.TCPConnectorHandler
Connection timeout is milliseconds
ConnectorHandler<E extends SelectorHandler,P extends CallbackHandler> - Interface in com.sun.grizzly
Client side interface used to implement non blocking client operation.
ConnectorHandlerPool<E extends ConnectorHandler> - Interface in com.sun.grizzly
Interface representing ConnectorHandler pool Implementation of this interface will be responsible for allocating/releasing client side ConnectorHandlers
connectorHandlerPool - Variable in class com.sun.grizzly.Controller
The ConnectorHandlerPool, which is responsible for creating/caching ConnectorHandler instances.
ConnectorInstanceHandler<E extends ConnectorHandler> - Interface in com.sun.grizzly
This interface is responsible of handling ConnectorHandler instance creation.
connectorInstanceHandler - Variable in class com.sun.grizzly.TCPSelectorHandler
The ConnectorInstanceHandler used to return a new or pooled ConnectorHandler
ConnectorInstanceHandler.ConcurrentQueueConnectorInstanceHandler<E extends ConnectorHandler> - Class in com.sun.grizzly
Concurrent Queue ConnectorInstanceHandler implementation
ConnectorInstanceHandler.ConcurrentQueueConnectorInstanceHandler() - Constructor for class com.sun.grizzly.ConnectorInstanceHandler.ConcurrentQueueConnectorInstanceHandler
 
ConnectorInstanceHandler.ConcurrentQueueDelegateCIH<E extends ConnectorHandler> - Class in com.sun.grizzly
Concurrent Queue ConnectorInstanceHandler implementation
ConnectorInstanceHandler.ConcurrentQueueDelegateCIH(Callable<E>) - Constructor for class com.sun.grizzly.ConnectorInstanceHandler.ConcurrentQueueDelegateCIH
 
ContactInfo<C extends java.io.Closeable> - Interface in com.sun.grizzly.connectioncache.spi.transport
The ContactInfo represents the information needed to establish a connection to a (possibly different) process.
Context - Interface in com.sun.grizzly
This interface is used to share information between the Grizzly Framework classes and ProtocolFilter implementation.
context - Variable in class com.sun.grizzly.ContextTask
 
Context.AttributeScope - Enum in com.sun.grizzly
 
Context.KeyRegistrationState - Enum in com.sun.grizzly
A SelectionKey's registration state.
Context.OpType - Enum in com.sun.grizzly
The list of possible SelectionKey.OP_XXXX.
ContextTask - Class in com.sun.grizzly
Task, which will be executed by Context, when Context.execute(ContextTask) is called.
ContextTask() - Constructor for class com.sun.grizzly.ContextTask
 
continousExecution - Variable in class com.sun.grizzly.DefaultProtocolChain
true if a pipelined execution is required.
continousExecution - Variable in class com.sun.grizzly.filter.ReadFilter
true if a pipelined execution is required.
continueSelect(SelectorHandler, NIOContext) - Method in class com.sun.grizzly.SelectorHandlerRunner
 
controller - Variable in class com.sun.grizzly.AbstractConnectorHandler
The internal Controller used (in case not specified).
Controller - Class in com.sun.grizzly
Main entry point when using the Grizzly Framework.
Controller() - Constructor for class com.sun.grizzly.Controller
Controller constructor
Controller.KernelExecutorFactory - Interface in com.sun.grizzly
 
Controller.KernelExecutorFactory.DefaultFactory - Class in com.sun.grizzly
 
Controller.KernelExecutorFactory.DefaultFactory() - Constructor for class com.sun.grizzly.Controller.KernelExecutorFactory.DefaultFactory
 
Controller.Protocol - Enum in com.sun.grizzly
 
ControllerStateListener - Interface in com.sun.grizzly
Controller state listener interface.
ControllerStateListenerAdapter - Class in com.sun.grizzly
Empty implementation of ControllerStateListener
ControllerStateListenerAdapter() - Constructor for class com.sun.grizzly.ControllerStateListenerAdapter
 
copyTo(Copyable) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
copyTo(Copyable) - Method in class com.sun.grizzly.connectioncache.server.CacheableSelectionKeyHandler
 
copyTo(Copyable) - Method in class com.sun.grizzly.Controller
Copy this Controller state to another instance of a Controller.
copyTo(Copyable) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
copyTo(Copyable) - Method in class com.sun.grizzly.NIOContext
 
copyTo(Copyable) - Method in class com.sun.grizzly.ReusableTCPSelectorHandler
 
copyTo(Copyable) - Method in class com.sun.grizzly.RoundRobinSelectorHandler
 
copyTo(Copyable) - Method in class com.sun.grizzly.TCPSelectorHandler
 
copyTo(Copyable) - Method in class com.sun.grizzly.UDPSelectorHandler
 
create() - Method in interface com.sun.grizzly.Controller.KernelExecutorFactory
 
create() - Method in class com.sun.grizzly.Controller.KernelExecutorFactory.DefaultFactory
 
create(String, String) - Method in class com.sun.grizzly.Controller.KernelExecutorFactory.DefaultFactory
Create the ExecutorService used to execute kernel operations.
createConnection() - Method in interface com.sun.grizzly.connectioncache.spi.transport.ContactInfo
Create a new Connection from this ContactInfo.
createKernelExecutor() - Method in class com.sun.grizzly.Controller
Create the ExecutorService used to execute kernel like operations.
createSelectorHandler(Controller.Protocol, boolean) - Static method in class com.sun.grizzly.SelectorHandlerFactory
return an instance of SelectorHandler, which corresponds to the protocol and reusable
createSSLContext() - Method in class com.sun.grizzly.SSLConfig
 
currentElement - Variable in class com.sun.grizzly.async.AsyncQueue.AsyncQueueEntry
 

D

datagramChannel - Variable in class com.sun.grizzly.UDPSelectorHandler
The DatagramChannel.
datagramSocket - Variable in class com.sun.grizzly.UDPSelectorHandler
The datagramSocket instance.
debug() - Method in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
 
decrementRefCount() - Method in interface com.sun.grizzly.Context
Decrements the reference count of this Context.
decrementRefCount() - Method in class com.sun.grizzly.NIOContext
Decrements the reference count of this Context.
DEFAULT_CONFIG - Static variable in class com.sun.grizzly.SSLConfig
Default SSL configuration.
DefaultCallbackHandler - Class in com.sun.grizzly
Default CallbackHandler implementation that implements the connect operations, and delegate the read and write operations to its associated SelectorHandler ProtocolChain, like the default SelectorHandler is doing server side component.
DefaultCallbackHandler(ConnectorHandler) - Constructor for class com.sun.grizzly.DefaultCallbackHandler
Create a CallbackHandler that delegate the read and write operation to the ProtocolChain associated with the ConnectorHandler
DefaultCallbackHandler(ConnectorHandler, boolean) - Constructor for class com.sun.grizzly.DefaultCallbackHandler
Create a CallbackHandler that delegate the read and write operation to the ProtocolChain associated with the ConnectorHandler.
DefaultConnectorHandlerPool - Class in com.sun.grizzly
Simple ConnectorHandlerPool implementation
DefaultConnectorHandlerPool(Controller) - Constructor for class com.sun.grizzly.DefaultConnectorHandlerPool
 
DefaultProtocolChain - Class in com.sun.grizzly
Default ProtocolChain implementation.
DefaultProtocolChain() - Constructor for class com.sun.grizzly.DefaultProtocolChain
 
DefaultProtocolChain.EventHandler - Interface in com.sun.grizzly
Interface, which introduces handler, which will be notified about event, happened on ProtocolChain
DefaultProtocolChain.Phase - Enum in com.sun.grizzly
 
DefaultProtocolChainInstanceHandler - Class in com.sun.grizzly
Default implementation of an ProtocolChainInstanceHandler.
DefaultProtocolChainInstanceHandler() - Constructor for class com.sun.grizzly.DefaultProtocolChainInstanceHandler
 
DefaultSelectionKeyHandler - Class in com.sun.grizzly
Default implementation of a SelectionKey Handler.
DefaultSelectionKeyHandler() - Constructor for class com.sun.grizzly.DefaultSelectionKeyHandler
 
DefaultSelectionKeyHandler(SelectorHandler) - Constructor for class com.sun.grizzly.DefaultSelectionKeyHandler
 
DELAYED_CLOSE_NOTIFICATION - Static variable in class com.sun.grizzly.filter.ReadFilter
 
doAfterKeyCancel(SelectionKey) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
Performed when a key is canceled.
closes the channel and notifies ConnectionCloseHandler , if SelectionKey.attachment() instanceof SelectionKeyAttachment then its release method is called.
doCall() - Method in class com.sun.grizzly.async.AsyncQueueReaderContextTask
 
doCall() - Method in class com.sun.grizzly.async.AsyncQueueWriterContextTask
 
doCall() - Method in class com.sun.grizzly.CallbackHandlerContextTask
 
doCall() - Method in class com.sun.grizzly.ProtocolChainContextTask
 
doCall() - Method in class com.sun.grizzly.SelectionKeyContextTask
 
doPeerCertificateChain(SelectionKey, boolean) - Static method in class com.sun.grizzly.filter.SSLReadFilter
Get the peer certificate list by initiating a new handshake.
doRead(ReadableByteChannel, ByteBuffer, AsyncQueueDataProcessor, OperationResult) - Method in class com.sun.grizzly.async.AbstractAsyncQueueReader
 
doRead(ReadableByteChannel, ByteBuffer, AsyncQueueDataProcessor, OperationResult) - Method in class com.sun.grizzly.async.TCPAsyncQueueReader
 
doRead(ReadableByteChannel, ByteBuffer, AsyncQueueDataProcessor, OperationResult) - Method in class com.sun.grizzly.async.UDPAsyncQueueReader
 
doRegisterKey(SelectionKey, int) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
Registers SelectionKey to handle certain operations
doRegisterKey(SelectionKey, int, long) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
Registers SelectionKey to handle certain operations
doSelect(SelectorHandler, NIOContext) - Method in class com.sun.grizzly.SelectorHandlerRunner
This method handle the processing of all Selector's interest op (OP_ACCEPT,OP_READ,OP_WRITE,OP_CONNECT) by delegating to its Handler.
doWrite(WritableByteChannel, SocketAddress, ByteBuffer, AsyncQueueDataProcessor, OperationResult) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
doWrite(WritableByteChannel, SocketAddress, ByteBuffer, OperationResult) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
doWrite(WritableByteChannel, SocketAddress, ByteBuffer, OperationResult) - Method in class com.sun.grizzly.async.TCPAsyncQueueWriter
 
doWrite(WritableByteChannel, SocketAddress, ByteBuffer, OperationResult) - Method in class com.sun.grizzly.async.UDPAsyncQueueWriter
 
dprint(String) - Method in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
 
dprintStatistics() - Method in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
 
dstAddress - Variable in class com.sun.grizzly.async.AsyncQueueWriteUnit
 

E

EchoAsyncWriteQueueFilter - Class in com.sun.grizzly.filter
Simple echo filter
EchoAsyncWriteQueueFilter() - Constructor for class com.sun.grizzly.filter.EchoAsyncWriteQueueFilter
 
EchoFilter - Class in com.sun.grizzly.filter
Simple echo filter
EchoFilter() - Constructor for class com.sun.grizzly.filter.EchoFilter
 
eventHandlers - Variable in class com.sun.grizzly.DefaultProtocolChain
The list of DefaultProtocolChain.EventHandlers, which will be notified about this ProtocolChain events
execute() - Method in interface com.sun.grizzly.Context
Deprecated.  
execute(ContextTask) - Method in interface com.sun.grizzly.Context
Execute this Context using the Controller's thread pool
execute(ContextTask, boolean) - Method in interface com.sun.grizzly.Context
Execute this Context using either Controller's thread pool or current thread
execute(Context) - Method in class com.sun.grizzly.DefaultProtocolChain
Execute this ProtocolChain.
execute(Context, int) - Method in class com.sun.grizzly.DefaultProtocolChain
Execute this ProtocolChain.
execute(Context) - Method in class com.sun.grizzly.filter.EchoAsyncWriteQueueFilter
 
execute(Context) - Method in class com.sun.grizzly.filter.EchoFilter
 
execute(Context) - Method in class com.sun.grizzly.filter.LogFilter
 
execute(Context) - Method in class com.sun.grizzly.filter.ParserProtocolFilter
Read available bytes and delegate the processing of them to the next ProtocolFilter in the ProtocolChain.
execute(Context) - Method in class com.sun.grizzly.filter.ReadFilter
Read available bytes and delegate the processing of them to the next ProtocolFilter in the ProtocolChain.
execute(Context, ByteBuffer) - Method in class com.sun.grizzly.filter.ReadFilter
Read available bytes to the specific ByteBuffer and delegate the processing of them to the next ProtocolFilter in the ProtocolChain.
execute(Context) - Method in class com.sun.grizzly.filter.SSLEchoAsyncWriteQueueFilter
 
execute(Context) - Method in class com.sun.grizzly.filter.SSLEchoFilter
 
execute(Context) - Method in class com.sun.grizzly.filter.SSLReadFilter
 
execute(Context) - Method in class com.sun.grizzly.filter.UDPReadFilter
Deprecated. Read available bytes and delegate the processing of them to the next ProtocolFilter in the ProtocolChain.
execute(Context) - Method in class com.sun.grizzly.filter.UDPWriteFilter
Write available bytes and delegate the processing of them to the next ProtocolFilter in the ProtocolChain.
execute() - Method in class com.sun.grizzly.NIOContext
Deprecated.  
execute(ContextTask) - Method in class com.sun.grizzly.NIOContext
Execute this Context using the Controller's thread pool
execute(ContextTask, boolean) - Method in class com.sun.grizzly.NIOContext
Execute this Context using either Controller's thread pool or current thread
execute(Context) - Method in interface com.sun.grizzly.ProtocolChain
Execute using the Context instance.
execute(Context) - Method in interface com.sun.grizzly.ProtocolFilter
Execute a unit of processing work to be performed.
execute(Context) - Method in class com.sun.grizzly.suspendable.SuspendableFilter
Excute the pattern matching algorithm to determine if a the current connection must be suspended or not, and when.
executeProtocolFilter(Context) - Method in class com.sun.grizzly.DefaultProtocolChain
Execute the ProtocolFilter.execute method.
executeProtocolFilter(Context, int) - Method in class com.sun.grizzly.DefaultProtocolChain
Execute the ProtocolFilter.execute method.
executeUsingKernelExecutor() - Method in class com.sun.grizzly.Controller
Execute the Controller.run() using the internal/kernel Executors
executeUsingKernelExecutor(Runnable) - Method in class com.sun.grizzly.Controller
Execute the Runnable using the internal kernel Executors.
expire(SelectionKey, long) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
Deprecated.  
expire(Iterator<SelectionKey>) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
expire(SelectionKey, long) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
Deprecated.  
expire(Iterator<SelectionKey>) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
Expire a SelectionKey set.
expire(SelectionKey, long) - Method in interface com.sun.grizzly.SelectionKeyHandler
Deprecated.  
expire(Iterator<SelectionKey>) - Method in interface com.sun.grizzly.SelectionKeyHandler
Expire a SelectionKey set.
expired(A) - Method in interface com.sun.grizzly.suspendable.SuspendableHandler
Invoked when a suspendable is expired (using the timeout value specified by calling SuspendableFilter.suspend(java.lang.String))
expireIdleKeys() - Method in class com.sun.grizzly.suspendable.SuspendableMonitor
Expire the SelectionKey?

F

find(ContactInfo<C>, Collection<C>, Collection<C>) - Method in interface com.sun.grizzly.connectioncache.spi.transport.ConnectionFinder
Method that searches idleConnections and busyConnections for the best connection.
finishConnect(SelectionKey) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
finishConnect(SelectionKey) - Method in interface com.sun.grizzly.ConnectorHandler
Decide how the OP_CONNECT final steps are handled.
finishConnect(SelectionKey) - Method in class com.sun.grizzly.SSLConnectorHandler
Finish handling the OP_CONNECT interest ops.
finishConnect(SelectionKey) - Method in class com.sun.grizzly.TCPConnectorHandler
Finish handling the OP_CONNECT interest ops.
finishConnect(SelectionKey) - Method in class com.sun.grizzly.UDPConnectorHandler
Finish handling the OP_CONNECT interest ops.
finishHandshake() - Method in class com.sun.grizzly.SSLConnectorHandler
Changes SSLConnectorHandler state, after handshake operation is done.
forceClose() - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
future - Variable in class com.sun.grizzly.async.AsyncQueueReadUnit
 
future - Variable in class com.sun.grizzly.async.AsyncQueueWriteUnit
 

G

get(ContactInfo<C>) - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl
 
get(ContactInfo<C>, ConnectionFinder<C>) - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl
 
get(ContactInfo<C>, ConnectionFinder<C>) - Method in interface com.sun.grizzly.connectioncache.spi.transport.OutboundConnectionCache
Return a Connection corresponding to the given ContactInfo.
get(ContactInfo<C>) - Method in interface com.sun.grizzly.connectioncache.spi.transport.OutboundConnectionCache
Behaves the same as get( ContactInfo, ConnectionFinder ) except that no connection finder is provided, so that step is ignored.
getApplicationBufferSize() - Method in class com.sun.grizzly.SSLConnectorHandler
Gets the size of the largest application buffer that may occur when using this session.
getAsyncQueue(SelectionKey) - Method in class com.sun.grizzly.async.AbstractAsyncQueueReader
 
getAsyncQueue(SelectionKey) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
getAsyncQueue(SelectionKey) - Method in interface com.sun.grizzly.async.AsyncQueueReader
Gets ready asynchronous queue elements to be read from the SelectableChannel, associated with the given SelectionKey
getAsyncQueue(SelectionKey) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Gets ready asynchronous queue elements to be written to the SelectableChannel, associated with the given SelectionKey
getAsyncQueueEntry(K) - Method in class com.sun.grizzly.async.AsyncQueue
 
getAsyncQueueReadable() - Method in class com.sun.grizzly.NIOContext
Returns AsyncQueueReadable, assciated with the current Context.
getAsyncQueueReader() - Method in class com.sun.grizzly.async.AsyncQueueReaderContextTask
 
getAsyncQueueReader() - Method in interface com.sun.grizzly.Context
Return the
getAsyncQueueReader() - Method in class com.sun.grizzly.NIOContext
Return the
getAsyncQueueReader() - Method in interface com.sun.grizzly.SelectorHandler
Returns AsyncQueueReader associated with this SelectorHandler.
getAsyncQueueReader() - Method in class com.sun.grizzly.TCPSelectorHandler
Returns AsyncQueueReader associated with this SelectorHandler.
getAsyncQueueReaderContextTask(AsyncQueueReader) - Method in class com.sun.grizzly.NIOContext
 
getAsyncQueueWritable() - Method in interface com.sun.grizzly.Context
Returns AsyncQueueWritable, assciated with the current Context.
getAsyncQueueWritable() - Method in class com.sun.grizzly.NIOContext
Returns AsyncQueueWritable, assciated with the current Context.
getAsyncQueueWriter() - Method in class com.sun.grizzly.async.AsyncQueueWriterContextTask
 
getAsyncQueueWriter() - Method in class com.sun.grizzly.NIOContext
Return the
getAsyncQueueWriter() - Method in interface com.sun.grizzly.SelectorHandler
Returns AsyncQueueWriter associated with this SelectorHandler.
getAsyncQueueWriter() - Method in class com.sun.grizzly.TCPSelectorHandler
Returns AsyncQueueWriter associated with this SelectorHandler.
getAsyncQueueWriterContextTask(AsyncQueueWriter) - Method in class com.sun.grizzly.NIOContext
 
getAttachment() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
getAttribute(String) - Method in class com.sun.grizzly.Controller
Return an object based on a key.
getAttribute(String) - Method in class com.sun.grizzly.NIOContext
Return an object based on a key.
getAttribute(String) - Method in class com.sun.grizzly.TCPSelectorHandler
Return an object based on a key.
getAttributeHolderByScope(Context.AttributeScope) - Method in interface com.sun.grizzly.Context
Return AttributeHolder, which corresponds to the given Context.AttributeScope>
getAttributeHolderByScope(Context.AttributeScope) - Method in class com.sun.grizzly.NIOContext
Return AttributeHolder, which corresponds to the given AttributeScope>
getAttributes() - Method in interface com.sun.grizzly.Context
Return a Map of attribute name/value pairs.
getAttributes() - Method in class com.sun.grizzly.Controller
Return a Map of attribute name/value pairs.
getAttributes() - Method in class com.sun.grizzly.NIOContext
Return a Map of attribute name/value pairs.
getAttributes() - Method in class com.sun.grizzly.TCPSelectorHandler
Return a Map of attribute name/value pairs.
getByteBuffer() - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
getByteBuffer() - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
getByteBufferCloner() - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
getCacheType() - Method in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
 
getCacheType() - Method in interface com.sun.grizzly.connectioncache.spi.transport.ConnectionCache
User-provided indentifier for an instance of the ConnectionCache.
getCallbackHandler() - Method in class com.sun.grizzly.AbstractConnectorHandler
Return the CallbackHandler.
getCallbackHandler() - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
getCallbackHandler() - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
getCallBackHandler() - Method in class com.sun.grizzly.CallbackHandlerContextTask
 
getCallbackHandler() - Method in interface com.sun.grizzly.ConnectorHandler
Returns ConnectorHandler's callback handler instance, which is used to process occuring events
getCallbackHandler() - Method in class com.sun.grizzly.TCPSelectorHandler.ConnectChannelOperation
 
getCallbackHandlerContextTask(CallbackHandler) - Method in class com.sun.grizzly.NIOContext
 
getChannel() - Method in class com.sun.grizzly.TCPSelectorHandler.ConnectChannelOperation
 
getCondition() - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
getConnectionFinder() - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandlerPool
 
getConnectionState(ContactInfo<C>, OutboundConnectionCacheBlockingImpl.CacheEntry<C>, C) - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl
 
getConnectionTimeout() - Method in class com.sun.grizzly.TCPConnectorHandler
Get TCP channel connection timeout in milliseconds
getConnectorHandlerPool() - Method in class com.sun.grizzly.Controller
Return the ConnectorHandlerPool used.
getConnectorInstanceHandlerDelegate() - Method in class com.sun.grizzly.SSLSelectorHandler
 
getConnectorInstanceHandlerDelegate() - Method in class com.sun.grizzly.TCPSelectorHandler
Return factory object, which knows how to create ConnectorInstanceHandler corresponding to the protocol
getConnectorInstanceHandlerDelegate() - Method in class com.sun.grizzly.UDPSelectorHandler
 
getContext() - Method in class com.sun.grizzly.ContextTask
 
getController() - Method in class com.sun.grizzly.AbstractConnectorHandler
Return the Controller
getController() - Method in interface com.sun.grizzly.ConnectorHandler
Return the Controller
getController() - Method in interface com.sun.grizzly.Context
Return the current Controller.
getController() - Method in class com.sun.grizzly.NIOContext
Return the current Controller.
getCurrentOpType() - Method in interface com.sun.grizzly.Context
Get the current SelectionKey interest ops this instance is executing.
getCurrentOpType() - Method in class com.sun.grizzly.NIOContext
Get the current SelectionKey interest ops this instance is executing.
getDelegateSSLTasks() - Method in class com.sun.grizzly.SSLConnectorHandler
 
getDstAddress() - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
getEnabledCipherSuites() - Method in class com.sun.grizzly.filter.SSLReadFilter
Returns the list of cipher suites to be enabled when SSLEngine is initialized.
getEnabledProtocols() - Method in class com.sun.grizzly.filter.SSLReadFilter
Returns the list of protocols to be enabled when SSLEngine is initialized.
getExpirationStamp(Object) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
Gets expiration timeout stamp from the SelectionKey depending on its attachment
getExpireTime() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
getForeignKey() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
getFuture() - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
getFuture() - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
getHandlerController(Handler) - Static method in class com.sun.grizzly.Controller
Return the Controller which is handling the Handler
getInet() - Method in class com.sun.grizzly.TCPSelectorHandler
 
getInternalByteBuffer() - Method in interface com.sun.grizzly.async.AsyncQueueDataProcessor
Method returns the processor's internal ByteBuffer.
getIOEvent() - Method in interface com.sun.grizzly.Context
Return the current IOEvent associated with this instance.
getIOEvent() - Method in class com.sun.grizzly.NIOContext
Return the current IOEvent associated with this instance.
getKernelExecutorFactory() - Method in class com.sun.grizzly.Controller
Get the factory, responsible for creating kernel ExecutorServices.
getKey() - Method in class com.sun.grizzly.suspendable.Suspendable
Return the underlying SelectionKey representing the connection.
getKey() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
getKeyRegistrationState() - Method in interface com.sun.grizzly.Context
Return SelectionKey's next registration state, or null if not supported.
getKeyRegistrationState() - Method in class com.sun.grizzly.NIOContext
Return SelectionKey's next registration state.
getLinger() - Method in class com.sun.grizzly.TCPConnectorHandler
 
getLinger() - Method in class com.sun.grizzly.TCPSelectorHandler
 
getLinger() - Method in class com.sun.grizzly.UDPSelectorHandler
 
getLogger() - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
getLogger() - Method in class com.sun.grizzly.TCPSelectorHandler
 
getLower() - Method in class com.sun.grizzly.PortRange
 
getNextMessage() - Method in interface com.sun.grizzly.ProtocolParser
Get the next complete message from the buffer, which can then be processed by the next filter in the protocol chain.
getOutboundConnectionCache() - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandlerPool
 
getPort() - Method in class com.sun.grizzly.TCPSelectorHandler
 
getPortLowLevel() - Method in class com.sun.grizzly.TCPSelectorHandler
Deprecated. Use getPort
getPortLowLevel() - Method in class com.sun.grizzly.UDPSelectorHandler
 
getPortRange() - Method in class com.sun.grizzly.TCPSelectorHandler
 
getPreferredSelectionKeyHandler() - Method in interface com.sun.grizzly.SelectorHandler
Get the preffered SelectionKeyHandler implementation for this SelectorHandler.
getPreferredSelectionKeyHandler() - Method in class com.sun.grizzly.TCPSelectorHandler
Get the preffered SelectionKeyHandler implementation for this SelectorHandler.
getPreferredSelectionKeyHandler() - Method in class com.sun.grizzly.UDPSelectorHandler
Get the preffered SelectionKeyHandler implementation for this SelectorHandler.
getProtocol() - Method in interface com.sun.grizzly.Context
Return the current Controller#Protocol this instance is executing.
getProtocol() - Method in class com.sun.grizzly.NIOContext
Return the current Controller#Protocol this instance is executing.
getProtocolChain() - Method in interface com.sun.grizzly.Context
Return ProtocolChain executed by this instance.
getProtocolChain() - Method in class com.sun.grizzly.NIOContext
Return ProtocolChain executed by this instance.
getProtocolChain() - Method in class com.sun.grizzly.SingleProtocolChainInstanceHandler
Get the stateless ProtocolChain instance, which is always returned via StatelessProtocolChainInstanceHandler#poll().
getProtocolChainContextTask() - Method in class com.sun.grizzly.NIOContext
 
getProtocolChainInstanceHandler() - Method in class com.sun.grizzly.Controller
Return the ProtocolChainInstanceHandler
getProtocolChainInstanceHandler() - Method in class com.sun.grizzly.NIOContext
Return the ProtocolChainInstanceListener associated with this Context
getProtocolChainInstanceHandler() - Method in interface com.sun.grizzly.SelectorHandler
Return the ProtocolChainInstanceHandler
getProtocolChainInstanceHandler() - Method in class com.sun.grizzly.TCPSelectorHandler
Return the ProtocolChainInstanceHandler
getReadAttempts() - Method in class com.sun.grizzly.filter.ReadFilter
Get the number of attempts the ReadFilter will try to read a data from a channel.
getReadPostProcessor() - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
getReadThreadsCount() - Method in class com.sun.grizzly.Controller
Return the number of Reader threads count.
getRegistrationTime() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
getRemoteAddress() - Method in class com.sun.grizzly.TCPSelectorHandler.ConnectChannelOperation
 
getRole() - Method in class com.sun.grizzly.TCPSelectorHandler
Gets this SelectorHandler current role.
getSecuredInputBuffer() - Method in class com.sun.grizzly.SSLConnectorHandler
Returns SSLConnectorHandler's secured input buffer, it uses for reading data from a socket channel.
getSecuredOutputBuffer() - Method in class com.sun.grizzly.SSLConnectorHandler
Returns SSLConnectorHandler's secured output buffer, it uses for writing data to a socket channel.
getSelectableChannel(SocketAddress, SocketAddress) - Method in class com.sun.grizzly.ReusableTCPSelectorHandler
 
getSelectableChannel(SocketAddress, SocketAddress) - Method in class com.sun.grizzly.ReusableUDPSelectorHandler
 
getSelectableChannel(SocketAddress, SocketAddress) - Method in class com.sun.grizzly.TCPSelectorHandler
 
getSelectableChannel(SocketAddress, SocketAddress) - Method in class com.sun.grizzly.UDPSelectorHandler
 
getSelectionKey() - Method in interface com.sun.grizzly.Context
Return the current SelectionKey or null if {@link SelectionKey aren't supported.
getSelectionKey() - Method in class com.sun.grizzly.NIOContext
Return the current SelectionKey.
getSelectionKeyHandler() - Method in class com.sun.grizzly.Controller
Deprecated. Return the SelectionKeyHandler Method is deprecated. Use SelectorHandler.getSelectionKeyHandler() instead
getSelectionKeyHandler() - Method in interface com.sun.grizzly.SelectorHandler
Get the SelectionKeyHandler associated with this SelectorHandler.
getSelectionKeyHandler() - Method in class com.sun.grizzly.TCPSelectorHandler
Get the SelectionKeyHandler associated with this SelectorHandler.
getSelector() - Method in interface com.sun.grizzly.SelectorHandler
Gets the underlying selector.
getSelector() - Method in class com.sun.grizzly.TCPSelectorHandler
Max number of pendingIO tasks that will be executed per worker thread.
getSelectorHandler() - Method in class com.sun.grizzly.AbstractConnectorHandler
Return the associated SelectorHandler.
getSelectorHandler() - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
getSelectorHandler() - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
getSelectorHandler() - Method in interface com.sun.grizzly.ConnectorHandler
Method returns SelectorHandler, which manages this ConnectorHandler
getSelectorHandler() - Method in interface com.sun.grizzly.Context
Return the current SelectorHandler this instance is executing, or null if not supported.
getSelectorHandler(Controller.Protocol) - Method in class com.sun.grizzly.Controller
Return the SelectorHandler associated with the protocol.
getSelectorHandler(Selector) - Method in class com.sun.grizzly.Controller
Return the SelectorHandler associated with the Selector.
getSelectorHandler() - Method in class com.sun.grizzly.NIOContext
 
getSelectorHandler() - Method in interface com.sun.grizzly.SelectionKeyHandler
Get associated SelectorHandler
getSelectorHandler() - Method in class com.sun.grizzly.SelectorHandlerRunner
 
getSelectorHandler() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
getSelectorHandlerClone(SelectorHandler) - Method in class com.sun.grizzly.ReadController
Gets SelectorHandler's clone, registered on thisReadController
getSelectorHandlers() - Method in class com.sun.grizzly.Controller
Return the list SelectorHandler
getSelectTimeout() - Method in class com.sun.grizzly.TCPSelectorHandler
 
getServerTimeout() - Method in class com.sun.grizzly.TCPSelectorHandler
 
getSocketNativeReceiveBufferSize() - Method in class com.sun.grizzly.UDPSelectorHandler
 
getSocketNativeSendBufferSize() - Method in class com.sun.grizzly.UDPSelectorHandler
 
getSocketTimeout() - Method in class com.sun.grizzly.TCPSelectorHandler
 
getSocketTimeout() - Method in class com.sun.grizzly.UDPSelectorHandler
 
getSpinRate() - Method in interface com.sun.grizzly.LinuxSpinningWorkaround
Returns the Selector spinrate
getSpinRate() - Method in class com.sun.grizzly.TCPSelectorHandler
Returns the Selector spinrate
getSsBackLog() - Method in class com.sun.grizzly.TCPSelectorHandler
 
getSsBackLog() - Method in class com.sun.grizzly.UDPSelectorHandler
 
getSslActivityTimeout() - Method in class com.sun.grizzly.filter.SSLReadFilter
 
getSSLContext() - Method in class com.sun.grizzly.filter.SSLReadFilter
Return the SSLContext required to support SSL over NIO.
getSSLContext() - Method in class com.sun.grizzly.SSLConnectorHandler
Get SSLConnector's SSLContext
getSSLEngine() - Method in class com.sun.grizzly.SSLConnectorHandler
Returns SSLConnector'sSSLEngine
getSslInactivityTimeout() - Method in class com.sun.grizzly.SSLConfig
 
getStateHolder() - Method in class com.sun.grizzly.Controller
Gets this Controller's StateHolder
getStateHolder() - Method in class com.sun.grizzly.TCPSelectorHandler
getSuspendable() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
getSuspendableFilter() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
getSuspendableHandler() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
getSuspendableHandler() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
getSuspendWhen() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
getThreadAttachment() - Method in class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
getThreadPool() - Method in interface com.sun.grizzly.Context
Return the ExecutorService executing this instance.
getThreadPool() - Method in class com.sun.grizzly.Controller
Return the ExecutorService (Thread Pool) used by this Controller.
getThreadPool() - Method in class com.sun.grizzly.NIOContext
Return the ExecutorService executing this instance.
getThreadPool() - Method in interface com.sun.grizzly.SelectorHandler
Return the ExecutorService used to execute this SelectorHandler's SelectionKey ops
getThreadPool() - Method in class com.sun.grizzly.TCPSelectorHandler
Return the ExecutorService used to execute this SelectorHandler's SelectionKey ops
getTimeout() - Method in class com.sun.grizzly.CallbackHandlerSelectionKeyAttachment
Callback handler never should lead to the timeout situation, as connections could use it, but perform IO operations in sync.
getTimeout() - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
 
getUnderlyingChannel() - Method in class com.sun.grizzly.AbstractConnectorHandler
Return the current SelectableChannel used.
getUnderlyingChannel() - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
getUnderlyingChannel() - Method in interface com.sun.grizzly.ConnectorHandler
Method returns ConnectorHandler's underlying channel
getUnderlyingConnectorHandler() - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
getUpper() - Method in class com.sun.grizzly.PortRange
 
getWritePreProcessor() - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 

H

Handler - Interface in com.sun.grizzly
Marker interface.
handshake(ByteBuffer, boolean) - Method in class com.sun.grizzly.SSLConnectorHandler
Initiate SSL handshake phase.
hasMoreBytesToParse() - Method in interface com.sun.grizzly.ProtocolParser
Are there more bytes to be parsed in the ByteBuffer given to this ProtocolParser's ProtocolParser#startBuffer() ? This method is typically called after processing the protocol message, to determine if the ByteBuffer has more bytes which need to parsed into a next message.
hasNextMessage() - Method in interface com.sun.grizzly.ProtocolParser
Indicates whether the buffer has a complete message that can be returned from ProtocolParser.getNextMessage().
highWaterMark() - Method in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
 
highWaterMark() - Method in interface com.sun.grizzly.connectioncache.spi.transport.ConnectionCache
Threshold at which connection reclamation begins.

I

InboundConnectionCache<C extends java.io.Closeable> - Interface in com.sun.grizzly.connectioncache.spi.transport
A concurrent connection cache for passively created connections (e.g.
InboundConnectionCacheBlockingImpl<C extends java.io.Closeable> - Class in com.sun.grizzly.connectioncache.impl.transport
Manage connections that are initiated from another VM.
InboundConnectionCacheBlockingImpl(String, int, int, Logger) - Constructor for class com.sun.grizzly.connectioncache.impl.transport.InboundConnectionCacheBlockingImpl
 
incrementRefCount() - Method in interface com.sun.grizzly.Context
Called by outer Threads that are not instances of WorkerThread to indicate that this Context should not be Context.recycle() or offered back to its pool.
incrementRefCount() - Method in class com.sun.grizzly.NIOContext
Called by outer Threads that are not instances of WorkerThread to indicate that this Context should not be NIOContext.recycle() or offered back to its pool.
inet - Variable in class com.sun.grizzly.TCPSelectorHandler
The inet address to use when binding.
inputBBSize - Variable in class com.sun.grizzly.filter.SSLReadFilter
Encrypted ByteBuffer default size.
inputStream - Variable in class com.sun.grizzly.AbstractConnectorHandler
A blocking InputStream that use a pool of Selector to execute a blocking read operation.
instanceHandler - Variable in class com.sun.grizzly.Controller
The ProtocolChainInstanceHandler used by this instance.
instanceHandler - Variable in class com.sun.grizzly.TCPSelectorHandler
The ProtocolChainInstanceHandler used by this instance.
interrupted(SelectionKey) - Method in class com.sun.grizzly.suspendable.SuspendableMonitor
Interrupt a suspended SelectionKey that have timed out.
interupted(A) - Method in interface com.sun.grizzly.suspendable.SuspendableHandler
Invoked when a suspendable is cancelled (by calling cancel())
invokeAsyncQueueReader(NIOContext) - Method in class com.sun.grizzly.TCPSelectorHandler
Invoke a AsyncQueueReader
invokeAsyncQueueWriter(NIOContext) - Method in class com.sun.grizzly.TCPSelectorHandler
Invoke a AsyncQueueWriter
invokeCallbackHandler(CallbackHandler, NIOContext) - Method in class com.sun.grizzly.TCPSelectorHandler
Invoke a CallbackHandler via a Context instance.
invokeProtocolParser(Context, ProtocolParser) - Method in class com.sun.grizzly.filter.ParserProtocolFilter
Invoke the ProtocolParser.
IOEvent<E> - Interface in com.sun.grizzly
When a non blocking operation occurs, the SelectorHandler implementation will invoke an instance of CallbackHandler with an instance of this class.
IOEvent.DefaultIOEvent<E> - Class in com.sun.grizzly
Simple IOEvent implementation
IOEvent.DefaultIOEvent(E) - Constructor for class com.sun.grizzly.IOEvent.DefaultIOEvent
 
isAllowContextCaching() - Method in class com.sun.grizzly.Controller
Are Context instance cached/pooled or a new instance gets created for every transaction?
isAutoConfigure() - Method in class com.sun.grizzly.Controller
Return true if the Controller is auto configuring the number of ReadController and its associated thread pool size.
isClientMode() - Method in class com.sun.grizzly.filter.SSLReadFilter
Returns true if the SSlEngine is set to use client mode when handshaking.
isClientMode() - Method in class com.sun.grizzly.SSLConfig
 
isCloned - Variable in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
isCloned() - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
isConnected - Variable in class com.sun.grizzly.AbstractConnectorHandler
Is the connection established.
isConnected() - Method in class com.sun.grizzly.AbstractConnectorHandler
Is the underlying channel connected.
isConnected() - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
isConnected() - Method in interface com.sun.grizzly.ConnectorHandler
Is the underlying channel connected.
isConnectedLatch - Variable in class com.sun.grizzly.UDPConnectorHandler
IsConnected Latch related
isContinuousExecution() - Method in class com.sun.grizzly.DefaultProtocolChain
Return true if the current ExecutorService can re-execute its ProtocolFilter after a successful execution.
isContinuousExecution() - Method in class com.sun.grizzly.filter.ReadFilter
Return true if the current ExecutorService can re-execute its ProtocolFilter after a successful execution.
isContinuousExecution() - Method in interface com.sun.grizzly.ReinvokeAware
Return true if the current ExecutorService can re-execute its ProtocolFilter after a successful execution.
isDelegateToProtocolChain() - Method in class com.sun.grizzly.DefaultCallbackHandler
Return true> if delegation to the ProtocolChain is enabled.
isEmpty(K) - Method in class com.sun.grizzly.async.AsyncQueue
Checks if K key related queue is empty.
isExecutePendingIOUsingSelectorThread() - Method in class com.sun.grizzly.Controller
Return true, if selector thread has to be applied to execute I/O operation, or false (by default), meaning that I/O operation could be executed in the current thread.
isExecutePendingIOUsingSelectorThread() - Method in class com.sun.grizzly.TCPSelectorHandler
Return true, if selector thread has to be applied to execute I/O operation, or false (by default), meaning that I/O operation could be executed in the current thread.
isExpectingMoreData() - Method in interface com.sun.grizzly.ProtocolParser
Is this ProtocolParser expecting more data ? This method is typically called after a call to ProtocolParser.hasNextMessage() to determine if the ByteBuffer which has been parsed contains a partial message
isHandleReadWriteConcurrently() - Method in class com.sun.grizzly.Controller
true if OP_ERAD and OP_WRITE can be handled concurrently.
isHandshakeDone() - Method in class com.sun.grizzly.SSLConnectorHandler
Is the underlying SocketChannel connected.
isKeepAlive - Variable in class com.sun.grizzly.TCPSelectorHandler
The socket keepAlive mode.
isKeepAlive() - Method in class com.sun.grizzly.TCPSelectorHandler
 
isNeedClientAuth() - Method in class com.sun.grizzly.filter.SSLReadFilter
Returns true if the SSLEngine will require client authentication.
isNeedClientAuth() - Method in class com.sun.grizzly.SSLConfig
 
isOpen() - Method in interface com.sun.grizzly.SelectorHandler
Is the underlying Selector open.
isOpen() - Method in class com.sun.grizzly.TCPSelectorHandler
Is the Selector open.
isReady(SelectionKey) - Method in class com.sun.grizzly.async.AbstractAsyncQueueReader
 
isReady(SelectionKey) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
isReady(SelectionKey) - Method in interface com.sun.grizzly.async.AsyncQueueReader
Checks whether AsyncQueueReader is registered for the SelectableChannel, associated with the given SelectionKey
isReady(SelectionKey) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Checks whether there is any data in AsyncQueue ready to be written to the SelectableChannel, associated with the given SelectionKey
isResumed() - Method in class com.sun.grizzly.suspendable.Suspendable
Return true if the connection associated with this instance has been #resumed
isReuseAddress() - Method in class com.sun.grizzly.TCPConnectorHandler
 
isReuseAddress() - Method in class com.sun.grizzly.TCPSelectorHandler
 
isReusing() - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
Return true if underlying connection was take from cache and going to be reused by this CacheableConnectorHandler, otherwise return false, if underlying connection was just created and connected.
isRunInSeparateThread(Context.OpType) - Method in interface com.sun.grizzly.CallbackHandlerDescriptor
 
isShutDown - Variable in class com.sun.grizzly.TCPSelectorHandler
Flag, which shows whether shutdown was called for this SelectorHandler
isSkipRead - Variable in class com.sun.grizzly.filter.ParserProtocolFilter
Should ParserProtocolFilter read the data from channel
isSkipRead() - Method in class com.sun.grizzly.filter.ParserProtocolFilter
Method returns true, if this Filter perform channel read operation on execute, or false - Filter assumes the data was read by previous Filters in a chain.
isStarted() - Method in class com.sun.grizzly.Controller
Is this Controller started?
isSuspended() - Method in interface com.sun.grizzly.Context
Return true if this Context has been suspended by invoking suspend.
isSuspended() - Method in class com.sun.grizzly.NIOContext
Return true if this Context has been suspended by invoking suspend.
isTcpNoDelay() - Method in class com.sun.grizzly.TCPConnectorHandler
Return the tcpNoDelay value used by the underlying accepted Sockets.
isTcpNoDelay() - Method in class com.sun.grizzly.TCPSelectorHandler
Return the tcpNoDelay value used by the underlying accepted Sockets.
isTcpNoDelay() - Method in class com.sun.grizzly.UDPSelectorHandler
 
isWantClientAuth() - Method in class com.sun.grizzly.filter.SSLReadFilter
Returns true if the engine will request client authentication.
isWantClientAuth() - Method in class com.sun.grizzly.SSLConfig
 

K

KEY_FACTORY_MANAGER_ALGORITHM - Static variable in class com.sun.grizzly.SSLConfig
 
KEY_STORE_FILE - Static variable in class com.sun.grizzly.SSLConfig
 
KEY_STORE_PASSWORD - Static variable in class com.sun.grizzly.SSLConfig
 
KEY_STORE_PROVIDER - Static variable in class com.sun.grizzly.SSLConfig
 
KEY_STORE_TYPE - Static variable in class com.sun.grizzly.SSLConfig
 
keyFor(SelectableChannel) - Method in interface com.sun.grizzly.SelectorHandler
Returns SelectionKey, which represents binding between the SelectableChannel and this SelectorHandler
keyFor(SelectableChannel) - Method in class com.sun.grizzly.TCPSelectorHandler
Returns SelectionKey, which represents binding between the SelectableChannel and this SelectorHandler
keys() - Method in interface com.sun.grizzly.SelectorHandler
The SelectionKey that has been registered.
keys() - Method in class com.sun.grizzly.TCPSelectorHandler
Return the set of SelectionKey registered on this Selector.

L

Lifecycle - Interface in com.sun.grizzly
Simple Life cycle interface used to manage Grizzly component.
linger - Variable in class com.sun.grizzly.TCPConnectorHandler
The socket linger.
linger - Variable in class com.sun.grizzly.TCPSelectorHandler
The socket linger.
LinuxSpinningWorkaround - Interface in com.sun.grizzly
Workaround for Linux spinning Selector.
log(String, Throwable) - Method in class com.sun.grizzly.filter.ReadFilter
Log a message/exception.
log(String, Throwable) - Static method in class com.sun.grizzly.filter.SSLReadFilter
Log a message/exception.
log(String, Throwable) - Method in class com.sun.grizzly.filter.UDPWriteFilter
Log a message/exception.
LogFilter - Class in com.sun.grizzly.filter
Simple filter that log that output the bytes read.
LogFilter() - Constructor for class com.sun.grizzly.filter.LogFilter
 
logger - Variable in class com.sun.grizzly.BaseSelectionKeyHandler
 
logger - Variable in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
 
logger - Static variable in class com.sun.grizzly.Controller
Default Logger.
logger() - Static method in class com.sun.grizzly.Controller
Return the current Logger used by this Controller.
logger - Static variable in class com.sun.grizzly.SelectorHandlerRunner
Default Logger.
logger - Variable in class com.sun.grizzly.TCPSelectorHandler
 
logVersion() - Method in class com.sun.grizzly.Controller
Log the current Grizzly version.

M

makeBlockingConcurrentQueue() - Static method in class com.sun.grizzly.connectioncache.spi.concurrent.ConcurrentQueueFactory
Create a ConcurrentQueue whose implementation uses conventional locking to protect the data structure.
makeBlockingInboundConnectionCache(String, int, int, Logger) - Static method in class com.sun.grizzly.connectioncache.spi.transport.ConnectionCacheFactory
 
makeBlockingOutboundConnectionCache(int, int, int, Logger) - Method in interface com.sun.grizzly.connectioncache.client.OutboundConnectionFactory
 
makeBlockingOutboundConnectionCache(String, int, int, int, Logger) - Static method in class com.sun.grizzly.connectioncache.spi.transport.ConnectionCacheFactory
 
makeConcurrentQueue() - Static method in class com.sun.grizzly.connectioncache.spi.concurrent.ConcurrentQueueFactory
Create a ConcurrentQueue that does no locking at all.
maxParallelConnections() - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl
 
maxParallelConnections() - Method in interface com.sun.grizzly.connectioncache.spi.transport.OutboundConnectionCache
Configured maximum number of connections supported per ContactInfo.
MESSAGE - Static variable in interface com.sun.grizzly.ProtocolParser
Holds the message returned from getNextMessage for use by downstream filters
multiReadThreadSelectorHandler - Variable in class com.sun.grizzly.Controller
The SelectorHandler, which will manage connection accept, if readThreadsCount > 0 and spread connection processing between different read threads

N

newInstance() - Method in class com.sun.grizzly.ConnectorInstanceHandler.ConcurrentQueueConnectorInstanceHandler
 
newInstance() - Method in class com.sun.grizzly.ConnectorInstanceHandler.ConcurrentQueueDelegateCIH
 
newProtocolParser() - Method in class com.sun.grizzly.filter.ParserProtocolFilter
Return a new or cached ProtocolParser instance.
newSSLEngine() - Method in class com.sun.grizzly.filter.SSLReadFilter
Return a new configuredSSLEngine
nextController() - Method in interface com.sun.grizzly.ComplexSelectorHandler
Return next aux.
nextController() - Method in class com.sun.grizzly.RoundRobinSelectorHandler
Return next aux.
nextKeysExpiration - Variable in class com.sun.grizzly.DefaultSelectionKeyHandler
Next time the exprireKeys() will delete keys.
NIOContext - Class in com.sun.grizzly
This Object is used to share information between the Grizzly Framework classes and ProtocolFilter implementation.
NIOContext() - Constructor for class com.sun.grizzly.NIOContext
Constructor
notifyException(Throwable) - Method in class com.sun.grizzly.Controller
Notify exception occured
notifyException(DefaultProtocolChain.Phase, ProtocolFilter, Throwable) - Method in class com.sun.grizzly.DefaultProtocolChain
Notifies all DefaultProtocolChain.EventHandlers about exception, which occured
notifyLocallyClose(SelectionKey) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
Notify a ConnectionCloseHandler that a remote connection has been closed.
notifyReady() - Method in class com.sun.grizzly.Controller
Notify controller is ready
notifyRemotlyClose(SelectionKey) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
Notify a ConnectionCloseHandler that a remote connection has been closed.
notifyStarted() - Method in class com.sun.grizzly.Controller
Notify controller started
notifyStopped() - Method in class com.sun.grizzly.Controller
Notify controller stopped
numberOfBusyConnections() - Method in interface com.sun.grizzly.connectioncache.spi.transport.ConnectionCache
Number of non-idle connections.
numberOfConnections() - Method in interface com.sun.grizzly.connectioncache.spi.transport.ConnectionCache
Total number of connections currently managed by the cache.
numberOfIdleConnections() - Method in interface com.sun.grizzly.connectioncache.spi.transport.ConnectionCache
Number of idle connections; that is, connections for which the number of get/release or responseReceived/responseProcessed calls are equal.
numberOfReclaimableConnections() - Method in interface com.sun.grizzly.connectioncache.spi.transport.ConnectionCache
Number of idle connections that are reclaimable.
numberToReclaim() - Method in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
 
numberToReclaim() - Method in interface com.sun.grizzly.connectioncache.spi.transport.ConnectionCache
Number of connections to reclaim each time reclamation starts.

O

obtainAsyncQueueEntry(K) - Method in class com.sun.grizzly.async.AsyncQueue
 
obtainSSLEngine(SelectionKey) - Method in class com.sun.grizzly.filter.SSLReadFilter
Configure and return an instance of SSLEngine
offer(K, E) - Method in class com.sun.grizzly.async.AsyncQueue
Add data to the AsyncQueue, corresponding to the given E key
offer(V) - Method in class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueBlockingImpl
Add a new element to the tail of the queue.
offer(V) - Method in class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueImpl
Add a new element to the tail of the queue.
offer(V) - Method in class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueNonBlockingImpl
Add a new element to the tail of the queue.
offer(V) - Method in interface com.sun.grizzly.connectioncache.spi.concurrent.ConcurrentQueue
Add a new element to the tail of the queue.
offer(ProtocolChain) - Method in class com.sun.grizzly.DefaultProtocolChainInstanceHandler
Offer (add) an instance of ProtocolChain to this instance pool.
offer(ProtocolChain) - Method in interface com.sun.grizzly.ProtocolChainInstanceHandler
Pool an instance of ProtocolChain.
offer(ProtocolChain) - Method in class com.sun.grizzly.SingleProtocolChainInstanceHandler
Offer (add) an instance of ProtocolChain to this instance pool.
onAcceptInterest(SelectionKey, Context) - Method in class com.sun.grizzly.RoundRobinSelectorHandler
 
onAcceptInterest(SelectionKey, Context) - Method in interface com.sun.grizzly.SelectorHandler
Handle OP_ACCEPT.
onAcceptInterest(SelectionKey, Context) - Method in class com.sun.grizzly.TCPSelectorHandler
Handle OP_ACCEPT.
onAcceptInterest(SelectionKey, Context) - Method in class com.sun.grizzly.UDPSelectorHandler
Handle OP_ACCEPT.
onClose(SelectableChannel) - Method in class com.sun.grizzly.async.AbstractAsyncQueueReader
 
onClose(SelectableChannel) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
onClose(SelectableChannel) - Method in interface com.sun.grizzly.async.AsyncQueueReader
Callback method, which should be called by SelectorHandler to notify, that given SelectableChannel is going to be closed, so related data could be released from AsyncQueueReader
onClose(SelectableChannel) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Callback method, which should be called by SelectorHandler to notify, that given SelectableChannel is going to be closed, so related SelectableChannel data could be released from AsyncQueue
onConnect(IOEvent<E>) - Method in interface com.sun.grizzly.CallbackHandler
This method is called when an non blocking OP_CONNECT is ready to get processed.
onConnect(IOEvent<Context>) - Method in class com.sun.grizzly.DefaultCallbackHandler
Execute the non blocking connect operation.
onConnectInterest(SelectionKey, Context) - Method in interface com.sun.grizzly.SelectorHandler
Handle OP_CONNECT.
onConnectInterest(SelectionKey, Context) - Method in class com.sun.grizzly.TCPSelectorHandler
Handle OP_CONNECT.
onConnectOp(Context, TCPSelectorHandler.ConnectChannelOperation) - Method in class com.sun.grizzly.TCPSelectorHandler
Handle new OP_CONNECT ops.
onConnectOp(Context, TCPSelectorHandler.ConnectChannelOperation) - Method in class com.sun.grizzly.UDPSelectorHandler
Handle new OP_CONNECT ops.
onException(Exception, SelectionKey, ByteBuffer, Queue<AsyncQueueReadUnit>) - Method in interface com.sun.grizzly.async.AsyncReadCallbackHandler
Method will be called by AsyncQueueReader, if error occured when reading from the SelectableChannel, which is associated with SelectionKey
onException(Exception, SelectionKey, ByteBuffer, Queue<AsyncQueueWriteUnit>) - Method in interface com.sun.grizzly.async.AsyncWriteCallbackHandler
Method will be called by AsyncQueueWriter, if error occured when writing ByteBuffer to the SelectableChannel, associated with SelectionKey
onException(Throwable) - Method in interface com.sun.grizzly.ControllerStateListener
Notification: Exception occured during Controller thread execution
onException(Throwable) - Method in class com.sun.grizzly.ControllerStateListenerAdapter
 
onException(DefaultProtocolChain.Phase, ProtocolFilter, Throwable) - Method in interface com.sun.grizzly.DefaultProtocolChain.EventHandler
 
onHandshake(IOEvent<Context>) - Method in class com.sun.grizzly.DefaultCallbackHandler
By default, do nothing.
onHandshake(IOEvent<E>) - Method in interface com.sun.grizzly.SSLCallbackHandler
This method is called when an non blocking OP_CONNECT is ready to get processed.
onRead(SelectionKey) - Method in class com.sun.grizzly.async.AbstractAsyncQueueReader
 
onRead(SelectionKey) - Method in interface com.sun.grizzly.async.AsyncQueueReader
Callback method, which should be called by SelectorHandler to notify, that SelectableChannel, associated with the given SelectableChannel has ready data for reading.
onRead(IOEvent<E>) - Method in interface com.sun.grizzly.CallbackHandler
This method is called when an non blocking OP_READ is ready to get processed.
onRead(IOEvent<Context>) - Method in class com.sun.grizzly.DefaultCallbackHandler
Delegate the processing of the read operation to the IOEvent{ associated {@link ProtocolChain}
onReadCompleted(SelectionKey, SocketAddress, AsyncQueueReadUnit) - Method in interface com.sun.grizzly.async.AsyncReadCallbackHandler
Method will be called by AsyncQueueReader, if data was read to the ByteBuffer from the SelectableChannel, associated with SelectionKey, and read data confirms to the user-specific condition (if any was set).
onReadInterest(SelectionKey, Context) - Method in interface com.sun.grizzly.SelectorHandler
Handle OP_READ.
onReadInterest(SelectionKey, Context) - Method in class com.sun.grizzly.TCPSelectorHandler
Handle OP_READ.
onReady() - Method in interface com.sun.grizzly.ControllerStateListener
Notification: Controller is ready to process connections; SelectorHandlers were initialized
onReady() - Method in class com.sun.grizzly.ControllerStateListenerAdapter
 
onStarted() - Method in interface com.sun.grizzly.ControllerStateListener
Nofitication: Controller was started, thread pool was initialized
onStarted() - Method in class com.sun.grizzly.ControllerStateListenerAdapter
 
onStopped() - Method in interface com.sun.grizzly.ControllerStateListener
Notification: Controller was stopped, all worker threads were stopped
onStopped() - Method in class com.sun.grizzly.ControllerStateListenerAdapter
 
onWrite(SelectionKey) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
onWrite(SelectionKey) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Callback method, which should be called by SelectorHandler to notify, that SelectableChannel, associated with the given SelectionKey is ready to transmit data.
onWrite(IOEvent<E>) - Method in interface com.sun.grizzly.CallbackHandler
This method is called when an non blocking OP_WRITE is ready to get processed.
onWrite(IOEvent<Context>) - Method in class com.sun.grizzly.DefaultCallbackHandler
Delegate the processing of the write operation to the IOEvent{ associated {@link ProtocolChain}
onWriteCompleted(SelectionKey, AsyncQueueWriteUnit) - Method in interface com.sun.grizzly.async.AsyncWriteCallbackHandler
Method will be called by AsyncQueueWriter, if whole ByteBuffer data was written to the SelectableChannel, associated with SelectionKey
onWriteInterest(SelectionKey, Context) - Method in interface com.sun.grizzly.SelectorHandler
Handle OP_WRITE.
onWriteInterest(SelectionKey, Context) - Method in class com.sun.grizzly.TCPSelectorHandler
Handle OP_WRITE.
OperationResult - Class in com.sun.grizzly.async
Class represents the result of a single I/O operation on async queue.
OperationResult() - Constructor for class com.sun.grizzly.async.OperationResult
 
OutboundConnectionCache<C extends java.io.Closeable> - Interface in com.sun.grizzly.connectioncache.spi.transport
A concurrent mostly non-blocking connection cache.
OutboundConnectionCacheBlockingImpl<C extends java.io.Closeable> - Class in com.sun.grizzly.connectioncache.impl.transport
 
OutboundConnectionCacheBlockingImpl(String, int, int, int, Logger) - Constructor for class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl
 
OutboundConnectionCacheBlockingImpl.CacheEntry<C extends java.io.Closeable> - Class in com.sun.grizzly.connectioncache.impl.transport
 
OutboundConnectionCacheBlockingImpl.CacheEntry() - Constructor for class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl.CacheEntry
 
OutboundConnectionCacheBlockingImpl.ConnectionState<C extends java.io.Closeable> - Class in com.sun.grizzly.connectioncache.impl.transport
 
OutboundConnectionCacheBlockingImpl.ConnectionState(ContactInfo<C>, OutboundConnectionCacheBlockingImpl.CacheEntry<C>, C) - Constructor for class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl.ConnectionState
 
OutboundConnectionCacheBlockingImpl.ConnectionStateValue - Enum in com.sun.grizzly.connectioncache.impl.transport
 
OutboundConnectionFactory<C extends java.io.Closeable> - Interface in com.sun.grizzly.connectioncache.client
OutboundConnectionFactory is pluggable factory, responsible for creating and initializing OutboundConnectionCache.

P

PARSER - Static variable in interface com.sun.grizzly.ProtocolParser
Used to associate a particular parser with a connection
ParserProtocolFilter - Class in com.sun.grizzly.filter
Simple ProtocolFilter implementation which read the available bytes and delegate the decision of reading more bytes or not to a ProtocolParser.
ParserProtocolFilter() - Constructor for class com.sun.grizzly.filter.ParserProtocolFilter
 
pause() - Method in class com.sun.grizzly.Controller
Pause this Controller and associated SelectorHandlers
pause() - Method in interface com.sun.grizzly.Lifecycle
Pause this Lifecycle.
pause() - Method in interface com.sun.grizzly.SelectorHandler
Pause this SelectorHandler
pause() - Method in class com.sun.grizzly.TCPSelectorHandler
Pause this SelectorHandler
peek(K) - Method in class com.sun.grizzly.async.AsyncQueue
Get head element of E key related queue.
poll(K) - Method in class com.sun.grizzly.async.AsyncQueue
Get head element of K key related queue.
poll() - Method in class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueBlockingImpl
Return an element from the head of the queue.
poll() - Method in class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueImpl
Return an element from the head of the queue.
poll() - Method in class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueNonBlockingImpl
Return an element from the head of the queue.
poll() - Method in interface com.sun.grizzly.connectioncache.spi.concurrent.ConcurrentQueue
Return an element from the head of the queue.
poll() - Method in class com.sun.grizzly.DefaultProtocolChainInstanceHandler
Return a pooled instance of ProtocolChain.
poll() - Method in interface com.sun.grizzly.ProtocolChainInstanceHandler
Return an instance of ProtocolChain.
poll() - Method in class com.sun.grizzly.SingleProtocolChainInstanceHandler
Return a ProtocolChain instance.
pollContext() - Method in class com.sun.grizzly.Controller
Get an instance of a NIOContext
pollContext(Context, SelectionKey, Context.OpType) - Method in class com.sun.grizzly.TCPSelectorHandler
Polls Context from pool and initializes it.
PortRange - Class in com.sun.grizzly
Immutable class representing a port range.
PortRange(int, int) - Constructor for class com.sun.grizzly.PortRange
Creates a port range with the given bounds (both inclusive).
PortRange(int) - Constructor for class com.sun.grizzly.PortRange
Creates a port range containing a single port.
portRange - Variable in class com.sun.grizzly.TCPSelectorHandler
The default port range.
postExecute(Context) - Method in class com.sun.grizzly.filter.EchoAsyncWriteQueueFilter
 
postExecute(Context) - Method in class com.sun.grizzly.filter.EchoFilter
 
postExecute(Context) - Method in class com.sun.grizzly.filter.LogFilter
 
postExecute(Context) - Method in class com.sun.grizzly.filter.ParserProtocolFilter
 
postExecute(Context) - Method in class com.sun.grizzly.filter.ReadFilter
If no bytes were available, close the connection by cancelling the SelectionKey.
postExecute(Context) - Method in class com.sun.grizzly.filter.SSLEchoAsyncWriteQueueFilter
 
postExecute(Context) - Method in class com.sun.grizzly.filter.SSLEchoFilter
 
postExecute(Context) - Method in class com.sun.grizzly.filter.SSLReadFilter
If no bytes were available, close the connection by cancelling the SelectionKey.
postExecute(Context) - Method in class com.sun.grizzly.filter.UDPWriteFilter
Re-enable the SelectionKey and make sure the ByteBuffer has been cleared.
postExecute(Context) - Method in interface com.sun.grizzly.ProtocolFilter
Execute any cleanup activities, such as releasing resources that were acquired during the execute() method of this ProtocolFilter instance.
postExecute(Context) - Method in class com.sun.grizzly.suspendable.SuspendableFilter
Excute the pattern matching algorithm to determine if a the current connection must be suspended or not, and when.
postExecuteProtocolFilter(int, Context) - Method in class com.sun.grizzly.DefaultProtocolChain
Execute the ProtocolFilter.postExcute.
postponedTasks - Variable in class com.sun.grizzly.TCPSelectorHandler
 
postProcess(SelectionKey) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
postProcess(SelectionKey) - Method in class com.sun.grizzly.connectioncache.server.CacheableSelectionKeyHandler
 
postProcess(SelectionKey) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
SelectionKey post process notification
postProcess(SelectionKey) - Method in interface com.sun.grizzly.SelectionKeyHandler
SelectionKey post process notification
postSelect(Context) - Method in interface com.sun.grizzly.SelectorHandler
This method is garantee to always be called after operation Selector.select().
postSelect(Context) - Method in class com.sun.grizzly.TCPSelectorHandler
Invoked after Selector.select().
preSelect(Context) - Method in interface com.sun.grizzly.SelectorHandler
This method is garantee to always be called before operation Selector.select().
preSelect(Context) - Method in class com.sun.grizzly.TCPSelectorHandler
Before invoking Selector.select(long), make sure the ServerSocketChannel has been created.
preSelect(Context) - Method in class com.sun.grizzly.UDPSelectorHandler
Before invoking Selector.select(), make sure the ServerScoketChannel has been created.
process(ByteBuffer) - Method in interface com.sun.grizzly.async.AsyncQueueDataProcessor
Method is called to process data.
process(SelectionKey) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
process(SelectionKey) - Method in class com.sun.grizzly.connectioncache.server.CacheableSelectionKeyHandler
 
process(SelectionKey) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
SelectionKey process notification
process(SelectionKey) - Method in interface com.sun.grizzly.SelectionKeyHandler
SelectionKey process notification
processedDataSize - Variable in class com.sun.grizzly.async.AsyncQueue.AsyncQueueEntry
 
processedElementsCount - Variable in class com.sun.grizzly.async.AsyncQueue.AsyncQueueEntry
 
processPendingOperations(Context) - Method in class com.sun.grizzly.TCPSelectorHandler
 
protocol - Variable in class com.sun.grizzly.AbstractConnectorHandler
The ConnectorHandler Controller.Protocol.
protocol() - Method in class com.sun.grizzly.AbstractConnectorHandler
Get the ConnectorHandler Controller.Protocol.
protocol(Controller.Protocol) - Method in class com.sun.grizzly.AbstractConnectorHandler
Set the ConnectorHandler Controller.Protocol.
protocol() - Method in interface com.sun.grizzly.ConnectorHandler
A token decribing the protocol supported by an implementation of this interface
protocol() - Method in interface com.sun.grizzly.SelectorHandler
A token decribing the protocol supported by an implementation of this interface
protocol() - Method in class com.sun.grizzly.SSLConnectorHandler
A token decribing the protocol supported by an implementation of this interface
protocol() - Method in class com.sun.grizzly.SSLSelectorHandler
 
protocol() - Method in class com.sun.grizzly.TCPConnectorHandler
A token decribing the protocol supported by an implementation of this interface
protocol() - Method in class com.sun.grizzly.TCPSelectorHandler
A token decribing the protocol supported by an implementation of this interface
protocol() - Method in class com.sun.grizzly.UDPConnectorHandler
A token decribing the protocol supported by an implementation of this interface
protocol() - Method in class com.sun.grizzly.UDPSelectorHandler
A token describing the protocol supported by an implementation of this interface
PROTOCOL_CHAIN_POST_INSTRUCTION - Static variable in interface com.sun.grizzly.ProtocolChain
ProtocolChain result attribute name.
ProtocolChain - Interface in com.sun.grizzly
This class implement the "Chain of Responsibility" pattern (for more info, take a look at the classic "Gang of Four" design patterns book).
protocolChain - Variable in class com.sun.grizzly.SingleProtocolChainInstanceHandler
Single ProtocolChain instance.
ProtocolChainContextTask - Class in com.sun.grizzly
ProtocolChain task, which will be executed by Context, when Context.execute(ContextTask) is called.
ProtocolChainContextTask() - Constructor for class com.sun.grizzly.ProtocolChainContextTask
 
ProtocolChainInstanceHandler - Interface in com.sun.grizzly
An ProtocolChainInstanceHandler is where one or several ProtocolChain are created and cached.
ProtocolChainInstruction - Enum in com.sun.grizzly
The ProtocolChainInstruction contains the instruction for a ProtocolChain, how it should continue the invokation.
protocolChains - Variable in class com.sun.grizzly.DefaultProtocolChainInstanceHandler
List used to cache instance of ProtocolChain.
ProtocolFilter - Interface in com.sun.grizzly
A ProtocolFilter encapsulates a unit of processing work to be performed, whose purpose is to examine and/or modify the state of a transaction that is represented by a ProtocolContext.
protocolFilters - Variable in class com.sun.grizzly.DefaultProtocolChain
The list of ProtocolFilter this chain will invoke.
ProtocolParser<T> - Interface in com.sun.grizzly
An interface that knows how to parse bytes into a protocol data unit.

Q

queue - Variable in class com.sun.grizzly.async.AsyncQueue.AsyncQueueEntry
 
queuedActionLock - Variable in class com.sun.grizzly.async.AsyncQueue.AsyncQueueEntry
 
queuedElementsCount - Variable in class com.sun.grizzly.async.AsyncQueue.AsyncQueueEntry
 

R

random() - Method in class com.sun.grizzly.PortRange
Returns a random port within the range.
read(ByteBuffer, boolean) - Method in class com.sun.grizzly.AbstractConnectorHandler
Read bytes.
read(SelectionKey, ByteBuffer, AsyncReadCallbackHandler) - Method in class com.sun.grizzly.async.AbstractAsyncQueueReader
 
read(SelectionKey, ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition) - Method in class com.sun.grizzly.async.AbstractAsyncQueueReader
 
read(SelectionKey, ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition, AsyncQueueDataProcessor) - Method in class com.sun.grizzly.async.AbstractAsyncQueueReader
 
read(SelectionKey, ByteBuffer, AsyncReadCallbackHandler) - Method in interface com.sun.grizzly.async.AsyncQueueReader
 
read(SelectionKey, ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition) - Method in interface com.sun.grizzly.async.AsyncQueueReader
 
read(SelectionKey, ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition, AsyncQueueDataProcessor) - Method in interface com.sun.grizzly.async.AsyncQueueReader
 
read(ByteBuffer, boolean) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
read(ByteBuffer, boolean) - Method in interface com.sun.grizzly.ConnectorHandler
Read bytes.
read(ByteBuffer, boolean) - Method in class com.sun.grizzly.SSLConnectorHandler
Read bytes.
read(ByteBuffer, boolean) - Method in class com.sun.grizzly.UDPConnectorHandler
Read bytes.
readAttempts - Variable in class com.sun.grizzly.filter.ReadFilter
 
ReadController - Class in com.sun.grizzly
ReadController class represents Controller, which is not itself independent.
ReadController() - Constructor for class com.sun.grizzly.ReadController
 
ReadFilter - Class in com.sun.grizzly.filter
Simple ProtocolFilter implementation which read the available bytes and delegate the processing to the next ProtocolFilter in the ProtocolChain.
ReadFilter() - Constructor for class com.sun.grizzly.filter.ReadFilter
 
readFromAsyncQueue(ByteBuffer, AsyncReadCallbackHandler) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method reads data to the ByteBuffer using async read queue.
readFromAsyncQueue(ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method reads data to the ByteBuffer using async read queue.
readFromAsyncQueue(ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition, AsyncQueueDataProcessor) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method reads data to the ByteBuffer using async read queue.
readFromAsyncQueue(ByteBuffer, AsyncReadCallbackHandler) - Method in interface com.sun.grizzly.async.AsyncQueueReadable
Method reads data to the ByteBuffer using async read queue.
readFromAsyncQueue(ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition) - Method in interface com.sun.grizzly.async.AsyncQueueReadable
Method reads data to the ByteBuffer using async read queue.
readFromAsyncQueue(ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition, AsyncQueueDataProcessor) - Method in interface com.sun.grizzly.async.AsyncQueueReadable
Method reads data to the ByteBuffer using async read queue.
readFromAsyncQueue(ByteBuffer, AsyncReadCallbackHandler) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
readFromAsyncQueue(ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
readFromAsyncQueue(ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition, AsyncQueueDataProcessor) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
readFromAsyncQueue(ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition, AsyncQueueDataProcessor) - Method in class com.sun.grizzly.SSLConnectorHandler
Method reads data to the ByteBuffer using async read queue.
readPostProcessor - Variable in class com.sun.grizzly.async.AsyncQueueReadUnit
 
readThreadControllers - Variable in class com.sun.grizzly.Controller
The array of Controllers to be used for reading
readThreadsCount - Variable in class com.sun.grizzly.Controller
The number of read threads
readySelectorHandlerCounter - Variable in class com.sun.grizzly.Controller
Internal countdown counter of SelectorHandlers, which are ready to process
receive(ByteBuffer) - Method in class com.sun.grizzly.UDPConnectorHandler
Receive bytes.
receiveBufferSize - Variable in class com.sun.grizzly.TCPSelectorHandler
The size to which to set the receive buffer If this value is not greater than 0, it is not used.
reclaim() - Method in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
Reclaim some idle cached connections.
reclaimableConnections - Variable in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
 
recycle() - Method in class com.sun.grizzly.async.AsyncQueueReaderContextTask
 
recycle() - Method in class com.sun.grizzly.async.AsyncQueueWriterContextTask
 
recycle() - Method in class com.sun.grizzly.CallbackHandlerContextTask
 
recycle() - Method in interface com.sun.grizzly.Context
Recycle this instance.
recycle() - Method in class com.sun.grizzly.ContextTask
 
recycle() - Method in class com.sun.grizzly.NIOContext
Recycle this instance.
register(SelectionKey, long) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
Deprecated.  
register(SelectionKey, int) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
register(SelectableChannel, int) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
register(SelectableChannel, int, Object) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
register(Iterator<SelectionKey>, int) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
register(Iterator<SelectionKey>, int) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
Register a set of SelectionKeys.
register(SelectionKey, int) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
Register a SelectionKey on Selector.
register(SelectableChannel, int) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
Register a SelectableChannel on Selector.
register(SelectionKey, long) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
Attach a times out to the SelectionKey used to cancel idle connection.
register(SelectionKey, long) - Method in interface com.sun.grizzly.SelectionKeyHandler
Deprecated.  
register(SelectionKey, int) - Method in interface com.sun.grizzly.SelectionKeyHandler
Register a SelectionKey on Selector.
register(SelectableChannel, int) - Method in interface com.sun.grizzly.SelectionKeyHandler
Register a SelectableChannel on Selector.
register(SelectableChannel, int, Object) - Method in interface com.sun.grizzly.SelectionKeyHandler
Register a SelectableChannel on Selector.
register(Iterator<SelectionKey>, int) - Method in interface com.sun.grizzly.SelectionKeyHandler
Register a set of SelectionKeys.
register(SelectableChannel, int) - Method in interface com.sun.grizzly.SelectorHandler
Register the SelectableChannel on the Selector.
register(SelectableChannel, int, Object) - Method in interface com.sun.grizzly.SelectorHandler
Register the SelectableChannel on the Selector.
register(SelectionKey, int) - Method in interface com.sun.grizzly.SelectorHandler
Register the SelectionKey on the Selector.
register(SelectionKey, int) - Method in class com.sun.grizzly.TCPSelectorHandler
Register a SelectionKey to this Selector.
Storing each interest type in different queues removes the need of wrapper (SelectionKeyOP) while lowering thread contention due to the load is spread out on different queues.
register(SelectableChannel, int) - Method in class com.sun.grizzly.TCPSelectorHandler
 
register(SelectableChannel, int, Object) - Method in class com.sun.grizzly.TCPSelectorHandler
 
registerForWriting(SelectionKey) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
registerKey(SelectionKey) - Method in class com.sun.grizzly.Controller
Register a SelectionKey.
registerKey(SelectionKey, int) - Method in class com.sun.grizzly.Controller
Register a SelectionKey on the first SelectorHandler that was added using the addSelectorHandler().
registerKey(SelectionKey, int, Controller.Protocol) - Method in class com.sun.grizzly.Controller
Register a SelectionKey.
ReinvokeAware - Interface in com.sun.grizzly
The common interface, for objects, which could have influence on a ProtocolChain reinvokation.
release(SelectionKey) - Method in class com.sun.grizzly.CallbackHandlerSelectionKeyAttachment
 
release(int) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
Releases underlying connection, which means it could be reused for writing by other CacheableConnectorHandler, however this CacheableConnectorHandler will be still interested in getting expectedResponseCount responses on it.
release(C, int) - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl
 
release(C, int) - Method in interface com.sun.grizzly.connectioncache.spi.transport.OutboundConnectionCache
Release a Connection previously obtained from get.
release(E) - Method in class com.sun.grizzly.ConnectorInstanceHandler.ConcurrentQueueConnectorInstanceHandler
Release a ConnectorHandler
release(E) - Method in interface com.sun.grizzly.ConnectorInstanceHandler
Release a ConnectorHandler
releaseBuffer() - Method in interface com.sun.grizzly.ProtocolParser
No more parsing will be done on the buffer passed to ProtocolParser#startBuffer().
releaseConnectorHandler(CacheableConnectorHandler) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandlerPool
 
releaseConnectorHandler(E) - Method in interface com.sun.grizzly.ConnectorHandlerPool
Release a ConnectorHandler.
releaseConnectorHandler(ConnectorHandler) - Method in class com.sun.grizzly.Controller
Return a ConnectorHandler to the pool of ConnectorHandler.
releaseConnectorHandler(ConnectorHandler) - Method in class com.sun.grizzly.DefaultConnectorHandlerPool
 
releaseConnectorHandler(ConnectorHandler) - Method in interface com.sun.grizzly.SelectorHandler
Release a ConnectorHandler.
releaseConnectorHandler(ConnectorHandler) - Method in class com.sun.grizzly.TCPSelectorHandler
Release a ConnectorHandler.
remove() - Method in interface com.sun.grizzly.connectioncache.spi.concurrent.ConcurrentQueue.Handle
Delete the element corresponding to this handle from the queue.
removeAttribute(String) - Method in interface com.sun.grizzly.Context
Remove a key/value object.
removeAttribute(String) - Method in class com.sun.grizzly.Controller
Remove a key/value object.
removeAttribute(String) - Method in class com.sun.grizzly.NIOContext
Remove a key/value object.
removeAttribute(String) - Method in class com.sun.grizzly.TCPSelectorHandler
Remove a key/value object.
removeConnectionCloseHandler(ConnectionCloseHandler) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
Removes the the ConnectionCloseHandler from a set.
removeEntry(K) - Method in class com.sun.grizzly.async.AsyncQueue
Remove head element of K key related queue.
removeEventHandler(DefaultProtocolChain.EventHandler) - Method in class com.sun.grizzly.DefaultProtocolChain
Remove the DefaultProtocolChain.EventHandler.
removeFilter(ProtocolFilter) - Method in class com.sun.grizzly.DefaultProtocolChain
Remove a ProtocolFilter.
removeFilter(ProtocolFilter) - Method in interface com.sun.grizzly.ProtocolChain
Remove the ProtocolFilter from this chain.
removeSelectorHandler(SelectorHandler) - Method in class com.sun.grizzly.Controller
Shuts down SelectorHandler and removes it from this Controller list
removeSelectorHandlerClone(SelectorHandler) - Method in class com.sun.grizzly.ReadController
Removes SelectorHandler's clone, registered on thisReadController
removeStateListener(ControllerStateListener) - Method in class com.sun.grizzly.Controller
Remove controller state listener
requestProcessed(C, int) - Method in class com.sun.grizzly.connectioncache.impl.transport.InboundConnectionCacheBlockingImpl
 
requestProcessed(C, int) - Method in interface com.sun.grizzly.connectioncache.spi.transport.InboundConnectionCache
Indicate that request processing has been completed for a request received on conn.
requestReceived(C) - Method in class com.sun.grizzly.connectioncache.impl.transport.InboundConnectionCacheBlockingImpl
 
requestReceived(C) - Method in interface com.sun.grizzly.connectioncache.spi.transport.InboundConnectionCache
Mark a connection as busy because a request is being processed on the connection.
resetSpinCounter() - Method in interface com.sun.grizzly.LinuxSpinningWorkaround
Resets the spincounter
resetSpinCounter() - Method in class com.sun.grizzly.TCPSelectorHandler
Resets the spincounter
responseReceived() - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
Notifies connection cache, that response was received.
responseReceived(C) - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl
Decrement the number of expected responses.
responseReceived(C) - Method in interface com.sun.grizzly.connectioncache.spi.transport.OutboundConnectionCache
Inform the cache that a response has been received on a particular connection.
responseSent(C) - Method in class com.sun.grizzly.connectioncache.impl.transport.InboundConnectionCacheBlockingImpl
Decrement the number of expected responses.
responseSent(C) - Method in interface com.sun.grizzly.connectioncache.spi.transport.InboundConnectionCache
Inform the cache that a response has been sent on a particular connection.
resume() - Method in interface com.sun.grizzly.Context
Resume a Context.suspend()ed Context.
resume() - Method in class com.sun.grizzly.Controller
Resume this Controller and associated SelectorHandlers
resume() - Method in interface com.sun.grizzly.Lifecycle
Resume this Lifecycle.
resume() - Method in class com.sun.grizzly.NIOContext
Resume a NIOContext.suspend()ed Context.
resume() - Method in interface com.sun.grizzly.SelectorHandler
Resume this SelectorHandler
resume() - Method in class com.sun.grizzly.suspendable.Suspendable
Resume a suspended connection.
resume(SelectionKey) - Method in class com.sun.grizzly.suspendable.SuspendableFilter
Resume the connection by register back the SelectionKey for OP event.
resume() - Method in class com.sun.grizzly.TCPSelectorHandler
Resume this SelectorHandler
resumed(A) - Method in interface com.sun.grizzly.suspendable.SuspendableHandler
Invoked when a suspendable is resumed (by calling resume())
retrieve(Properties) - Method in class com.sun.grizzly.SSLConfig
 
returnContext(Context) - Method in class com.sun.grizzly.Controller
Return a Context to its pool if it is not shared.
ReusableTCPSelectorHandler - Class in com.sun.grizzly
This class extends a TCP implementation of a SelectorHandler and reuses the accepted SocketChannel if a user tries to connect the same remote address.
ReusableTCPSelectorHandler() - Constructor for class com.sun.grizzly.ReusableTCPSelectorHandler
 
ReusableUDPSelectorHandler - Class in com.sun.grizzly
This class extends a UDP implementation of a SelectorHandler and reuses the opened DatagramChannel if a user tries to connect any remote addresses.
ReusableUDPSelectorHandler() - Constructor for class com.sun.grizzly.ReusableUDPSelectorHandler
 
reuseAddress - Variable in class com.sun.grizzly.TCPConnectorHandler
The socket reuseAddress
reuseAddress - Variable in class com.sun.grizzly.TCPSelectorHandler
The socket reuseAddress
Role - Enum in com.sun.grizzly
The transport role
role - Variable in class com.sun.grizzly.TCPSelectorHandler
Is this used for client only or client/server operation.
RoundRobinSelectorHandler - Class in com.sun.grizzly
A SelectorHandler handles all java.nio.channels.Selector operations.
RoundRobinSelectorHandler() - Constructor for class com.sun.grizzly.RoundRobinSelectorHandler
 
RoundRobinSelectorHandler(ReadController[]) - Constructor for class com.sun.grizzly.RoundRobinSelectorHandler
 
run() - Method in class com.sun.grizzly.ContextTask
 
run() - Method in class com.sun.grizzly.Controller
Execute this Controller.
run() - Method in class com.sun.grizzly.SelectorHandlerRunner
 
run(Context) - Method in interface com.sun.grizzly.SelectorHandlerTask
 
run() - Method in class com.sun.grizzly.suspendable.SuspendableMonitor
 
run(Context) - Method in class com.sun.grizzly.TCPSelectorHandler.ConnectChannelOperation
 
run(Context) - Method in class com.sun.grizzly.TCPSelectorHandler.RegisterChannelOperation
 
run(Context) - Method in class com.sun.grizzly.TCPSelectorHandler.RegisterKeyOperation
 
run(Context) - Method in class com.sun.grizzly.TCPSelectorHandler.RunnableOperation
 
run(Context) - Method in class com.sun.grizzly.TCPSelectorHandler.SelectionKeyCancelOperation
 

S

select(Context) - Method in interface com.sun.grizzly.SelectorHandler
Invoke the Selector.select() method.
select(Context) - Method in class com.sun.grizzly.TCPSelectorHandler
Execute the Selector.select(...) operations.
SelectionKeyContextTask - Class in com.sun.grizzly
Basic class for all ContextTasks, which are dealing with SelectionKeys
SelectionKeyContextTask() - Constructor for class com.sun.grizzly.SelectionKeyContextTask
 
selectionKeyHandler - Variable in class com.sun.grizzly.Controller
The SelectionKey Handler used by this instance.
SelectionKeyHandler - Interface in com.sun.grizzly
A SelectionKeyHandler is used to handle the life cycle of a SelectionKey.
selectionKeyHandler - Variable in class com.sun.grizzly.TCPSelectorHandler
The SelectionKeyHandler associated with this SelectorHandler.
selector - Variable in class com.sun.grizzly.TCPSelectorHandler
The single Selector.
selectorHandler - Variable in class com.sun.grizzly.AbstractConnectorHandler
The underlying SelectorHandler used to mange SelectionKeys.
selectorHandler - Variable in class com.sun.grizzly.async.AbstractAsyncQueueReader
 
selectorHandler - Variable in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
selectorHandler - Variable in class com.sun.grizzly.BaseSelectionKeyHandler
Associated SelectorHandler
SelectorHandler - Interface in com.sun.grizzly
A SelectorHandler handles all java.nio.channels.Selector operations.
SelectorHandlerFactory - Class in com.sun.grizzly
This class helps users to create a proper SelectorHandler which corresponds to its protocol and reusableness.
SelectorHandlerFactory() - Constructor for class com.sun.grizzly.SelectorHandlerFactory
 
SelectorHandlerRunner - Class in com.sun.grizzly
Class is responsible for processing certain (single) SelectorHandler
SelectorHandlerRunner(Controller, SelectorHandler) - Constructor for class com.sun.grizzly.SelectorHandlerRunner
 
selectorHandlers - Variable in class com.sun.grizzly.Controller
The set of SelectorHandlers used by this instance.
SelectorHandlerTask - Interface in com.sun.grizzly
Task, which may be registered on SelectorHandler and executed in a Selector thread.
selectorHandlerTasks - Variable in class com.sun.grizzly.TCPSelectorHandler
The list of SelectionKeyOP to register next time the Selector.select is invoked.
selectTimeout - Variable in class com.sun.grizzly.TCPSelectorHandler
The Selector time out.
send(ByteBuffer, SocketAddress) - Method in class com.sun.grizzly.UDPConnectorHandler
Receive bytes.
sendBufferSize - Variable in class com.sun.grizzly.TCPSelectorHandler
The size to which to set the send buffer If this value is not greater than 0, it is not used.
serverSocket - Variable in class com.sun.grizzly.TCPSelectorHandler
The ServerSocket instance.
serverSocketChannel - Variable in class com.sun.grizzly.TCPSelectorHandler
The ServerSocketChannel.
serverTimeout - Variable in class com.sun.grizzly.TCPSelectorHandler
The server socket time out
set(ByteBuffer, AsyncReadCallbackHandler, AsyncReadCondition, AsyncQueueDataProcessor, Future<AsyncQueueReadUnit>) - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
set(ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, SocketAddress, ByteBufferCloner, Future) - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
setAllowContextCaching(boolean) - Method in class com.sun.grizzly.Controller
Set to true for enabling caching of Context.
setAsyncQueueReader(AsyncQueueReader) - Method in class com.sun.grizzly.async.AsyncQueueReaderContextTask
 
setAsyncQueueReader(AsyncQueueReader) - Method in class com.sun.grizzly.NIOContext
Set the
setAsyncQueueWriter(AsyncQueueWriter) - Method in class com.sun.grizzly.async.AsyncQueueWriterContextTask
 
setAsyncQueueWriter(AsyncQueueWriter) - Method in class com.sun.grizzly.NIOContext
Set the
setAttachment(A) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
setAttribute(String, Object) - Method in class com.sun.grizzly.Controller
Set a key/value object.
setAttribute(String, Object) - Method in class com.sun.grizzly.NIOContext
Set a key/value object.
setAttribute(String, Object) - Method in class com.sun.grizzly.TCPSelectorHandler
Set a key/value object.
setAttributes(Map<String, Object>) - Method in interface com.sun.grizzly.Context
Set a Map of attribute name/value pairs.
setAttributes(Map<String, Object>) - Method in class com.sun.grizzly.Controller
Set a Map of attribute name/value pairs.
setAttributes(Map<String, Object>) - Method in class com.sun.grizzly.NIOContext
Set a Map of attribute name/value pairs.
setAttributes(Map<String, Object>) - Method in class com.sun.grizzly.TCPSelectorHandler
Set a Map of attribute name/value pairs.
setAutoConfigure(boolean) - Method in class com.sun.grizzly.Controller
Set to true true if the Controller is auto configuring the number of ReadController and its associated thread pool size.
setByteBuffer(ByteBuffer) - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
setByteBuffer(ByteBuffer) - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
setByteBufferCloner(ByteBufferCloner) - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
setCallbackHandler(K) - Method in class com.sun.grizzly.AbstractConnectorHandler
Set the CallbackHandler.
setCallbackHandler(AsyncReadCallbackHandler) - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
setCallbackHandler(AsyncWriteCallbackHandler) - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
setCallBackHandler(CallbackHandler) - Method in class com.sun.grizzly.CallbackHandlerContextTask
 
setCallbackHandler(P) - Method in interface com.sun.grizzly.ConnectorHandler
Sets ConnectorHandler's callback handler instance, which is used to process occuring events
setClientMode(boolean) - Method in class com.sun.grizzly.filter.SSLReadFilter
Configures the engine to use client (or server) mode when handshaking.
setClientMode(boolean) - Method in class com.sun.grizzly.SSLConfig
 
setCloned(boolean) - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
setCondition(AsyncReadCondition) - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
setConnectionCloseHandler(ConnectionCloseHandler) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
Adds the the ConnectionCloseHandler to a set.
setConnectionTimeout(int) - Method in class com.sun.grizzly.TCPConnectorHandler
Set TCP channel connection timeout in milliseconds
setConnectorHandlerPool(ConnectorHandlerPool) - Method in class com.sun.grizzly.Controller
Set the ConnectorHandlerPool used.
setContext(Context) - Method in class com.sun.grizzly.ContextTask
 
setContinuousExecution(boolean) - Method in class com.sun.grizzly.DefaultProtocolChain
Set to true if the current ExecutorService can re-execute its ProtocolFilter(s) after a successful execution.
setContinuousExecution(boolean) - Method in class com.sun.grizzly.filter.ReadFilter
Set to true if the current ExecutorService can re-execute its ProtocolFilter(s) after a successful execution.
setContinuousExecution(boolean) - Method in interface com.sun.grizzly.ReinvokeAware
Set to true if the current ExecutorService can re-execute its ProtocolFilter(s) after a successful execution.
setController(Controller) - Method in class com.sun.grizzly.AbstractConnectorHandler
Set the Controller to use with this instance.
setController(Controller) - Method in interface com.sun.grizzly.ConnectorHandler
Set the Controller associated with this instance.
setController(Controller) - Method in class com.sun.grizzly.NIOContext
Set the current Controller.
setCurrentOpType(Context.OpType) - Method in class com.sun.grizzly.NIOContext
Set the current OpType value.
setDelegateSSLTasks(boolean) - Method in class com.sun.grizzly.SSLConnectorHandler
 
setDelegateToProtocolChain(boolean) - Method in class com.sun.grizzly.DefaultCallbackHandler
Set to true> to enable delagation of the read and write operations to a ProtocolChain true> to enable delagation of the read and write operations to a ProtocolChain
setDisplayConfiguration(boolean) - Method in class com.sun.grizzly.Controller
Display the internal configuration of this instance.
setDstAddress(SocketAddress) - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
setEnabledCipherSuites(String[]) - Method in class com.sun.grizzly.filter.SSLReadFilter
Sets the list of cipher suites to be enabled when SSLEngine is initialized.
setEnabledProtocols(String[]) - Method in class com.sun.grizzly.filter.SSLReadFilter
Sets the list of protocols to be enabled when SSLEngine is initialized.
setExecutePendingIOUsingSelectorThread(boolean) - Method in class com.sun.grizzly.Controller
Set true, if selector thread has to be applied to execute I/O operation, or false (by default), meaning that I/O operation could be executed in the current thread.
setExecutePendingIOUsingSelectorThread(boolean) - Method in class com.sun.grizzly.TCPSelectorHandler
Set true, if selector thread has to be applied to execute I/O operation, or false (by default), meaning that I/O operation could be executed in the current thread.
setExpireTime(long) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
setForeignKey(SelectionKey) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
setFuture(Future<AsyncQueueReadUnit>) - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
setFuture(Future<AsyncQueueWriteUnit>) - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
setHandleReadWriteConcurrently(boolean) - Method in class com.sun.grizzly.Controller
true if OP_ERAD and OP_WRITE can be handled concurrently.
setInet(InetAddress) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setIOEvent(IOEvent<Context>) - Method in interface com.sun.grizzly.Context
Set an optional CallbackHandler.
setIOEvent(IOEvent<Context>) - Method in class com.sun.grizzly.NIOContext
Set an optional CallbackHandler.
setKeepAlive(boolean) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setKernelExecutorFactory(Controller.KernelExecutorFactory) - Method in class com.sun.grizzly.Controller
Set the factory, responsible for creating kernel ExecutorServices.
setKey(SelectionKey) - Method in class com.sun.grizzly.suspendable.Suspendable
Set the underlying SelectionKey.
setKey(SelectionKey) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
setKeyManagerFactoryAlgorithm(String) - Method in class com.sun.grizzly.SSLConfig
Sets the key manager factory algorithm.
setKeyPass(String) - Method in class com.sun.grizzly.SSLConfig
Password of the key in the key store.
setKeyPass(char[]) - Method in class com.sun.grizzly.SSLConfig
Password of the key in the key store.
setKeyRegistrationState(Context.KeyRegistrationState) - Method in interface com.sun.grizzly.Context
Set the SelectionKey's next registration state
setKeyRegistrationState(Context.KeyRegistrationState) - Method in class com.sun.grizzly.NIOContext
Set the SelectionKey's next registration state
setKeyStoreFile(String) - Method in class com.sun.grizzly.SSLConfig
Sets key store file name, also makes sure that if other key store configuration parameters are not set to set them to default values.
setKeyStorePass(String) - Method in class com.sun.grizzly.SSLConfig
Password of key store.
setKeyStorePass(char[]) - Method in class com.sun.grizzly.SSLConfig
Password of key store.
setKeyStoreProvider(String) - Method in class com.sun.grizzly.SSLConfig
Sets the key store provider name.
setKeyStoreType(String) - Method in class com.sun.grizzly.SSLConfig
Type of key store.
setLinger(int) - Method in class com.sun.grizzly.TCPConnectorHandler
 
setLinger(int) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setLinger(int) - Method in class com.sun.grizzly.UDPSelectorHandler
 
setLogger(Logger) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
setLogger(Logger) - Static method in class com.sun.grizzly.Controller
Set the Logger single instance to use.
setLogger(Logger) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setMaxAcceptRetries(int) - Method in class com.sun.grizzly.Controller
Max number of accept() failures before abording.
setMaxAcceptRetries(int) - Method in class com.sun.grizzly.TCPSelectorHandler
Max number of accept() failures before abording.
setNeedClientAuth(boolean) - Method in class com.sun.grizzly.filter.SSLReadFilter
Configures the engine to require client authentication.
setNeedClientAuth(boolean) - Method in class com.sun.grizzly.SSLConfig
 
setPort(int) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setPortRange(PortRange) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setProtocol(Controller.Protocol) - Method in class com.sun.grizzly.NIOContext
 
setProtocolChain(ProtocolChain) - Method in interface com.sun.grizzly.Context
Set the ProtocolChain used by this Context.
setProtocolChain(ProtocolChain) - Method in class com.sun.grizzly.NIOContext
Set the ProtocolChain used by this Context.
setProtocolChain(ProtocolChain) - Method in class com.sun.grizzly.SingleProtocolChainInstanceHandler
Set the stateless ProtocolChain instance, which will be always returned via StatelessProtocolChainInstanceHandler#poll().
setProtocolChainInstanceHandler(ProtocolChainInstanceHandler) - Method in class com.sun.grizzly.Controller
Set the ProtocolChainInstanceHandler to use for creating instance of ProtocolChain.
setProtocolChainInstanceHandler(ProtocolChainInstanceHandler) - Method in interface com.sun.grizzly.SelectorHandler
Set the ProtocolChainInstanceHandler to use for creating instance of ProtocolChain.
setProtocolChainInstanceHandler(ProtocolChainInstanceHandler) - Method in class com.sun.grizzly.TCPSelectorHandler
Set the ProtocolChainInstanceHandler to use for creating instance of ProtocolChain.
setProtocolFilter(int, ProtocolFilter) - Method in class com.sun.grizzly.DefaultProtocolChain
Insert a ProtocolFilter at position pos.
setReadAttempts(int) - Method in class com.sun.grizzly.filter.ReadFilter
Set the number of attempts the ReadFilter will try to read a data from a channel.
setReadPostProcessor(AsyncQueueDataProcessor) - Method in class com.sun.grizzly.async.AsyncQueueReadUnit
 
setReadThreadsCount(int) - Method in class com.sun.grizzly.Controller
Set the number of Reader threads count.
setReceiveBufferSize(int) - Method in class com.sun.grizzly.TCPSelectorHandler
Sets the receiveBufferSize to the specified value
setRegistrationTime(long) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
setReuseAddress(boolean) - Method in class com.sun.grizzly.TCPConnectorHandler
 
setReuseAddress(boolean) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setRole(Role) - Method in class com.sun.grizzly.TCPSelectorHandler
Sets this SelectorHandler current role.
setSecurityProtocol(String) - Method in class com.sun.grizzly.SSLConfig
Sets the SSLContext protocole.
setSelectionKey(SelectionKey) - Method in class com.sun.grizzly.NIOContext
Set the connection SelectionKey.
setSelectionKeyHandler(SelectionKeyHandler) - Method in class com.sun.grizzly.Controller
Deprecated. Set the SelectionKeyHandler to use for managing the life cycle of SelectionKey. Method is deprecated. Use SelectorHandler.setSelectionKeyHandler() instead
setSelectionKeyHandler(SelectionKeyHandler) - Method in interface com.sun.grizzly.SelectorHandler
Set SelectionKeyHandler associated with this SelectorHandler.
setSelectionKeyHandler(SelectionKeyHandler) - Method in class com.sun.grizzly.TCPSelectorHandler
Set SelectionKeyHandler associated with this SelectorHandler.
setSelector(Selector) - Method in interface com.sun.grizzly.SelectorHandler
Sets the underlying Selector
setSelector(Selector) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setSelectorHandler(E) - Method in class com.sun.grizzly.AbstractConnectorHandler
Set the associated SelectorHandler
setSelectorHandler(SelectorHandler) - Method in class com.sun.grizzly.BaseSelectionKeyHandler
 
setSelectorHandler(SelectorHandler) - Method in class com.sun.grizzly.Controller
Set the first SelectorHandler
setSelectorHandler(SelectorHandler) - Method in class com.sun.grizzly.NIOContext
Set the current SelectorHandler this instance is executing.
setSelectorHandler(SelectorHandler) - Method in interface com.sun.grizzly.SelectionKeyHandler
Set associated SelectorHandler
setSelectorHandler(SelectorHandler) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
setSelectTimeout(long) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setSendBufferSize(int) - Method in class com.sun.grizzly.TCPSelectorHandler
Sets the sendBufferSize to the specified value
setServerTimeout(int) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setSkipRead(boolean) - Method in class com.sun.grizzly.filter.ParserProtocolFilter
Method set if this Filter should perform channel read operation on execute, or should assumes the data was read by previous Filters in a chain.
setSocketNativeReceiveBufferSize(int) - Method in class com.sun.grizzly.UDPSelectorHandler
 
setSocketNativeSendBufferSize(int) - Method in class com.sun.grizzly.UDPSelectorHandler
 
setSocketTimeout(int) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setSocketTimeout(int) - Method in class com.sun.grizzly.UDPSelectorHandler
 
setSsBackLog(int) - Method in class com.sun.grizzly.TCPSelectorHandler
 
setSsBackLog(int) - Method in class com.sun.grizzly.UDPSelectorHandler
 
setSslActivityTimeout(int) - Method in class com.sun.grizzly.filter.SSLReadFilter
 
setSSLConfig(SSLConfig) - Method in class com.sun.grizzly.filter.ParserProtocolFilter
Configures this Filter to be used with SSL.
setSSLContext(SSLContext) - Method in class com.sun.grizzly.filter.SSLReadFilter
Set the SSLContext required to support SSL over NIO.
setSSLContext(SSLContext) - Method in class com.sun.grizzly.SSLConnectorHandler
Set SSLContext.
setSSLEngine(SSLEngine) - Method in class com.sun.grizzly.SSLConnectorHandler
SetSSLEngine
setSslInactivityTimeout(int) - Method in class com.sun.grizzly.SSLConfig
 
setSuspendable(Suspendable) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
setSuspendableFilter(SuspendableFilter) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
setSuspendableHandler(SuspendableFilter.SuspendableHandlerWrapper) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
setSuspendableHandler(SuspendableHandler<A>) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
setSuspendWhen(SuspendableFilter.Suspend) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
setTcpNoDelay(boolean) - Method in class com.sun.grizzly.TCPConnectorHandler
Enable (true) or disable (false) the underlying Socket's tcpNoDelay.
setTcpNoDelay(boolean) - Method in class com.sun.grizzly.TCPSelectorHandler
Enable (true) or disable (false) the underlying Socket's tcpNoDelay.
setTcpNoDelay(boolean) - Method in class com.sun.grizzly.UDPSelectorHandler
 
setThreadAttachment(ThreadAttachment) - Method in class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
setThreadPool(ExecutorService) - Method in interface com.sun.grizzly.Context
Set the ExecutorService that will execute this instance.
setThreadPool(ExecutorService) - Method in class com.sun.grizzly.Controller
Set the ExecutorService (Thread Pool).
setThreadPool(ExecutorService) - Method in class com.sun.grizzly.NIOContext
Set the ExecutorService that will execute this instance.
setThreadPool(ExecutorService) - Method in interface com.sun.grizzly.SelectorHandler
Set the ExecutorService used to execute this SelectorHandler's SelectionKey ops
setThreadPool(ExecutorService) - Method in class com.sun.grizzly.TCPSelectorHandler
Set the ExecutorService used to execute this SelectorHandler's SelectionKey ops
setTimeout(long) - Method in class com.sun.grizzly.DefaultSelectionKeyHandler
Set expiration timeout for the SelectionKey.
setTrustManagerFactoryAlgorithm(String) - Method in class com.sun.grizzly.SSLConfig
Sets the trust manager factory algorithm.
setTrustStoreFile(String) - Method in class com.sun.grizzly.SSLConfig
Sets trust store file name, also makes sute that if other trust store configutation parameters are not set to set them to default values.
setTrustStorePass(String) - Method in class com.sun.grizzly.SSLConfig
Password of trust store.
setTrustStoreProvider(String) - Method in class com.sun.grizzly.SSLConfig
Sets the trust store provider name.
setTrustStoreType(String) - Method in class com.sun.grizzly.SSLConfig
Type of trust store.
setUnderlyingChannel(SelectableChannel) - Method in class com.sun.grizzly.AbstractConnectorHandler
Set the SelectableChannel.
setWantClientAuth(boolean) - Method in class com.sun.grizzly.filter.SSLReadFilter
Configures the engine to request client authentication.
setWantClientAuth(boolean) - Method in class com.sun.grizzly.SSLConfig
 
setWritePreProcessor(AsyncQueueDataProcessor) - Method in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
shutdown() - Method in class com.sun.grizzly.ReusableTCPSelectorHandler
Shutdown this instance by closing its Selector and associated channels.
shutdown() - Method in class com.sun.grizzly.RoundRobinSelectorHandler
 
shutdown() - Method in interface com.sun.grizzly.SelectorHandler
Shutdown this instance.
shutdown() - Method in class com.sun.grizzly.TCPSelectorHandler
Shutdown this instance by closing its Selector and associated channels.
shutdown() - Method in class com.sun.grizzly.UDPSelectorHandler
Shuntdown this instance by closing its Selector and associated channels.
SingleProtocolChainInstanceHandler - Class in com.sun.grizzly
Implementation of an ProtocolChainInstanceHandler.
SingleProtocolChainInstanceHandler() - Constructor for class com.sun.grizzly.SingleProtocolChainInstanceHandler
 
SingleProtocolChainInstanceHandler(ProtocolChain) - Constructor for class com.sun.grizzly.SingleProtocolChainInstanceHandler
 
size(K) - Method in class com.sun.grizzly.async.AsyncQueue
Get the size of K key related queue.
size() - Method in class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueBlockingImpl
 
size() - Method in class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueImpl
 
size() - Method in class com.sun.grizzly.connectioncache.impl.concurrent.ConcurrentQueueNonBlockingImpl
 
size() - Method in interface com.sun.grizzly.connectioncache.spi.concurrent.ConcurrentQueue
Return the number of elements in the queue.
socketTimeout - Variable in class com.sun.grizzly.TCPSelectorHandler
The socket time out
ssBackLog - Variable in class com.sun.grizzly.TCPSelectorHandler
Server socket backlog.
SSL_PREREAD_DATA - Static variable in class com.sun.grizzly.filter.SSLReadFilter
Attribute is used to instruct SSLReadFilter to continue processing, if there is some data availabe in decoded ByteBuffer, even, if SSLReaderFilter wasn't able to read any additional data
SSLCallbackHandler<E> - Interface in com.sun.grizzly
This class extends the CallbackHandler functionalities by exposing the onHandshake method.
SSLConfig - Class in com.sun.grizzly
SSL configuration helper.
SSLConfig() - Constructor for class com.sun.grizzly.SSLConfig
Default constructor.
SSLConfig(boolean) - Constructor for class com.sun.grizzly.SSLConfig
Constructor that allows you creating empty configuration.
SSLConnectorHandler - Class in com.sun.grizzly
Non blocking SSL Connector Handler.
SSLConnectorHandler() - Constructor for class com.sun.grizzly.SSLConnectorHandler
 
SSLConnectorHandler(SSLConfig) - Constructor for class com.sun.grizzly.SSLConnectorHandler
 
SSLConnectorHandler(SSLContext) - Constructor for class com.sun.grizzly.SSLConnectorHandler
 
sslContext - Variable in class com.sun.grizzly.filter.SSLReadFilter
The SSLContext associated with the SSL implementation we are running on.
SSLEchoAsyncWriteQueueFilter - Class in com.sun.grizzly.filter
SSL echo filter, which uses AsyncQueueWriter
SSLEchoAsyncWriteQueueFilter() - Constructor for class com.sun.grizzly.filter.SSLEchoAsyncWriteQueueFilter
 
SSLEchoFilter - Class in com.sun.grizzly.filter
Simple echo filter
SSLEchoFilter() - Constructor for class com.sun.grizzly.filter.SSLEchoFilter
 
SSLReadFilter - Class in com.sun.grizzly.filter
Simple ProtocolFilter implementation which execute an SSL handshake and decrypt the bytes, the pass the control to the next filter.
SSLReadFilter() - Constructor for class com.sun.grizzly.filter.SSLReadFilter
 
SSLSelectorHandler - Class in com.sun.grizzly
A SelectorHandler handles all java.nio.channels.Selector operations.
SSLSelectorHandler() - Constructor for class com.sun.grizzly.SSLSelectorHandler
 
SSLSelectorHandler(boolean) - Constructor for class com.sun.grizzly.SSLSelectorHandler
SSLSelectorHandler constructor
start() - Method in class com.sun.grizzly.Controller
Start the Controller.
start() - Method in interface com.sun.grizzly.Lifecycle
Start the Lifecycle.
start() - Method in class com.sun.grizzly.ReadController
Start the Controller.
startBuffer(ByteBuffer) - Method in interface com.sun.grizzly.ProtocolParser
Set the buffer to be parsed.
startSelectorHandlerRunner(SelectorHandler) - Method in class com.sun.grizzly.Controller
Starts SelectorHandlerRunner
stateHolder - Variable in class com.sun.grizzly.Controller
Current Controller state
stateHolder - Variable in class com.sun.grizzly.TCPSelectorHandler
This SelectorHandler StateHolder, which is shared among SelectorHandler and its clones
stateListeners - Variable in class com.sun.grizzly.Controller
Collection of Controller state listeners, which will are notified on Controller state change.
stop() - Method in class com.sun.grizzly.Controller
Stop the Controller by canceling all the registered keys.
stop(boolean) - Method in class com.sun.grizzly.Controller
Stop the Controller by canceling all the registered keys.
stop() - Method in interface com.sun.grizzly.Lifecycle
Stops the Lifecycle.
stop() - Method in class com.sun.grizzly.ReadController
Stop the Controller by canceling all the registered keys.
stoppedSelectorHandlerCounter - Variable in class com.sun.grizzly.Controller
Internal countdown counter of SelectorHandlers, which stopped
succ(int) - Method in class com.sun.grizzly.PortRange
Returns the successor of a port within the range, wrapping around to the lowest port if necessary.
SUCCESSFUL_READ - Static variable in interface com.sun.grizzly.ProtocolFilter
 
supportsClient(SelectorHandler) - Method in interface com.sun.grizzly.ComplexSelectorHandler
Checks if given SelectorHandler is supported on client-side by RoundRobinSelectorHandler
supportsClient(SelectorHandler) - Method in class com.sun.grizzly.RoundRobinSelectorHandler
Checks if given SelectorHandler is supported on client-side by RoundRobinSelectorHandler
supportsProtocol(Controller.Protocol) - Method in interface com.sun.grizzly.ComplexSelectorHandler
Checks if protocol is supported by RoundRobinSelectorHandler
supportsProtocol(Controller.Protocol) - Method in class com.sun.grizzly.RoundRobinSelectorHandler
Checks if protocol is supported by RoundRobinSelectorHandler
suspend() - Method in interface com.sun.grizzly.Context
Suspend the execution of this Context.
suspend() - Method in class com.sun.grizzly.NIOContext
Suspend the execution of this Context.
suspend(String) - Method in class com.sun.grizzly.suspendable.SuspendableFilter
Suspend a connection based on a String.
suspend(String, long, T, SuspendableHandler<? extends T>) - Method in class com.sun.grizzly.suspendable.SuspendableFilter
Suspend a connection based on a String.
suspend(String, long, T, SuspendableHandler<? extends T>, SuspendableFilter.Suspend) - Method in class com.sun.grizzly.suspendable.SuspendableFilter
Suspend a connection based on a String.
suspend(SuspendableFilter.KeyHandler) - Method in class com.sun.grizzly.suspendable.SuspendableMonitor
Suspend the ReadableChannel represented by this SuspendableFilter.KeyHandler by registering it on secondary Selector.
Suspendable - Class in com.sun.grizzly.suspendable
An Object representing the result of an suspendable operation like SuspendableFilter@#suspend An instance of that class can be used to resume or cancel a suspended connection.
Suspendable(SuspendableFilter) - Constructor for class com.sun.grizzly.suspendable.Suspendable
 
SuspendableFilter<T> - Class in com.sun.grizzly.suspendable
Suspend the processing of the request and associated ProtocolChain
SuspendableFilter() - Constructor for class com.sun.grizzly.suspendable.SuspendableFilter
 
SuspendableFilter(int) - Constructor for class com.sun.grizzly.suspendable.SuspendableFilter
Create a new SuspendableFilter, and resume its associated DefaultProtocolChain from position SuspendableFilter.nextFilterPosition
SuspendableFilter.KeyHandler - Class in com.sun.grizzly.suspendable
Struc to keep state of the current suspended Connection.
SuspendableFilter.KeyHandler() - Constructor for class com.sun.grizzly.suspendable.SuspendableFilter.KeyHandler
 
SuspendableFilter.Suspend - Enum in com.sun.grizzly.suspendable
Suspend the connection BEFORE of AFTER
SuspendableFilter.SuspendableHandlerWrapper<A> - Class in com.sun.grizzly.suspendable
Wrapper class around a SuspendableHandler with add some connection state.
SuspendableFilter.SuspendableHandlerWrapper(SuspendableHandler<A>, A, long, Suspendable, SuspendableFilter.Suspend) - Constructor for class com.sun.grizzly.suspendable.SuspendableFilter.SuspendableHandlerWrapper
 
SuspendableHandler<A> - Interface in com.sun.grizzly.suspendable
A handler for consuming the result of an suspendable operation.
SuspendableMonitor - Class in com.sun.grizzly.suspendable
A secondary Selector used to keep the state of a suspended connection (SelectionKey).
SuspendableMonitor() - Constructor for class com.sun.grizzly.suspendable.SuspendableMonitor
Start a new Thread with a Selector running.
suspendedKeys - Variable in class com.sun.grizzly.suspendable.SuspendableFilter
The current list of suspended SelectionKey.
switchToNewSelector(SelectorHandler) - Static method in class com.sun.grizzly.SelectorHandlerRunner
 

T

TCPAsyncQueueReader - Class in com.sun.grizzly.async
 
TCPAsyncQueueReader(SelectorHandler) - Constructor for class com.sun.grizzly.async.TCPAsyncQueueReader
 
TCPAsyncQueueWriter - Class in com.sun.grizzly.async
TCP implementation of AsyncQueueWriter
TCPAsyncQueueWriter(SelectorHandler) - Constructor for class com.sun.grizzly.async.TCPAsyncQueueWriter
 
TCPConnectorHandler - Class in com.sun.grizzly
Non blocking TCP Connector Handler.
TCPConnectorHandler() - Constructor for class com.sun.grizzly.TCPConnectorHandler
 
tcpNoDelay - Variable in class com.sun.grizzly.TCPConnectorHandler
The socket tcpDelay.
tcpNoDelay - Variable in class com.sun.grizzly.TCPSelectorHandler
The socket tcpDelay.
TCPSelectorHandler - Class in com.sun.grizzly
A SelectorHandler handles all java.nio.channels.Selector operations.
TCPSelectorHandler() - Constructor for class com.sun.grizzly.TCPSelectorHandler
 
TCPSelectorHandler(boolean) - Constructor for class com.sun.grizzly.TCPSelectorHandler
Create a TCPSelectorHandler only used with ConnectorHandler.
TCPSelectorHandler(Role) - Constructor for class com.sun.grizzly.TCPSelectorHandler
Create a TCPSelectorHandler only used with ConnectorHandler.
TCPSelectorHandler.ConnectChannelOperation - Class in com.sun.grizzly
 
TCPSelectorHandler.RegisterChannelOperation - Class in com.sun.grizzly
 
TCPSelectorHandler.RegisterChannelOperation(SelectableChannel, int, Object) - Constructor for class com.sun.grizzly.TCPSelectorHandler.RegisterChannelOperation
 
TCPSelectorHandler.RegisterKeyOperation - Class in com.sun.grizzly
 
TCPSelectorHandler.RegisterKeyOperation(SelectionKey, int) - Constructor for class com.sun.grizzly.TCPSelectorHandler.RegisterKeyOperation
 
TCPSelectorHandler.RunnableOperation - Class in com.sun.grizzly
 
TCPSelectorHandler.RunnableOperation(Runnable) - Constructor for class com.sun.grizzly.TCPSelectorHandler.RunnableOperation
 
TCPSelectorHandler.SelectionKeyCancelOperation - Class in com.sun.grizzly
 
TCPSelectorHandler.SelectionKeyCancelOperation(SelectionKey) - Constructor for class com.sun.grizzly.TCPSelectorHandler.SelectionKeyCancelOperation
 
thisClassName() - Method in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
 
thisClassName() - Method in class com.sun.grizzly.connectioncache.impl.transport.InboundConnectionCacheBlockingImpl
 
thisClassName() - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl
 
threadPool - Variable in class com.sun.grizzly.Controller
Default Thread Pool (called ExecutorService).If not set, and instance of the DefaultThreadPool will be created.
threadPool - Variable in class com.sun.grizzly.TCPSelectorHandler
The ExecutorService used by this instance.
THROWABLE - Static variable in interface com.sun.grizzly.Context
Constant 'throwable' String
timeout - Variable in class com.sun.grizzly.DefaultSelectionKeyHandler
 
tmpResult - Variable in class com.sun.grizzly.async.AsyncQueue.AsyncQueueEntry
 
toString() - Method in class com.sun.grizzly.connectioncache.impl.transport.ConnectionCacheBase
 
toString() - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl.ConnectionState
 
toString() - Method in class com.sun.grizzly.PortRange
 
totalConnections() - Method in class com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl.CacheEntry
 
totalElementsCount - Variable in class com.sun.grizzly.async.AsyncQueue.AsyncQueueEntry
 
TRUST_FACTORY_MANAGER_ALGORITHM - Static variable in class com.sun.grizzly.SSLConfig
 
TRUST_STORE_FILE - Static variable in class com.sun.grizzly.SSLConfig
 
TRUST_STORE_PASSWORD - Static variable in class com.sun.grizzly.SSLConfig
 
TRUST_STORE_PROVIDER - Static variable in class com.sun.grizzly.SSLConfig
 
TRUST_STORE_TYPE - Static variable in class com.sun.grizzly.SSLConfig
 

U

UDP_SOCKETADDRESS - Static variable in class com.sun.grizzly.filter.ReadFilter
 
UDP_SOCKETADDRESS - Static variable in class com.sun.grizzly.filter.UDPReadFilter
Deprecated.  
UDP_SOCKETADDRESS - Static variable in class com.sun.grizzly.filter.UDPWriteFilter
 
UDPAsyncQueueReader - Class in com.sun.grizzly.async
 
UDPAsyncQueueReader(SelectorHandler) - Constructor for class com.sun.grizzly.async.UDPAsyncQueueReader
 
UDPAsyncQueueWriter - Class in com.sun.grizzly.async
UDP implementation of AsyncQueueWriter
UDPAsyncQueueWriter(SelectorHandler) - Constructor for class com.sun.grizzly.async.UDPAsyncQueueWriter
 
UDPConnectorHandler - Class in com.sun.grizzly
Client side interface used to implement non blocking client operation.
UDPConnectorHandler() - Constructor for class com.sun.grizzly.UDPConnectorHandler
 
UDPReadFilter - Class in com.sun.grizzly.filter
Deprecated. The ReadFilter can be used for both TCP and UDP.
UDPReadFilter() - Constructor for class com.sun.grizzly.filter.UDPReadFilter
Deprecated.  
UDPSelectorHandler - Class in com.sun.grizzly
A SelectorHandler handles all java.nio.channels.Selector operations.
UDPSelectorHandler() - Constructor for class com.sun.grizzly.UDPSelectorHandler
 
UDPSelectorHandler(boolean) - Constructor for class com.sun.grizzly.UDPSelectorHandler
 
UDPSelectorHandler(Role) - Constructor for class com.sun.grizzly.UDPSelectorHandler
 
UDPWriteFilter - Class in com.sun.grizzly.filter
Simple ProtocolFilter implementation which write the available bytes and delegate the processing to the next ProtocolFilter in the ProtocolChain.
UDPWriteFilter() - Constructor for class com.sun.grizzly.filter.UDPWriteFilter
 
underlyingChannel - Variable in class com.sun.grizzly.AbstractConnectorHandler
The connection's SelectableChannel.
useLeaderFollowerStrategy() - Method in class com.sun.grizzly.Controller
Is Leader/Follower strategy used?
useLeaderFollowerStrategy(boolean) - Method in class com.sun.grizzly.Controller
Set, if Leader/Follower strategy should be used.

V

validateConfiguration() - Method in class com.sun.grizzly.SSLConfig
Validates SSLConfig configuration.
validateConfiguration(boolean) - Method in class com.sun.grizzly.SSLConfig
Validates SSLConfig configuration.
value() - Method in interface com.sun.grizzly.connectioncache.spi.concurrent.ConcurrentQueue.Handle
Return the value that corresponds to this handle.
valueOf(String) - Static method in enum com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl.ConnectionStateValue
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.grizzly.Context.AttributeScope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.grizzly.Context.KeyRegistrationState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.grizzly.Context.OpType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.grizzly.Controller.Protocol
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.grizzly.DefaultProtocolChain.Phase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.sun.grizzly.PortRange
Parse a port range.
valueOf(String) - Static method in enum com.sun.grizzly.ProtocolChainInstruction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.grizzly.Role
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.grizzly.suspendable.SuspendableFilter.Suspend
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sun.grizzly.connectioncache.impl.transport.OutboundConnectionCacheBlockingImpl.ConnectionStateValue
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.grizzly.Context.AttributeScope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.grizzly.Context.KeyRegistrationState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.grizzly.Context.OpType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.grizzly.Controller.Protocol
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.grizzly.DefaultProtocolChain.Phase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.grizzly.ProtocolChainInstruction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.grizzly.Role
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sun.grizzly.suspendable.SuspendableFilter.Suspend
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitUntilSelectorHandlersStop() - Method in class com.sun.grizzly.Controller
Method waits until all initialized SelectorHandlers will not get stopped
workaroundSelectorSpin() - Method in interface com.sun.grizzly.LinuxSpinningWorkaround
Execute workaround for selector spin issue
workaroundSelectorSpin() - Method in class com.sun.grizzly.TCPSelectorHandler
Execute workaround for selector spin issue
write(ByteBuffer, boolean) - Method in class com.sun.grizzly.AbstractConnectorHandler
Writes bytes.
write(SelectionKey, ByteBuffer) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
write(SelectionKey, ByteBuffer, AsyncWriteCallbackHandler) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
write(SelectionKey, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
write(SelectionKey, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
write(SelectionKey, SocketAddress, ByteBuffer) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
write(SelectionKey, SocketAddress, ByteBuffer, AsyncWriteCallbackHandler) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
write(SelectionKey, SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
write(SelectionKey, SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in class com.sun.grizzly.async.AbstractAsyncQueueWriter
 
write(SelectionKey, ByteBuffer) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Method writes ByteBuffer to the SelectableChannel First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SelectableChannel directly (without putting to the queue).
write(SelectionKey, ByteBuffer, AsyncWriteCallbackHandler) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Method writes ByteBuffer to the SelectableChannel First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SelectableChannel directly (without putting to the queue).
write(SelectionKey, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Method writes ByteBuffer to the SelectableChannel First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SelectableChannel directly (without putting to the queue).
write(SelectionKey, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Method writes ByteBuffer to the SelectableChannel First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SelectableChannel directly (without putting to the queue).
write(SelectionKey, SocketAddress, ByteBuffer) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Method sends ByteBuffer to the SocketAddress First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SocketAddress directly (without putting to the queue).
write(SelectionKey, SocketAddress, ByteBuffer, AsyncWriteCallbackHandler) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Method sends ByteBuffer to the SocketAddress First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SocketAddress directly (without putting to the queue).
write(SelectionKey, SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Method sends ByteBuffer to the SocketAddress First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SocketAddress directly (without putting to the queue).
write(SelectionKey, SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in interface com.sun.grizzly.async.AsyncQueueWriter
Method sends ByteBuffer to the SocketAddress First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SocketAddress directly (without putting to the queue).
write(SelectionKey, SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in class com.sun.grizzly.async.TCPAsyncQueueWriter
Method sends ByteBuffer to the SocketAddress First, if SelectableChannel associated write queue is empty - it tries to write ByteBuffer to the given SocketAddress directly (without putting to the queue).
write(ByteBuffer, boolean) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
write(ByteBuffer, boolean) - Method in interface com.sun.grizzly.ConnectorHandler
Writes bytes.
write(ByteBuffer, boolean) - Method in class com.sun.grizzly.SSLConnectorHandler
Writes bytes.
writePreProcessor - Variable in class com.sun.grizzly.async.AsyncQueueWriteUnit
 
writeToAsyncQueue(ByteBuffer) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method writes ByteBuffer using async write queue.
writeToAsyncQueue(ByteBuffer, AsyncWriteCallbackHandler) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method writes ByteBuffer using async write queue.
writeToAsyncQueue(ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method writes ByteBuffer using async write queue.
writeToAsyncQueue(ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method writes ByteBuffer using async write queue.
writeToAsyncQueue(SocketAddress, ByteBuffer) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method sends ByteBuffer using async write queue.
writeToAsyncQueue(SocketAddress, ByteBuffer, AsyncWriteCallbackHandler) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method sends ByteBuffer using async write queue.
writeToAsyncQueue(SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method sends ByteBuffer using async write queue.
writeToAsyncQueue(SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in class com.sun.grizzly.AbstractConnectorHandler
Method sends ByteBuffer using async write queue.
writeToAsyncQueue(ByteBuffer) - Method in interface com.sun.grizzly.async.AsyncQueueWritable
Method writes ByteBuffer using async write queue.
writeToAsyncQueue(ByteBuffer, AsyncWriteCallbackHandler) - Method in interface com.sun.grizzly.async.AsyncQueueWritable
Method writes ByteBuffer using async write queue.
writeToAsyncQueue(ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor) - Method in interface com.sun.grizzly.async.AsyncQueueWritable
Method writes ByteBuffer using async write queue.
writeToAsyncQueue(ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in interface com.sun.grizzly.async.AsyncQueueWritable
Method writes ByteBuffer using async write queue.
writeToAsyncQueue(SocketAddress, ByteBuffer) - Method in interface com.sun.grizzly.async.AsyncQueueWritable
Method sends ByteBuffer using async write queue.
writeToAsyncQueue(SocketAddress, ByteBuffer, AsyncWriteCallbackHandler) - Method in interface com.sun.grizzly.async.AsyncQueueWritable
Method sends ByteBuffer using async write queue.
writeToAsyncQueue(SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor) - Method in interface com.sun.grizzly.async.AsyncQueueWritable
Method sends ByteBuffer using async write queue.
writeToAsyncQueue(SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in interface com.sun.grizzly.async.AsyncQueueWritable
Method sends ByteBuffer using async write queue.
writeToAsyncQueue(ByteBuffer) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
writeToAsyncQueue(ByteBuffer, AsyncWriteCallbackHandler) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
writeToAsyncQueue(ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
writeToAsyncQueue(ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
writeToAsyncQueue(SocketAddress, ByteBuffer) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
writeToAsyncQueue(SocketAddress, ByteBuffer, AsyncWriteCallbackHandler) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
writeToAsyncQueue(SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
writeToAsyncQueue(SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in class com.sun.grizzly.connectioncache.client.CacheableConnectorHandler
 
writeToAsyncQueue(ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in class com.sun.grizzly.SSLConnectorHandler
Method writes ByteBuffer using async write queue.
writeToAsyncQueue(SocketAddress, ByteBuffer, AsyncWriteCallbackHandler, AsyncQueueDataProcessor, ByteBufferCloner) - Method in class com.sun.grizzly.SSLConnectorHandler
Method sends ByteBuffer using async write queue.

A B C D E F G H I K L M N O P Q R S T U V W

Copyright © 2012 Oracle Corporation. All Rights Reserved.