软件包 | 描述 |
---|---|
io.netty.channel.epoll |
为使用
EPOLL Edge-Triggered Mode获得最高性能的Linux优化传输。
|
Modifier and Type | Method and Description |
---|---|
EpollSocketChannelConfig |
EpollSocketChannel.config() |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setAllowHalfClosure(boolean allowHalfClosure) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setAutoClose(boolean autoClose) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setAutoRead(boolean autoRead) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setEpollMode(EpollMode mode) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setIpTransparent(boolean transparent)
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setKeepAlive(boolean keepAlive) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
已过时。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setPerformancePreferences(int connectionTime, int latency, int bandwidth) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setReuseAddress(boolean reuseAddress) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setSendBufferSize(int sendBufferSize) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setSoLinger(int soLinger) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpCork(boolean tcpCork)
在套接字上设置
TCP_CORK 选项。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpFastOpenConnect(boolean fastOpenConnect)
在套接字上设置
TCP_FASTOPEN_CONNECT 选项。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpKeepCnt(int probes)
在插座上设置
TCP_KEEPCNT 选项。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpKeepCntl(int probes)
已过时。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpKeepIdle(int seconds)
在套接字上设置
TCP_KEEPIDLE 选项。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpKeepIntvl(int seconds)
在套接字上设置
TCP_KEEPINTVL 选项。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpMd5Sig(java.util.Map<java.net.InetAddress,byte[]> keys)
在套接字上设置
TCP_MD5SIG 选项。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpNoDelay(boolean tcpNoDelay) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpNotSentLowAt(long tcpNotSentLowAt)
在套接字上设置
TCP_NOTSENT_LOWAT 选项。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpQuickAck(boolean quickAck)
在套接字上设置
TCP_QUICKACK 选项。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpUserTimeout(int milliseconds)
在套接字上设置
TCP_USER_TIMEOUT 选项。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTrafficClass(int trafficClass) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
已过时。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
已过时。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setWriteSpinCount(int writeSpinCount) |
Copyright © 2008–2018 The Netty Project. All rights reserved.