Top Interfaces Classes
module org.glassfish.grizzly

Package org.glassfish.grizzly.asyncqueue


Interface Summary

Modifier and TypeInterface and Description
public interface
AsyncQueue

Common interface for AsyncQueue processors.

public interface
AsyncQueueEnabledTransport

Interface, which Transports should implement if they support AsyncQueues.

public interface
AsyncQueueIO<L>

Class encapsulates asynchronous queue implementation: AsyncQueueReader, AsyncQueueWriter.

public interface
AsyncQueueReader<L>

The AsyncQueue, which implements asynchronous read queue.

public interface
AsyncQueueWriter<
the destination address type
L
>

The AsyncQueue, which implements asynchronous write queue.

public interface
MessageCloner<E>

Cloner, which will be called by AsyncQueueWriter, when message could not be written directly, and will be added to the queue.

public interface
PushBackHandler

Deprecated push back logic is deprecated.
Callback handler, which will be called by Grizzly org.glassfish.grizzly.Writer implementation, if message can not be neither written nor added to write queue at the moment due to I/O or memory limitations.
public interface
WritableMessage

Common interface for entities that may be written to a java.nio.channels.Channel.

Class Summary

Modifier and TypeClass and Description
public abstract class
AsyncQueueRecord<
the result type
R
>

AsyncQueue element unit

public class
public class
public abstract class
PushBackContext

Deprecated push back logic is deprecated.
Context being passed when org.glassfish.grizzly.Writer refuses to accept passed WritableMessage due to I/O or memory limitations.
public class
RecordReadResult<K, L>

Read result associated with a AsyncWriteQueueRecord.

public class
RecordWriteResult<K, L>

Write result associated with a AsyncWriteQueueRecord.

public class
TaskQueue<E extends AsyncQueueRecord<R>>

Class represents common implementation of asynchronous processing queue.