| Access | Constructor and Description |
|---|---|
| pack-priv |
| KQueueServerSocketChannelConfig | back to summary |
|---|---|
| pack-priv KQueueServerSocketChannelConfig(KQueueServerSocketChannel channel) | |
| getAcceptFilter | back to summary |
|---|---|
| public AcceptFilter getAcceptFilter() | |
| 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
| |
| isReusePort | back to summary |
|---|---|
| public boolean isReusePort() | |
| setAcceptFilter | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setAcceptFilter(AcceptFilter acceptFilter) | |
| setAllocator | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setAutoRead | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Sets if
| |
| setBacklog | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setBacklog(int backlog) Overrides io. Implements io. Doc from io. Sets the backlog value to specify when the channel binds to a local address.
| |
| setConnectTimeoutMillis | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis) Overrides io. Implements io. Doc from io. Sets the connect timeout of the channel in milliseconds. If the
| |
| setMaxMessagesPerRead | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Overrides io. Implements io. Doc from io. Deprecated
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig 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 KQueueServerSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth) Overrides io. Implements io. Doc from io. Sets the performance preferences as specified in
| |
| setRcvAllocTransportProvidesGuess | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setRcvAllocTransportProvidesGuess(boolean transportProvidesGuess) Overrides io. Doc from io. If this is
| |
| setReceiveBufferSize | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setReceiveBufferSize(int receiveBufferSize) Overrides io. Implements io. Doc from io. Gets the
| |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setReuseAddress | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setReuseAddress(boolean reuseAddress) Overrides io. Implements io. Doc from io. Sets the
| |
| setReusePort | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setReusePort(boolean reusePort) | |
| setTcpFastOpen | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setTcpFastOpen(boolean enableTcpFastOpen) Overrides io. Doc from io. Enables TCP FastOpen on the server channel. If the underlying os doesn't support TCP_FASTOPEN setting this has no effect. This has to be set before doing listen on the socket otherwise this takes no effect.
| |
| setWriteBufferHighWaterMark | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig 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 KQueueServerSocketChannelConfig 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 KQueueServerSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Overrides io. Implements io. Doc from io. Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public KQueueServerSocketChannelConfig setWriteSpinCount(int writeSpinCount) Overrides io. Implements io. Doc from io. Sets the maximum loop count for a write operation until
| |