| 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 | |
| IOUringSocketChannelConfig | back to summary |
|---|---|
| pack-priv IOUringSocketChannelConfig(Channel channel) | |
| 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 IOUringSocketChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setAllowHalfClosure | back to summary |
|---|---|
| public IOUringSocketChannelConfig 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 IOUringSocketChannelConfig setAutoClose(boolean autoClose) Overrides io. Implements io. Doc from io. Sets whether the
| |
| setAutoRead | back to summary |
|---|---|
| public IOUringSocketChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Sets if
| |
| setConnectTimeoutMillis | back to summary |
|---|---|
| public IOUringSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis) Overrides io. Implements io. Doc from io. Sets the connect timeout of the channel in milliseconds. If the
| |
| setIpTransparent | back to summary |
|---|---|
| public IOUringSocketChannelConfig setIpTransparent(boolean transparent) If | |
| setKeepAlive | back to summary |
|---|---|
| public IOUringSocketChannelConfig setKeepAlive(boolean keepAlive) Implements io. Doc from io. Sets the
| |
| setMaxMessagesPerRead | back to summary |
|---|---|
| public IOUringSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Overrides io. Implements io. Doc from io. Deprecated
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public IOUringSocketChannelConfig 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 IOUringSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth) Implements io. Doc from io. Sets the performance preferences as specified in
| |
| setReceiveBufferSize | back to summary |
|---|---|
| public IOUringSocketChannelConfig setReceiveBufferSize(int receiveBufferSize) Implements io. Doc from io. Sets the
| |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public IOUringSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setReuseAddress | back to summary |
|---|---|
| public IOUringSocketChannelConfig setReuseAddress(boolean reuseAddress) Implements io. Doc from io. Sets the
| |
| setSendBufferSize | back to summary |
|---|---|
| public IOUringSocketChannelConfig setSendBufferSize(int sendBufferSize) Implements io. Doc from io. Sets the
| |
| setSoBusyPoll | back to summary |
|---|---|
| public IOUringSocketChannelConfig setSoBusyPoll(int loopMicros) Set the | |
| setSoLinger | back to summary |
|---|---|
| public IOUringSocketChannelConfig setSoLinger(int soLinger) Implements io. Doc from io. Sets the
| |
| setTcpCork | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTcpCork(boolean tcpCork) Set the | |
| setTcpFastOpenConnect | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTcpFastOpenConnect(boolean fastOpenConnect) Enables client TCP fast open. See this LWN article for more info. | |
| setTcpKeepCnt | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTcpKeepCnt(int probes) Set the | |
| setTcpKeepCntl | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTcpKeepCntl(int probes)
Deprecated
| |
| setTcpKeepIdle | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTcpKeepIdle(int seconds) Set the | |
| setTcpKeepIntvl | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTcpKeepIntvl(int seconds) Set the | |
| setTcpNoDelay | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTcpNoDelay(boolean tcpNoDelay) Implements io. Doc from io. Sets the
| |
| setTcpNotSentLowAt | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTcpNotSentLowAt(long tcpNotSentLowAt) Set the
| |
| setTcpQuickAck | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTcpQuickAck(boolean quickAck) Set the | |
| setTcpUserTimeout | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTcpUserTimeout(int milliseconds) Set the | |
| setTrafficClass | back to summary |
|---|---|
| public IOUringSocketChannelConfig setTrafficClass(int trafficClass) Implements io. Doc from io. Sets the
| |
| setWriteBufferHighWaterMark | back to summary |
|---|---|
| public IOUringSocketChannelConfig 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 IOUringSocketChannelConfig 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 IOUringSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Overrides io. Implements io. Doc from io. Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public IOUringSocketChannelConfig setWriteSpinCount(int writeSpinCount) Overrides io. Implements io. Doc from io. Sets the maximum loop count for a write operation until
| |