| Access | Constructor and Description |
|---|---|
| pack-priv |
| EpollServerSocketChannelConfig | back to summary |
|---|---|
| pack-priv EpollServerSocketChannelConfig(EpollServerSocketChannel 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
| |
| getTcpDeferAccept | back to summary |
|---|---|
| public int getTcpDeferAccept() Returns a positive value if TCP_DEFER_ACCEPT is enabled. | |
| isFreeBind | back to summary |
|---|---|
| public boolean isFreeBind() Returns | |
| isIpTransparent | back to summary |
|---|---|
| public boolean isIpTransparent() Returns | |
| isReusePort | back to summary |
|---|---|
| public boolean isReusePort() Returns | |
| setAllocator | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setAutoRead | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Sets if
| |
| setBacklog | back to summary |
|---|---|
| public EpollServerSocketChannelConfig 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 EpollServerSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis) Overrides io. Implements io. Doc from io. Sets the connect timeout of the channel in milliseconds. If the
| |
| setFreeBind | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setFreeBind(boolean freeBind) If | |
| setIpTransparent | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setIpTransparent(boolean transparent) If | |
| setMaxMessagesPerRead | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Overrides io. Implements io. Doc from io. Deprecated
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public EpollServerSocketChannelConfig 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 EpollServerSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth) Overrides io. Implements io. Doc from io. Sets the performance preferences as specified in
| |
| setReceiveBufferSize | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setReceiveBufferSize(int receiveBufferSize) Overrides io. Implements io. Doc from io. Gets the
| |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Set the
| |
| setReuseAddress | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setReuseAddress(boolean reuseAddress) Overrides io. Implements io. Doc from io. Sets the
| |
| setReusePort | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setReusePort(boolean reusePort) Set the SO_REUSEPORT option on the underlying Channel. This will allow to bind multiple
| |
| setTcpDeferAccept | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setTcpDeferAccept(int deferAccept) Set the | |
| setTcpMd5Sig | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setTcpMd5Sig(Map<InetAddress, byte[]> keys) Set the | |
| setWriteBufferHighWaterMark | back to summary |
|---|---|
| public EpollServerSocketChannelConfig 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 EpollServerSocketChannelConfig 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 EpollServerSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Overrides io. Implements io. Doc from io. Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public EpollServerSocketChannelConfig setWriteSpinCount(int writeSpinCount) Overrides io. Implements io. Doc from io. Sets the maximum loop count for a write operation until
| |