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