Deprecated
use NIO / EPOLL / KQUEUE transport.
OioSocketChannelConfig implementation
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | DefaultOioSocketChannelConfig(OioSocketChannel channel, Socket javaSocket)
Deprecated
as a consequence of
OioSocketChannel being deprecated.
|
| DefaultOioSocketChannelConfig | back to summary |
|---|---|
| public DefaultOioSocketChannelConfig(SocketChannel channel, Socket javaSocket)
Deprecated
| |
| DefaultOioSocketChannelConfig | back to summary |
|---|---|
| pack-priv DefaultOioSocketChannelConfig(OioSocketChannel channel, Socket 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 OioSocketChannelConfig setAllocator(ByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Set the
| |
| setAllowHalfClosure | back to summary |
|---|---|
| public OioSocketChannelConfig setAllowHalfClosure(boolean allowHalfClosure) Overrides io. Implements io. Doc from io. Deprecated as a consequence of 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 OioSocketChannelConfig setAutoClose(boolean autoClose) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets whether the
| |
| setAutoRead | back to summary |
|---|---|
| public OioSocketChannelConfig setAutoRead(boolean autoRead) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets if
| |
| setConnectTimeoutMillis | back to summary |
|---|---|
| public OioSocketChannelConfig 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
| |
| setKeepAlive | back to summary |
|---|---|
| public OioSocketChannelConfig setKeepAlive(boolean keepAlive) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setMaxMessagesPerRead | back to summary |
|---|---|
| public OioSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead) Overrides io. Implements io. Doc from io. Deprecated
| |
| setMessageSizeEstimator | back to summary |
|---|---|
| public OioSocketChannelConfig 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 OioSocketChannelConfig 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 OioSocketChannelConfig setReceiveBufferSize(int receiveBufferSize) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setRecvByteBufAllocator | back to summary |
|---|---|
| public OioSocketChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Set the
| |
| setReuseAddress | back to summary |
|---|---|
| public OioSocketChannelConfig setReuseAddress(boolean reuseAddress) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setSendBufferSize | back to summary |
|---|---|
| public OioSocketChannelConfig setSendBufferSize(int sendBufferSize) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setSoLinger | back to summary |
|---|---|
| public OioSocketChannelConfig setSoLinger(int soLinger) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setSoTimeout | back to summary |
|---|---|
| public OioSocketChannelConfig 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.
| |
| setTcpNoDelay | back to summary |
|---|---|
| public OioSocketChannelConfig setTcpNoDelay(boolean tcpNoDelay) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setTrafficClass | back to summary |
|---|---|
| public OioSocketChannelConfig setTrafficClass(int trafficClass) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Sets the
| |
| setWriteBufferHighWaterMark | back to summary |
|---|---|
| public OioSocketChannelConfig 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 OioSocketChannelConfig 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 OioSocketChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Overrides io. Implements io. Doc from io. Deprecated as a consequence of Set the
| |
| setWriteSpinCount | back to summary |
|---|---|
| public OioSocketChannelConfig 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
| |