软件包 | 描述 |
---|---|
io.netty.channel.epoll |
为使用
EPOLL Edge-Triggered Mode获得最高性能的Linux优化传输。
|
Modifier and Type | Method and Description |
---|---|
EpollServerSocketChannelConfig |
EpollServerSocketChannel.config() |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setAutoRead(boolean autoRead) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setBacklog(int backlog) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setFreeBind(boolean freeBind)
|
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setIpTransparent(boolean transparent)
|
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
已过时。
|
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setPerformancePreferences(int connectionTime, int latency, int bandwidth) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setReuseAddress(boolean reuseAddress) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setReusePort(boolean reusePort)
在基础通道上设置SO_REUSEPORT选项。
|
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setTcpDeferAccept(int deferAccept)
在套接字上设置
TCP_DEFER_ACCEPT 选项。
|
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setTcpMd5Sig(java.util.Map<java.net.InetAddress,byte[]> keys)
在套接字上设置
TCP_MD5SIG 选项。
|
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
已过时。
|
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
已过时。
|
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setWriteSpinCount(int writeSpinCount) |
Copyright © 2008–2018 The Netty Project. All rights reserved.