| Modifier and Type | Field and Description |
|---|---|
| private volatile boolean | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| allowHalfClosure | back to summary |
|---|---|
| private volatile boolean allowHalfClosure | |
| tcpFastopen | back to summary |
|---|---|
| private volatile boolean tcpFastopen | |
| EpollSocketChannelConfig | back to summary |
|---|---|
| pack-priv EpollSocketChannelConfig(EpollSocketChannel channel) Creates a new instance. | |
| calculateMaxBytesPerGatheringWrite | back to summary |
|---|---|
| private void calculateMaxBytesPerGatheringWrite() | |
| 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
| |
| getReceiveBufferSize | back to summary |
|---|---|
| public int getReceiveBufferSize() Implements io. Doc from io. Gets the
| |
| getSendBufferSize | back to summary |
|---|---|
| public int getSendBufferSize() Implements io. Doc from io. Gets the
| |
| getSoBusyPoll | back to summary |
|---|---|
| public int getSoBusyPoll() Get the | |
| getSoLinger | back to summary |
|---|---|
| public int getSoLinger() Implements io. Doc from io. Gets the
| |
| getTcpKeepCnt | back to summary |
|---|---|
| public int getTcpKeepCnt() Get the | |
| getTcpKeepIdle | back to summary |
|---|---|
| public int getTcpKeepIdle() Get the | |
| getTcpKeepIntvl | back to summary |
|---|---|
| public int getTcpKeepIntvl() Get the | |
| getTcpNotSentLowAt | back to summary |
|---|---|
| public long getTcpNotSentLowAt() Get the
| |
| getTcpUserTimeout | back to summary |
|---|---|
| public int getTcpUserTimeout() Get the | |
| getTrafficClass | back to summary |
|---|---|
| public int getTrafficClass() Implements io. Doc from io. Gets the
| |
| isAllowHalfClosure | back to summary |
|---|---|
| public boolean isAllowHalfClosure() Implements io. Doc from io. Returns
| |
| isIpTransparent | back to summary |
|---|---|
| public boolean isIpTransparent() Returns | |
| isKeepAlive | back to summary |
|---|---|
| public boolean isKeepAlive() Implements io. Doc from io. Gets the
| |
| isReuseAddress | back to summary |
|---|---|
| public boolean isReuseAddress() Implements io. Doc from io. Gets the
| |
| isTcpCork | back to summary |
|---|---|
| public boolean isTcpCork() Get the | |
| isTcpFastOpenConnect | back to summary |
|---|---|
| public boolean isTcpFastOpenConnect() Returns | |
| isTcpNoDelay | back to summary |
|---|---|
| public boolean isTcpNoDelay() Implements io. Doc from io. Gets the
| |
| isTcpQuickAck | back to summary |
|---|---|
| public boolean isTcpQuickAck() Returns | |
| setAllocator | back to summary |
|---|---|
| public EpollSocketChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setAllowHalfClosure | back to summary |
|---|---|
| public EpollSocketChannelConfig setAllowHalfClosure(boolean allowHalfClosure) Implements io. Doc from io. Sets whether the channel should not close itself when its remote peer shuts down output to
make the connection half-closed. If
| |
| setAutoClose | back to summary |
|---|---|
| public EpollSocketChannelConfig setAutoClose(boolean autoClose) Overrides io. Implements io. Doc from io. Sets whether the
| |
| setAutoRead | back to summary |
|---|---|
| public EpollSocketChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Sets if
| |
| setConnectTimeoutMillis | back to summary |
|---|---|
| public EpollSocketChannelConfig 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 EpollSocketChannelConfig setEpollMode(EpollMode mode) Overrides io. Doc from io. Set the
| |
| setIpTransparent | back to summary |
|---|---|
| public EpollSocketChannelConfig setIpTransparent(boolean transparent) If | |
| setKeepAlive | back to summary |
|---|---|
| public EpollSocketChannelConfig setKeepAlive(boolean keepAlive) Implements io. Doc from io. Sets the
| |
| setMaxMessagesPerRead | back to summary |
|---|---|
| public EpollSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Overrides io. Implements io. Doc from io. Deprecated
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public EpollSocketChannelConfig 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;
}
| |
| setPerformancePreferences | back to summary |
|---|---|
| public EpollSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth) Implements io. Doc from io. Sets the performance preferences as specified in
| |
| setReceiveBufferSize | back to summary |
|---|---|
| public EpollSocketChannelConfig setReceiveBufferSize(int receiveBufferSize) Implements io. Doc from io. Sets the
| |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public EpollSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setReuseAddress | back to summary |
|---|---|
| public EpollSocketChannelConfig setReuseAddress(boolean reuseAddress) Implements io. Doc from io. Sets the
| |
| setSendBufferSize | back to summary |
|---|---|
| public EpollSocketChannelConfig setSendBufferSize(int sendBufferSize) Implements io. Doc from io. Sets the
| |
| setSoBusyPoll | back to summary |
|---|---|
| public EpollSocketChannelConfig setSoBusyPoll(int loopMicros) Set the | |
| setSoLinger | back to summary |
|---|---|
| public EpollSocketChannelConfig setSoLinger(int soLinger) Implements io. Doc from io. Sets the
| |
| setTcpCork | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpCork(boolean tcpCork) Set the | |
| setTcpFastOpenConnect | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpFastOpenConnect(boolean fastOpenConnect) Enables client TCP fast open. | |
| setTcpKeepCnt | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpKeepCnt(int probes) Set the | |
| setTcpKeepCntl | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpKeepCntl(int probes)
Deprecated
| |
| setTcpKeepIdle | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpKeepIdle(int seconds) Set the | |
| setTcpKeepIntvl | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpKeepIntvl(int seconds) Set the | |
| setTcpMd5Sig | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpMd5Sig(Map<InetAddress, byte[]> keys) Set the | |
| setTcpNoDelay | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpNoDelay(boolean tcpNoDelay) Implements io. Doc from io. Sets the
| |
| setTcpNotSentLowAt | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpNotSentLowAt(long tcpNotSentLowAt) Set the
| |
| setTcpQuickAck | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpQuickAck(boolean quickAck) Set the | |
| setTcpUserTimeout | back to summary |
|---|---|
| public EpollSocketChannelConfig setTcpUserTimeout(int milliseconds) Set the | |
| setTrafficClass | back to summary |
|---|---|
| public EpollSocketChannelConfig setTrafficClass(int trafficClass) Implements io. Doc from io. Sets the
| |
| setWriteBufferHighWaterMark | back to summary |
|---|---|
| public EpollSocketChannelConfig 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 EpollSocketChannelConfig 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 EpollSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Overrides io. Implements io. Doc from io. Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public EpollSocketChannelConfig setWriteSpinCount(int writeSpinCount) Overrides io. Implements io. Doc from io. Sets the maximum loop count for a write operation until
| |