| Modifier and Type | Class and Description |
|---|---|
| private class | |
| pack-priv class | |
| private class | |
| private class | |
| protected abstract class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private WritableByteChannel | |
| private static final String | |
| private final Runnable | |
| private static final InternalLogger | |
| private static final ChannelMetadata | |
| private FileDescriptor | |
| private FileDescriptor | |
| private volatile Queue |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| pack-priv | |
| pack-priv | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| protected void | |
| protected final void | doShutdownOutput()
Overrides io. |
| protected void | doWrite(ChannelOutboundBuffer in)
Implements abstract io. |
| private int | Returns: The value that should be decremented from the write quantum which starts atChannelConfig#getWriteSpinCount(). The typical use cases are as follows:
the collection which contains objects to write. in)Attempt to write multiple |
| protected int | Returns: The value that should be decremented from the write quantum which starts atChannelConfig#getWriteSpinCount(). The typical use cases are as follows:
the collection which contains objects to write. in)Attempt to write a single object. |
| private void | |
| protected Object | filterOutboundMessage(Object msg)
Overrides io. ChannelOutboundBuffer of this AbstractChannel, so that
the Channel implementation converts the message to another.
|
| public boolean | isInputShutdown()
Implements io. true if and only if the remote peer shut down its output so that no more
data is received from this channel.
|
| public boolean | |
| public boolean | isShutdown()
Implements io. |
| public ChannelMetadata | metadata()
Overrides io. Implements io. ChannelMetadata of the Channel which describe the nature of the Channel.
|
| protected AbstractEpollChannel. | newUnsafe()
Implements abstract io. AbstractUnsafe instance which will be used for the life-time of the Channel
|
| private static void | |
| public ChannelFuture | shutdown()
Implements io. |
| public ChannelFuture | shutdown(final ChannelPromise
will be completed when both shutdown operations complete. promise)Implements io. |
| private static void | shutdownDone(ChannelFuture shutdownOutputFuture, ChannelFuture shutdownInputFuture, ChannelPromise promise)
|
| public ChannelFuture | |
| public ChannelFuture | shutdownInput(final ChannelPromise promise)
Implements io. ChannelPromise.
|
| private void | |
| public ChannelFuture | |
| public ChannelFuture | shutdownOutput(final ChannelPromise promise)
Implements io. ChannelPromise.
|
| private void | |
| public final ChannelFuture | spliceTo(final AbstractEpollStreamChannel ch, final int len)
Splice from this |
| public final ChannelFuture | spliceTo(final AbstractEpollStreamChannel ch, final int len, final ChannelPromise promise)
Splice from this |
| public final ChannelFuture | spliceTo(final FileDescriptor ch, final int offset, final int len)
Splice from this |
| public final ChannelFuture | spliceTo(final FileDescriptor ch, final int offset, final int len, final ChannelPromise promise)
Splice from this |
| private int | Returns: The value that should be decremented from the write quantum which starts atChannelConfig#getWriteSpinCount(). The typical use cases are as follows:
the collection which contains objects to write. in, ByteBuf the buf)ByteBuf from which the bytes should be writtenWrite bytes form the given |
| private int | Returns: The value that should be decremented from the write quantum which starts atChannelConfig#getWriteSpinCount(). The typical use cases are as follows:
the collection which contains objects to write. in, IovArray The array which contains the content to write. array)Write multiple bytes via |
| private int | Returns: The value that should be decremented from the write quantum which starts atChannelConfig#getWriteSpinCount(). The typical use cases are as follows:
the collection which contains objects to write. in, ByteBuffer[] The buffers to write. nioBuffers, int The number of buffers to write. nioBufferCnt, long The number of bytes we expect to write. expectedWrittenBytes, long The maximum number of bytes we should attempt to write. maxBytesPerGatheringWrite)Write multiple bytes via |
| private int | Returns: The value that should be decremented from the write quantum which starts atChannelConfig#getWriteSpinCount(). The typical use cases are as follows:
the collection which contains objects to write. in, DefaultFileRegion the region)DefaultFileRegion from which the bytes should be writtenWrite a |
| private int | Returns: The value that should be decremented from the write quantum which starts atChannelConfig#getWriteSpinCount(). The typical use cases are as follows:
the collection which contains objects to write. in, FileRegion the region)FileRegion from which the bytes should be writtenWrite a |