public final class UDPNIOAsyncQueueWriter extends AbstractNIOAsyncQueueWriter
AsyncQueueWriter
implementation, based on
the Java NIOWriter.Reentrant
AsyncQueue.AsyncResult
EMPTY_RECORD_SPACE_VALUE, maxPendingBytes, maxWriteReentrants, transport
AUTO_SIZE, UNLIMITED_SIZE
EXPECTING_MORE_OPTION
Constructor and Description |
---|
UDPNIOAsyncQueueWriter(NIOTransport transport) |
Modifier and Type | Method and Description |
---|---|
protected void |
onReadyToWrite(NIOConnection connection) |
protected long |
write0(NIOConnection connection,
AsyncWriteQueueRecord queueRecord) |
aggregate, canWrite, canWrite, close, createRecord, getMaxPendingBytesPerConnection, isAllowDirectWrite, isReady, notifyWritePossible, notifyWritePossible, offerToTaskQueue, onClose, onWriteFailure, processAsync, setAllowDirectWrite, setMaxPendingBytesPerConnection, write, write, write
write, write, write, write
public UDPNIOAsyncQueueWriter(NIOTransport transport)
protected long write0(NIOConnection connection, AsyncWriteQueueRecord queueRecord) throws IOException
write0
in class AbstractNIOAsyncQueueWriter
IOException
protected final void onReadyToWrite(NIOConnection connection) throws IOException
onReadyToWrite
in class AbstractNIOAsyncQueueWriter
IOException
Copyright © 2014 Oracle Corporation. All rights reserved.