Deprecated
use NIO / EPOLL / KQUEUE transport.
OioServerSocketChannelConfig implementation
| Access | Constructor and Description |
|---|---|
| public | DefaultOioServerSocketChannelConfig(ServerSocketChannel channel, ServerSocket javaSocket)
Deprecated
|
| pack-priv | DefaultOioServerSocketChannelConfig(OioServerSocketChannel channel, ServerSocket javaSocket)
Deprecated
as a consequence of
OioServerSocketChannel being deprecated.
|
| DefaultOioServerSocketChannelConfig | back to summary |
|---|---|
| public DefaultOioServerSocketChannelConfig(ServerSocketChannel channel, ServerSocket javaSocket)
Deprecated
| |
| DefaultOioServerSocketChannelConfig | back to summary |
|---|---|
| pack-priv DefaultOioServerSocketChannelConfig(OioServerSocketChannel channel, ServerSocket javaSocket)
Deprecated as a consequence of | |
| autoReadCleared | back to summary |
|---|---|
| protected void autoReadCleared() Overrides io. Doc from io. Is called once
| |
| 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
| |
| getSoTimeout | back to summary |
|---|---|
| public int getSoTimeout() Implements io. Doc from io. Returns the maximal time a operation on the underlying socket may block.
| |
| setAllocator | back to summary |
|---|---|
| public OioServerSocketChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Set the
| |
| setAutoClose | back to summary |
|---|---|
| public OioServerSocketChannelConfig setAutoClose(boolean autoClose) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets whether the
| |
| setAutoRead | back to summary |
|---|---|
| public OioServerSocketChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets if
| |
| setBacklog | back to summary |
|---|---|
| public OioServerSocketChannelConfig setBacklog(int backlog) Overrides io. Implements 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) Overrides io. Implements 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) Overrides io. Implements io. Doc from io. Deprecated
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public OioServerSocketChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator) Overrides io. Implements io. Doc from io. Deprecated as a consequence of 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 OioServerSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth) Overrides io. Implements 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) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Gets the
| |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public OioServerSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Set the
| |
| setReuseAddress | back to summary |
|---|---|
| public OioServerSocketChannelConfig setReuseAddress(boolean reuseAddress) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setSoTimeout | back to summary |
|---|---|
| public OioServerSocketChannelConfig setSoTimeout(int timeout) Implements io. Doc from io. 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) Overrides io. Implements 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) Overrides io. Implements 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) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public OioServerSocketChannelConfig setWriteSpinCount(int writeSpinCount) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the maximum loop count for a write operation until
| |