Interface | Description |
---|---|
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 |
General asynchronous closable interface.
|
CloseListener<T extends Closeable,C extends ICloseType> |
The listener, which is used to be notified, when Connection gets closed.
|
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 | Deprecated
use
CloseListener |
ConnectionProbe |
Monitoring probe providing callbacks that may be invoked by Grizzly
Connection implementations. |
ConnectorHandler<E> |
Client side connector handler API.
|
GenericCloseListener | Deprecated |
GracefulShutdownListener |
Interface to notify interested parties that a
Transport is being
shutdown. |
GrizzlyFuture<R> |
Grizzly
Future implementation. |
ICloseType | Deprecated |
InputSource |
This interface defines methods to allow an
InputStream or
Reader to notify the developer when and how much
data is ready to be read without blocking. |
Interceptor<R> |
Handler, which is used to finer control
Readable . |
IOEventProcessingHandler | |
IOStrategy |
strategy is responsible for making decision how
Runnable task will be run: in current thread, worker thread. |
OutputSink |
This interface defines methods to allow an
OutputStream or
Writer to allow the developer to check with the runtime
whether or not it's possible to write a certain amount of data, or if it's
not possible, to be notified when it is. |
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.
|
ShutdownContext |
This class will be passed to
GracefulShutdownListener instances
registered against a Transport . |
SocketAcceptor |
Common interface for SocketAcceptor implementations.
|
SocketBinder | |
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. |
Writeable<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 | Description |
---|---|
AbstractBindingHandler | |
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 ProcessorSelector s. |
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 | |
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.
|
IOEventProcessingHandler.Adapter |
Empty
IOEventProcessingHandler implementation. |
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 | |
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. |
Writer.Reentrant |
Write reentrants counter
|
WriteResult<K,L> |
Result of write operation, returned by
Writeable . |
Enum | Description |
---|---|
CloseType | |
Connection.CloseType | Deprecated
use
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 | Description |
---|---|
PendingWriteQueueLimitExceededException |
Thrown when an attempt is made to add a record that exceeds
the configured maximum queue size.
|
TransformationException |
Describes the problem, occured during original message transformation.
|
Copyright © 2014 Oracle Corporation. All rights reserved.