Package org.glassfish.grizzly

Interface Summary
Appendable<T>  
Appender<E>  
Buffer JDK ByteBuffer was taken as base for Grizzly Buffer interface, but Buffer has several extensions: it's possible to prepend some data to a Buffer and release Buffer, when it's not required any more.
Cacheable  
ChangeListener<E>  
Closeable<E extends Closeable> General asynchronous closable interface.
Codec<K,L> Codec is able to transform the original message to a custom represantation and vise versa.
CompletionHandler<E> Interface, which will be used by Grizzly to notify about asynchronous I/O operations status updates.
Connection<L> Common interface, which represents any kind of connection.
Connection.CloseListener The listener, which is used to be notified, when Connection gets closed.
ConnectionProbe Monitoring probe providing callbacks that may be invoked by Grizzly Connection implementations.
ConnectorHandler<E> Client side connector handler API.
GrizzlyFuture<R> Grizzly Future implementation, which might be recycled and reused.
Interceptor<R> Handler, which is used to finer control Readable.
IOEventProcessingHandler The IOEvent processing handler, which will be notified about changes in IOEvent processing statuses.
IOStrategy strategy is responsible for making decision how Runnable task will be run: in current thread, worker thread.
Processor<E extends Context> Processor implementations are responsible for processing I/O events, which occur on connection.
ProcessorSelector Implementations of the interface will be responsible to find correct Processor, which will process IOEvent, occurred on the Connection
Readable<L> Implementations of this interface are able to read data from internal source to a Buffer.
Reader<L> Implementations of this interface are able to read data from Connection to a Buffer.
ReadHandler This class represents a call-back mechanism that will notify implementations as more input data becomes available to read without blocking.
Result Common I/O result interface.
SocketAcceptor Common interface for SocketAcceptor implementations.
SocketBinder<E> Common API for Socket based Transports, which are able to bind server Socket to specific address and listen for incoming data.
SocketConnectorHandler Socket based client side connector.
Transformer<K,L> Transformer interface, which knows how to transform the original data to some custom representation.
Transport Transport interface describes the transport unit used in Grizzly.
TransportProbe Monitoring probe providing callbacks that may be invoked by Grizzly Transport implementations.
Writable<L> Implementations of this interface are able to write data from a Buffer.
WriteHandler Callback notification mechanism that signals the developer it's possible to write content.
Writer<L> Implementations of this interface are able to write data from a Buffer to Connection.
 

Class Summary
AbstractBindingHandler<E>  
AbstractBindingHandler.Builder<E extends AbstractBindingHandler.Builder> Builder
AbstractReader<L> Abstract class, which provides transitive dependencies for overloaded Reader methods.
AbstractSocketConnectorHandler Abstract class simplifies the implementation of SocketConnectorHandler interface by pre-implementing some of its methods.
AbstractSocketConnectorHandler.Builder<E extends AbstractSocketConnectorHandler.Builder> Builder
AbstractTransformer<K,L>  
AbstractTransformer.LastResultAwareState<K,L>  
AbstractTransport Abstract Transport.
AbstractWriter<L> Abstract class, which provides transitive dependencies for overloaded Writer methods.
ChainProcessorSelector ProcessorSelector implementation, which acts like wrapper for chain of ProcessorSelectors.
ConnectionProbe.Adapter ConnectionProbe adapter that provides no-op implementations for all interface methods allowing easy extension by the developer.
Context Object, which is responsible for holding context during I/O event processing.
DefaultProcessorSelector Default ProcessorSelector implementation, which uses Connection's Processor preferences.
EmptyCompletionHandler<E> Empty implementation for CompletionHandler interface.
EmptyIOEventProcessingHandler Empty IOEventProcessingHandler implementation.
FileTransfer A simple class that abstracts FileChannel.transferTo(long, long, java.nio.channels.WritableByteChannel) for use with Grizzly 2.0 AsyncQueueWriter.
Grizzly Class contains information about Grizzly framework.
NIOTransportBuilder<T extends NIOTransportBuilder> This builder is responsible for creating NIOTransport implementations as well as providing basic configuration for IOStrategies and thread pools.
PortRange Immutable class representing a port range.
ProcessorExecutor  
ProcessorResult The interface represents the result of Processor execution.
ReadResult<K,L> Result of read operation, returned by Readable.
StandaloneProcessor Processor, which is not interested in processing I/O events.
StandaloneProcessorSelector ProcessorSelector, which doesn't add any Processor to process occurred IOEvent.
ThreadCache  
ThreadCache.CachedTypeIndex<E>  
ThreadCache.ObjectCache  
ThreadCache.ObjectCacheElement  
TransformationResult<I,O> Represents the result of message encoding/decoding.
TransportProbe.Adapter TransportProbe adapter that provides no-op implementations for all interface methods allowing easy extension by the developer.
WriteResult<K,L> Result of write operation, returned by Writable.
 

Enum Summary
Connection.CloseType  
IOEvent Enumeration represents the I/O events, occurred on a Connection.
ProcessorResult.Status Enumeration represents the status/code of ProcessorResult.
TransformationResult.Status  
Transport.State  
 

Exception Summary
PendingWriteQueueLimitExceededException Thrown when an attempt is made to add a AsyncWriteQueueRecord that exceeds the configured maximum queue size.
TransformationException Describes the problem, occured during original message transformation.
 



Copyright © 2013 Oracle Corporation. All Rights Reserved.