软件包 | 描述 |
---|---|
io.netty.channel.socket.oio |
旧阻塞基于I / O的套接字通道API实现 - 建议少量连接(<1000)。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultOioSocketChannelConfig
|
Modifier and Type | Method and Description |
---|---|
OioSocketChannelConfig |
OioSocketChannel.config() |
OioSocketChannelConfig |
OioSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
OioSocketChannelConfig |
OioSocketChannelConfig.setAllowHalfClosure(boolean allowHalfClosure) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setAllowHalfClosure(boolean allowHalfClosure) |
OioSocketChannelConfig |
OioSocketChannelConfig.setAutoClose(boolean autoClose) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setAutoClose(boolean autoClose) |
OioSocketChannelConfig |
OioSocketChannelConfig.setAutoRead(boolean autoRead) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setAutoRead(boolean autoRead) |
OioSocketChannelConfig |
OioSocketChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
OioSocketChannelConfig |
OioSocketChannelConfig.setKeepAlive(boolean keepAlive) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setKeepAlive(boolean keepAlive) |
OioSocketChannelConfig |
OioSocketChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
已过时。
|
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
已过时。
|
OioSocketChannelConfig |
OioSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
OioSocketChannelConfig |
OioSocketChannelConfig.setPerformancePreferences(int connectionTime, int latency, int bandwidth) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setPerformancePreferences(int connectionTime, int latency, int bandwidth) |
OioSocketChannelConfig |
OioSocketChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
OioSocketChannelConfig |
OioSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
OioSocketChannelConfig |
OioSocketChannelConfig.setReuseAddress(boolean reuseAddress) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setReuseAddress(boolean reuseAddress) |
OioSocketChannelConfig |
OioSocketChannelConfig.setSendBufferSize(int sendBufferSize) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setSendBufferSize(int sendBufferSize) |
OioSocketChannelConfig |
OioSocketChannelConfig.setSoLinger(int soLinger) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setSoLinger(int soLinger) |
OioSocketChannelConfig |
OioSocketChannelConfig.setSoTimeout(int timeout)
设置底层套接字上的操作可能会阻止的最大时间。
|
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setSoTimeout(int timeout) |
OioSocketChannelConfig |
OioSocketChannelConfig.setTcpNoDelay(boolean tcpNoDelay) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setTcpNoDelay(boolean tcpNoDelay) |
OioSocketChannelConfig |
OioSocketChannelConfig.setTrafficClass(int trafficClass) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setTrafficClass(int trafficClass) |
OioSocketChannelConfig |
OioSocketChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
OioSocketChannelConfig |
OioSocketChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
OioSocketChannelConfig |
OioSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
OioSocketChannelConfig |
OioSocketChannelConfig.setWriteSpinCount(int writeSpinCount) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setWriteSpinCount(int writeSpinCount) |
Copyright © 2008–2018 The Netty Project. All rights reserved.