Deprecated
use NIO / EPOLL / KQUEUE transport.
ServerSocketChannelConfig
for a OioServerSocketChannel
.
ServerSocketChannelConfig
,
OioServerSocketChannelConfig
allows the following options in the
option map:
Name | Associated setter method |
---|---|
ChannelOption#SO_TIMEOUT | setSoTimeout(int) |
getSoTimeout | back to summary |
---|---|
public int getSoTimeout() Returns the maximal time a operation on the underlying socket may block. |
setAllocator | back to summary |
---|---|
public OioServerSocketChannelConfig setAllocator(ByteBufAllocator allocator) Redeclares io. Doc from io. Deprecated as a consequence of Set the
|
setAutoClose | back to summary |
---|---|
public OioServerSocketChannelConfig setAutoClose(boolean autoClose) Redeclares io. Doc from io. Deprecated as a consequence of Sets whether the
|
setAutoRead | back to summary |
---|---|
public OioServerSocketChannelConfig setAutoRead(boolean autoRead) Redeclares io. Doc from io. Deprecated as a consequence of Sets if
|
setBacklog | back to summary |
---|---|
public OioServerSocketChannelConfig setBacklog(int backlog) Redeclares io. Doc from io. Deprecated as a consequence of Sets the backlog value to specify when the channel binds to a local address.
|
setConnectTimeoutMillis | back to summary |
---|---|
public OioServerSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis) Redeclares io. Doc from io. Deprecated as a consequence of Sets the connect timeout of the channel in milliseconds. If the
|
setMaxMessagesPerRead | back to summary |
---|---|
public OioServerSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Redeclares io. Deprecated
|
setMessageSizeEstimator | back to summary |
---|---|
public OioServerSocketChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator) Redeclares io. Doc from io. Deprecated as a consequence of Set the
|
setPerformancePreferences | back to summary |
---|---|
public OioServerSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth) Redeclares io. Doc from io. Deprecated as a consequence of Sets the performance preferences as specified in
|
setReceiveBufferSize | back to summary |
---|---|
public OioServerSocketChannelConfig setReceiveBufferSize(int receiveBufferSize) Redeclares io. Doc from io. Deprecated as a consequence of Gets the
|
setRecvByteBufAllocator | back to summary |
---|---|
public OioServerSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Redeclares io. Doc from io. Deprecated as a consequence of Set the
|
setReuseAddress | back to summary |
---|---|
public OioServerSocketChannelConfig setReuseAddress(boolean reuseAddress) Redeclares io. Doc from io. Deprecated as a consequence of Sets the
|
setSoTimeout | back to summary |
---|---|
public OioServerSocketChannelConfig setSoTimeout(int timeout)
Deprecated as a consequence of Sets the maximal time a operation on the underlying socket may block. |
setWriteBufferHighWaterMark | back to summary |
---|---|
public OioServerSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark) Redeclares io. Doc from io. Deprecated as a consequence of
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 OioServerSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark) Redeclares io. Doc from io. Deprecated as a consequence of
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 OioServerSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Redeclares io. Doc from io. Deprecated as a consequence of Set the
|
setWriteSpinCount | back to summary |
---|---|
public OioServerSocketChannelConfig setWriteSpinCount(int writeSpinCount) Redeclares io. Doc from io. Deprecated as a consequence of Sets the maximum loop count for a write operation until
|