| 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 | |
| KQueueSocketChannelConfig | back to summary |
|---|---|
| pack-priv KQueueSocketChannelConfig(KQueueSocketChannel channel) | |
| 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
| |
| getSndLowAt | back to summary |
|---|---|
| public int getSndLowAt() | |
| getSoLinger | back to summary |
|---|---|
| public int getSoLinger() Implements io. Doc from io. Gets 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
| |
| 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
| |
| isTcpFastOpenConnect | back to summary |
|---|---|
| public boolean isTcpFastOpenConnect() Returns | |
| isTcpNoDelay | back to summary |
|---|---|
| public boolean isTcpNoDelay() Implements io. Doc from io. Gets the
| |
| isTcpNoPush | back to summary |
|---|---|
| public boolean isTcpNoPush() | |
| setAllocator | back to summary |
|---|---|
| public KQueueSocketChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setAllowHalfClosure | back to summary |
|---|---|
| public KQueueSocketChannelConfig 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 KQueueSocketChannelConfig setAutoClose(boolean autoClose) Overrides io. Implements io. Doc from io. Sets whether the
| |
| setAutoRead | back to summary |
|---|---|
| public KQueueSocketChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Sets if
| |
| setConnectTimeoutMillis | back to summary |
|---|---|
| public KQueueSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis) Overrides io. Implements io. Doc from io. Sets the connect timeout of the channel in milliseconds. If the
| |
| setKeepAlive | back to summary |
|---|---|
| public KQueueSocketChannelConfig setKeepAlive(boolean keepAlive) Implements io. Doc from io. Sets the
| |
| setMaxMessagesPerRead | back to summary |
|---|---|
| public KQueueSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Overrides io. Implements io. Doc from io. Deprecated
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public KQueueSocketChannelConfig 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 KQueueSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth) Implements io. Doc from io. Sets the performance preferences as specified in
| |
| setRcvAllocTransportProvidesGuess | back to summary |
|---|---|
| public KQueueSocketChannelConfig setRcvAllocTransportProvidesGuess(boolean transportProvidesGuess) Overrides io. Doc from io. If this is
| |
| setReceiveBufferSize | back to summary |
|---|---|
| public KQueueSocketChannelConfig setReceiveBufferSize(int receiveBufferSize) Implements io. Doc from io. Sets the
| |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public KQueueSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setReuseAddress | back to summary |
|---|---|
| public KQueueSocketChannelConfig setReuseAddress(boolean reuseAddress) Implements io. Doc from io. Sets the
| |
| setSendBufferSize | back to summary |
|---|---|
| public KQueueSocketChannelConfig setSendBufferSize(int sendBufferSize) Implements io. Doc from io. Sets the
| |
| setSndLowAt | back to summary |
|---|---|
| public void setSndLowAt(int sndLowAt) | |
| setSoLinger | back to summary |
|---|---|
| public KQueueSocketChannelConfig setSoLinger(int soLinger) Implements io. Doc from io. Sets the
| |
| setTcpFastOpenConnect | back to summary |
|---|---|
| public KQueueSocketChannelConfig setTcpFastOpenConnect(boolean fastOpenConnect) Enables client TCP fast open, if available. | |
| setTcpNoDelay | back to summary |
|---|---|
| public KQueueSocketChannelConfig setTcpNoDelay(boolean tcpNoDelay) Implements io. Doc from io. Sets the
| |
| setTcpNoPush | back to summary |
|---|---|
| public void setTcpNoPush(boolean tcpNoPush) | |
| setTrafficClass | back to summary |
|---|---|
| public KQueueSocketChannelConfig setTrafficClass(int trafficClass) Implements io. Doc from io. Sets the
| |
| setWriteBufferHighWaterMark | back to summary |
|---|---|
| public KQueueSocketChannelConfig 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 KQueueSocketChannelConfig 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 KQueueSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Overrides io. Implements io. Doc from io. Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public KQueueSocketChannelConfig setWriteSpinCount(int writeSpinCount) Overrides io. Implements io. Doc from io. Sets the maximum loop count for a write operation until
| |