程序包 | 说明 |
---|---|
io.netty.channel.kqueue |
BSD specific transport.
|
限定符和类型 | 方法和说明 |
---|---|
KQueueSocketChannelConfig |
KQueueSocketChannel.config() |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setAllocator(ByteBufAllocator allocator) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setAllowHalfClosure(boolean allowHalfClosure) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setAutoClose(boolean autoClose) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setAutoRead(boolean autoRead) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setKeepAlive(boolean keepAlive) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
已过时。
|
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setPerformancePreferences(int connectionTime,
int latency,
int bandwidth) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setRcvAllocTransportProvidesGuess(boolean transportProvidesGuess) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setReceiveBufferSize(int receiveBufferSize) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setReuseAddress(boolean reuseAddress) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setSendBufferSize(int sendBufferSize) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setSoLinger(int soLinger) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setTcpFastOpenConnect(boolean fastOpenConnect)
Enables client TCP fast open, if available.
|
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setTcpNoDelay(boolean tcpNoDelay) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setTrafficClass(int trafficClass) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
已过时。
|
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
已过时。
|
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setWriteSpinCount(int writeSpinCount) |