Class EpollSocketChannel.EpollSocketChannelUnsafe
java.lang.Object
io.netty.channel.AbstractChannel.AbstractUnsafe
io.netty.channel.epoll.AbstractEpollChannel.AbstractEpollUnsafe
io.netty.channel.epoll.AbstractEpollStreamChannel.EpollStreamUnsafe
io.netty.channel.epoll.EpollSocketChannel.EpollSocketChannelUnsafe
- All Implemented Interfaces:
Channel.Unsafe, EpollIoHandle, IoHandle, java.lang.AutoCloseable
- Enclosing class:
EpollSocketChannel
private final class EpollSocketChannel.EpollSocketChannelUnsafe
extends AbstractEpollStreamChannel.EpollStreamUnsafe
-
Field Summary
Fields inherited from class AbstractEpollChannel.AbstractEpollUnsafe
readPending -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected java.util.concurrent.ExecutorPrepares to close theChannel.Methods inherited from class AbstractEpollStreamChannel.EpollStreamUnsafe
epollInReady, newEpollHandleMethods inherited from class AbstractEpollChannel.AbstractEpollUnsafe
channel, clearEpollIn0, close, connect, epollOutReady, epollRdHupReady, fd, flush0, handle, recvBufAllocHandle, shouldStopReading, shutdownInputMethods inherited from class AbstractChannel.AbstractUnsafe
annotateConnectException, beginRead, bind, close, close, closeForcibly, closeIfClosed, deregister, disconnect, ensureOpen, flush, handleWriteError, localAddress, outboundBuffer, register, remoteAddress, safeSetFailure, safeSetSuccess, shutdownOutput, voidPromise, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IoHandle
registered, unregistered
-
Constructor Details
-
EpollSocketChannelUnsafe
private EpollSocketChannelUnsafe()
-
-
Method Details
-
prepareToClose
protected java.util.concurrent.Executor prepareToClose()Description copied from class:AbstractChannel.AbstractUnsafePrepares to close theChannel. If this method returns anExecutor, the caller must call theExecutor.execute(Runnable)method with a task that callsAbstractChannel.doClose()on the returnedExecutor. If this method returnsnull,AbstractChannel.doClose()must be called from the caller thread. (i.e.EventLoop)- Overrides:
prepareToClosein classAbstractEpollStreamChannel.EpollStreamUnsafe
-