@UnstableApi public class KQueueServerSocketChannelConfig extends KQueueServerChannelConfig implements io.netty.channel.socket.ServerSocketChannelConfig
getBacklog, getReceiveBufferSize, isReuseAddress
autoReadCleared, getRcvAllocTransportProvidesGuess
getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setAutoClose, setMaxMessagesPerWrite, setOptions, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBacklog, getReceiveBufferSize, isReuseAddress
getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setAutoClose, setOptions
public Map<io.netty.channel.ChannelOption<?>,Object> getOptions()
getOptions
in interface io.netty.channel.ChannelConfig
getOptions
in class KQueueServerChannelConfig
public <T> T getOption(io.netty.channel.ChannelOption<T> option)
getOption
in interface io.netty.channel.ChannelConfig
getOption
in class KQueueServerChannelConfig
public <T> boolean setOption(io.netty.channel.ChannelOption<T> option, T value)
setOption
in interface io.netty.channel.ChannelConfig
setOption
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setReusePort(boolean reusePort)
public boolean isReusePort()
public KQueueServerSocketChannelConfig setAcceptFilter(AcceptFilter acceptFilter)
public AcceptFilter getAcceptFilter()
public KQueueServerSocketChannelConfig setRcvAllocTransportProvidesGuess(boolean transportProvidesGuess)
KQueueChannelConfig
true
then the RecvByteBufAllocator.Handle#guess()
will be overridden to always attempt
to read as many bytes as kqueue says are available.setRcvAllocTransportProvidesGuess
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setReuseAddress(boolean reuseAddress)
setReuseAddress
in interface io.netty.channel.socket.ServerSocketChannelConfig
setReuseAddress
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setReceiveBufferSize(int receiveBufferSize)
setReceiveBufferSize
in interface io.netty.channel.socket.ServerSocketChannelConfig
setReceiveBufferSize
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth)
setPerformancePreferences
in interface io.netty.channel.socket.ServerSocketChannelConfig
setPerformancePreferences
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setBacklog(int backlog)
setBacklog
in interface io.netty.channel.socket.ServerSocketChannelConfig
setBacklog
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis
in interface io.netty.channel.ChannelConfig
setConnectTimeoutMillis
in interface io.netty.channel.socket.ServerSocketChannelConfig
setConnectTimeoutMillis
in class KQueueServerChannelConfig
@Deprecated public KQueueServerSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead
in interface io.netty.channel.ChannelConfig
setMaxMessagesPerRead
in interface io.netty.channel.socket.ServerSocketChannelConfig
setMaxMessagesPerRead
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount
in interface io.netty.channel.ChannelConfig
setWriteSpinCount
in interface io.netty.channel.socket.ServerSocketChannelConfig
setWriteSpinCount
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator
in interface io.netty.channel.ChannelConfig
setAllocator
in interface io.netty.channel.socket.ServerSocketChannelConfig
setAllocator
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator
in interface io.netty.channel.ChannelConfig
setRecvByteBufAllocator
in interface io.netty.channel.socket.ServerSocketChannelConfig
setRecvByteBufAllocator
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setAutoRead(boolean autoRead)
setAutoRead
in interface io.netty.channel.ChannelConfig
setAutoRead
in interface io.netty.channel.socket.ServerSocketChannelConfig
setAutoRead
in class KQueueServerChannelConfig
@Deprecated public KQueueServerSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
setWriteBufferHighWaterMark
in interface io.netty.channel.ChannelConfig
setWriteBufferHighWaterMark
in interface io.netty.channel.socket.ServerSocketChannelConfig
setWriteBufferHighWaterMark
in class KQueueServerChannelConfig
@Deprecated public KQueueServerSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
setWriteBufferLowWaterMark
in interface io.netty.channel.ChannelConfig
setWriteBufferLowWaterMark
in interface io.netty.channel.socket.ServerSocketChannelConfig
setWriteBufferLowWaterMark
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
setWriteBufferWaterMark
in interface io.netty.channel.ChannelConfig
setWriteBufferWaterMark
in interface io.netty.channel.socket.ServerSocketChannelConfig
setWriteBufferWaterMark
in class KQueueServerChannelConfig
public KQueueServerSocketChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator
in interface io.netty.channel.ChannelConfig
setMessageSizeEstimator
in interface io.netty.channel.socket.ServerSocketChannelConfig
setMessageSizeEstimator
in class KQueueServerChannelConfig
Copyright © 2008–2021 The Netty Project. All rights reserved.