程序包 | 说明 |
---|---|
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
限定符和类型 | 方法和说明 |
---|---|
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.setSoBusyPoll(int loopMicros)
Set the
SO_BUSY_POLL option on the socket. |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setSoLinger(int soLinger) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpCork(boolean tcpCork)
Set the
TCP_CORK option on the socket. |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpFastOpenConnect(boolean fastOpenConnect)
Enables client TCP fast open.
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpKeepCnt(int probes)
Set the
TCP_KEEPCNT option on the socket. |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpKeepCntl(int probes)
已过时。
|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpKeepIdle(int seconds)
Set the
TCP_KEEPIDLE option on the socket. |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpKeepIntvl(int seconds)
Set the
TCP_KEEPINTVL option on the socket. |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpMd5Sig(java.util.Map<java.net.InetAddress,byte[]> keys)
Set the
TCP_MD5SIG option on the socket. |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpNoDelay(boolean tcpNoDelay) |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpNotSentLowAt(long tcpNotSentLowAt)
Set the
TCP_NOTSENT_LOWAT option on the socket. |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpQuickAck(boolean quickAck)
Set the
TCP_QUICKACK option on the socket. |
EpollSocketChannelConfig |
EpollSocketChannelConfig.setTcpUserTimeout(int milliseconds)
Set the
TCP_USER_TIMEOUT option on the socket. |
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) |