|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AsyncQueueReadUnit | |
|---|---|
| com.sun.grizzly | |
| com.sun.grizzly.async | |
| com.sun.grizzly.connectioncache.client | |
| Uses of AsyncQueueReadUnit in com.sun.grizzly |
|---|
| Methods in com.sun.grizzly that return types with arguments of type AsyncQueueReadUnit | |
|---|---|
Future<AsyncQueueReadUnit> |
AbstractConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler)
Method reads data to the ByteBuffer using async read queue. |
Future<AsyncQueueReadUnit> |
AbstractConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition)
Method reads data to the ByteBuffer using async read queue. |
Future<AsyncQueueReadUnit> |
SSLConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor)
Method reads data to the ByteBuffer using async read queue.
First, if read queue is empty - it tries to read to the
ByteBuffer directly (without putting to the queue).
If associated read queue is not empty or after direct reading
ByteBuffer still has remaining place for next read -
ByteBuffer will be added to AsyncQueue.
If an exception occurs, during direct reading - it will be propagated
to the caller directly, otherwise, if the ByteBuffer is
added to a reading queue - exception notification will come via
AsyncReadCallbackHandler.onIOException() |
Future<AsyncQueueReadUnit> |
AbstractConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor)
Method reads data to the ByteBuffer using async read queue. |
| Uses of AsyncQueueReadUnit in com.sun.grizzly.async |
|---|
| Fields in com.sun.grizzly.async with type parameters of type AsyncQueueReadUnit | |
|---|---|
protected Future<AsyncQueueReadUnit> |
AsyncQueueReadUnit.future
|
| Methods in com.sun.grizzly.async with parameters of type AsyncQueueReadUnit | |
|---|---|
void |
AsyncReadCallbackHandler.onReadCompleted(SelectionKey key,
SocketAddress srcAddress,
AsyncQueueReadUnit readRecord)
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). |
| Method parameters in com.sun.grizzly.async with type arguments of type AsyncQueueReadUnit | |
|---|---|
void |
AsyncReadCallbackHandler.onException(Exception exception,
SelectionKey key,
ByteBuffer buffer,
Queue<AsyncQueueReadUnit> remainingQueue)
Method will be called by AsyncQueueReader, if
error occured when reading from the SelectableChannel,
which is associated with SelectionKey |
void |
AsyncQueueReadUnit.set(ByteBuffer byteBuffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor,
Future<AsyncQueueReadUnit> future)
|
void |
AsyncQueueReadUnit.setFuture(Future<AsyncQueueReadUnit> future)
|
| Uses of AsyncQueueReadUnit in com.sun.grizzly.connectioncache.client |
|---|
| Methods in com.sun.grizzly.connectioncache.client that return types with arguments of type AsyncQueueReadUnit | |
|---|---|
Future<AsyncQueueReadUnit> |
CacheableConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler)
|
Future<AsyncQueueReadUnit> |
CacheableConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition)
|
Future<AsyncQueueReadUnit> |
CacheableConnectorHandler.readFromAsyncQueue(ByteBuffer buffer,
AsyncReadCallbackHandler callbackHandler,
AsyncReadCondition condition,
AsyncQueueDataProcessor readPostProcessor)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||