public final class UDPNIOAsyncQueueWriter extends AbstractNIOAsyncQueueWriter
AsyncQueueWriter
implementation, based on
the Java NIOWriter.Reentrant
AsyncQueue.AsyncResult
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 RecordWriteResult |
write0(NIOConnection connection,
AsyncWriteQueueRecord queueRecord) |
aggregate, canWrite, canWrite, close, createRecord, getMaxPendingBytesPerConnection, isAllowDirectWrite, isReady, notifyWritePossible, notifyWritePossible, onClose, onWriteFailure, processAsync, setAllowDirectWrite, setMaxPendingBytesPerConnection, write, write, write
write, write, write, write
public UDPNIOAsyncQueueWriter(NIOTransport transport)
protected RecordWriteResult 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 © 2015 Oracle Corporation. All rights reserved.