public interface XnioServerSocketChannelConfig
extends io.netty.channel.socket.ServerSocketChannelConfig
ServerSocketChannelConfig
which expose configuration settings which are specific to the XNIO transport.getBacklog, getReceiveBufferSize, isReuseAddress
getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getOption, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOption, setOptions
XnioServerSocketChannelConfig setConnectionHighWater(int connectionHighWater)
XnioChannelOption#CONNECTION_HIGH_WATER}
int getConnectionHighWater()
XnioChannelOption#CONNECTION_HIGH_WATER}
XnioServerSocketChannelConfig setConnectionLowWater(int connectionLowWater)
XnioChannelOption#CONNECTION_LOW_WATER}
int getConnectionLowWater()
XnioChannelOption#CONNECTION_LOW_WATER}
XnioServerSocketChannelConfig setBalancingTokens(int balancingTokens)
XnioChannelOption#BALANCING_TOKENS}
int getBalancingTokens()
XnioChannelOption#BALANCING_TOKENS}
XnioServerSocketChannelConfig setBalancingConnections(int connections)
XnioChannelOption#BALANCING_CONNECTIONS}
int getBalancingConnections()
XnioChannelOption#BALANCING_CONNECTIONS}
XnioServerSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis
in interface io.netty.channel.ChannelConfig
setConnectTimeoutMillis
in interface io.netty.channel.socket.ServerSocketChannelConfig
XnioServerSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead
in interface io.netty.channel.ChannelConfig
setMaxMessagesPerRead
in interface io.netty.channel.socket.ServerSocketChannelConfig
XnioServerSocketChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount
in interface io.netty.channel.ChannelConfig
setWriteSpinCount
in interface io.netty.channel.socket.ServerSocketChannelConfig
XnioServerSocketChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator
in interface io.netty.channel.ChannelConfig
setAllocator
in interface io.netty.channel.socket.ServerSocketChannelConfig
XnioServerSocketChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator
in interface io.netty.channel.ChannelConfig
setRecvByteBufAllocator
in interface io.netty.channel.socket.ServerSocketChannelConfig
XnioServerSocketChannelConfig setAutoRead(boolean autoRead)
setAutoRead
in interface io.netty.channel.ChannelConfig
setAutoRead
in interface io.netty.channel.socket.ServerSocketChannelConfig
@Deprecated XnioServerSocketChannelConfig setAutoClose(boolean autoClose)
setAutoClose
in interface io.netty.channel.ChannelConfig
XnioServerSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
setWriteBufferHighWaterMark
in interface io.netty.channel.ChannelConfig
XnioServerSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
setWriteBufferLowWaterMark
in interface io.netty.channel.ChannelConfig
XnioServerSocketChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator
in interface io.netty.channel.ChannelConfig
setMessageSizeEstimator
in interface io.netty.channel.socket.ServerSocketChannelConfig
XnioServerSocketChannelConfig setBacklog(int backlog)
setBacklog
in interface io.netty.channel.socket.ServerSocketChannelConfig
XnioServerSocketChannelConfig setReuseAddress(boolean reuseAddress)
setReuseAddress
in interface io.netty.channel.socket.ServerSocketChannelConfig
XnioServerSocketChannelConfig setReceiveBufferSize(int receiveBufferSize)
setReceiveBufferSize
in interface io.netty.channel.socket.ServerSocketChannelConfig
XnioServerSocketChannelConfig setPerformancePreferences(int connectionTime, int latency, int bandwidth)
setPerformancePreferences
in interface io.netty.channel.socket.ServerSocketChannelConfig
Copyright © 2013–2016 JBoss, a division of Red Hat. All rights reserved.