| Modifier and Type | Field and Description |
|---|---|
| private volatile long |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| maxBytesPerGatheringWrite | back to summary |
|---|---|
| private volatile long maxBytesPerGatheringWrite | |
| EpollChannelConfig | back to summary |
|---|---|
| protected EpollChannelConfig(Channel channel) | |
| EpollChannelConfig | back to summary |
|---|---|
| protected EpollChannelConfig(Channel channel, RecvByteBufAllocator recvByteBufAllocator) | |
| autoReadCleared | back to summary |
|---|---|
| protected final void autoReadCleared() Overrides io. Doc from io. Is called once
| |
| checkAbstractEpollChannel | back to summary |
|---|---|
| private static Channel checkAbstractEpollChannel(Channel channel) | |
| checkChannelNotRegistered | back to summary |
|---|---|
| private void checkChannelNotRegistered() | |
| getEpollMode | back to summary |
|---|---|
| public EpollMode getEpollMode() Return the | |
| getMaxBytesPerGatheringWrite | back to summary |
|---|---|
| protected final long getMaxBytesPerGatheringWrite() | |
| getOption | back to summary |
|---|---|
| public <T> T getOption(ChannelOption<T> option) Overrides io. Implements io. Doc from io. Return the value of the given
| |
| getOptions | back to summary |
|---|---|
| public Map Overrides io. Implements io. Doc from io. Return all set
| |
| setAllocator | back to summary |
|---|---|
| public EpollChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setAutoRead | back to summary |
|---|---|
| public EpollChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Sets if
| |
| setConnectTimeoutMillis | back to summary |
|---|---|
| public EpollChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis) Overrides io. Implements io. Doc from io. Sets the connect timeout of the channel in milliseconds. If the
| |
| setEpollMode | back to summary |
|---|---|
| public EpollChannelConfig setEpollMode(EpollMode mode) Set the | |
| setMaxBytesPerGatheringWrite | back to summary |
|---|---|
| protected final void setMaxBytesPerGatheringWrite(long maxBytesPerGatheringWrite) | |
| setMaxMessagesPerRead | back to summary |
|---|---|
| public EpollChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Overrides io. Implements io. Doc from io. Deprecated
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public EpollChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator) Overrides io. Implements io. Doc from io. Set the
| |
| setOption | back to summary |
|---|---|
| public <T> boolean setOption(ChannelOption<T> option, T value) Overrides io. Implements io. Doc from io. Sets a configuration property with the specified name and value. To override this method properly, you must call the super class:
public boolean setOption(ChannelOption<T> option, T value) {
if (super.setOption(option, value)) {
return true;
}
if (option.equals(additionalOption)) {
....
return true;
}
return false;
}
| |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public EpollChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setWriteBufferHighWaterMark | back to summary |
|---|---|
| public EpollChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark) Overrides io. Implements io. Doc from io. Deprecated
Sets the high water mark of the write buffer. If the number of bytes
queued in the write buffer exceeds this value,
| |
| setWriteBufferLowWaterMark | back to summary |
|---|---|
| public EpollChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark) Overrides io. Implements io. Doc from io. Deprecated
Sets the low water mark of the write buffer. Once the number of bytes
queued in the write buffer exceeded the
high water mark and then
dropped down below this value,
| |
| setWriteBufferWaterMark | back to summary |
|---|---|
| public EpollChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Overrides io. Implements io. Doc from io. Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public EpollChannelConfig setWriteSpinCount(int writeSpinCount) Overrides io. Implements io. Doc from io. Sets the maximum loop count for a write operation until
| |
| socket | back to summary |
|---|---|
| protected LinuxSocket socket() | |