private final class NioSocketChannel.NioSocketChannelUnsafe extends AbstractNioByteChannel.NioByteUnsafe
Modifier | Constructor and Description |
---|---|
private |
NioSocketChannelUnsafe() |
Modifier and Type | Method and Description |
---|---|
protected java.util.concurrent.Executor |
prepareToClose()
Prepares to close the
Channel . |
read
ch, connect, finishConnect, flush0, forceFlush, removeReadOp
annotateConnectException, beginRead, bind, close, closeForcibly, closeIfClosed, deregister, disconnect, ensureOpen, flush, localAddress, outboundBuffer, register, remoteAddress, safeSetFailure, safeSetSuccess, voidPromise, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beginRead, bind, close, closeForcibly, deregister, disconnect, flush, localAddress, outboundBuffer, register, remoteAddress, voidPromise, write
protected java.util.concurrent.Executor prepareToClose()
AbstractChannel.AbstractUnsafe
Channel
. If this method returns an Executor
, the
caller must call the Executor.execute(Runnable)
method with a task that calls
AbstractChannel.doClose()
on the returned Executor
. If this method returns null
,
AbstractChannel.doClose()
must be called from the caller thread. (i.e. EventLoop
)prepareToClose
in class AbstractChannel.AbstractUnsafe