软件包 | 描述 |
---|---|
io.netty.channel.epoll |
针对linux的优化传输,使用
EPOLL Edge-Triggered Mode获得最高性能。
|
Modifier and Type | Method and Description |
---|---|
EpollDatagramChannelConfig |
EpollDatagramChannel.config() |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setAllocator(ByteBufAllocator allocator) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setAutoClose(boolean autoClose) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setAutoRead(boolean autoRead) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setBroadcast(boolean broadcast) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setEpollMode(EpollMode mode) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setInterface(java.net.InetAddress interfaceAddress) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
已过时。
|
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setNetworkInterface(java.net.NetworkInterface networkInterface) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setReuseAddress(boolean reuseAddress) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setReusePort(boolean reusePort)
在基础通道上设置SO_REUSEPORT选项。
|
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setSendBufferSize(int sendBufferSize) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setTimeToLive(int ttl) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setTrafficClass(int trafficClass) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
已过时。
|
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
已过时。
|
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setWriteSpinCount(int writeSpinCount) |
Copyright © 2008–2018 The Netty Project. All rights reserved.