Class KQueueServerChannelConfig

  • All Implemented Interfaces:
    io.netty.channel.ChannelConfig, io.netty.channel.socket.ServerSocketChannelConfig
    Direct Known Subclasses:
    KQueueServerSocketChannelConfig

    @UnstableApi
    public class KQueueServerChannelConfig
    extends KQueueChannelConfig
    implements io.netty.channel.socket.ServerSocketChannelConfig
    • Method Detail

      • getOptions

        public java.util.Map<io.netty.channel.ChannelOption<?>,​java.lang.Object> getOptions()
        Specified by:
        getOptions in interface io.netty.channel.ChannelConfig
        Overrides:
        getOptions in class KQueueChannelConfig
      • getOption

        public <T> T getOption​(io.netty.channel.ChannelOption<T> option)
        Specified by:
        getOption in interface io.netty.channel.ChannelConfig
        Overrides:
        getOption in class KQueueChannelConfig
      • setOption

        public <T> boolean setOption​(io.netty.channel.ChannelOption<T> option,
                                     T value)
        Specified by:
        setOption in interface io.netty.channel.ChannelConfig
        Overrides:
        setOption in class KQueueChannelConfig
      • isReuseAddress

        public boolean isReuseAddress()
        Specified by:
        isReuseAddress in interface io.netty.channel.socket.ServerSocketChannelConfig
      • setReuseAddress

        public KQueueServerChannelConfig setReuseAddress​(boolean reuseAddress)
        Specified by:
        setReuseAddress in interface io.netty.channel.socket.ServerSocketChannelConfig
      • getReceiveBufferSize

        public int getReceiveBufferSize()
        Specified by:
        getReceiveBufferSize in interface io.netty.channel.socket.ServerSocketChannelConfig
      • setReceiveBufferSize

        public KQueueServerChannelConfig setReceiveBufferSize​(int receiveBufferSize)
        Specified by:
        setReceiveBufferSize in interface io.netty.channel.socket.ServerSocketChannelConfig
      • getBacklog

        public int getBacklog()
        Specified by:
        getBacklog in interface io.netty.channel.socket.ServerSocketChannelConfig
      • setBacklog

        public KQueueServerChannelConfig setBacklog​(int backlog)
        Specified by:
        setBacklog in interface io.netty.channel.socket.ServerSocketChannelConfig
      • setPerformancePreferences

        public KQueueServerChannelConfig setPerformancePreferences​(int connectionTime,
                                                                   int latency,
                                                                   int bandwidth)
        Specified by:
        setPerformancePreferences in interface io.netty.channel.socket.ServerSocketChannelConfig
      • setConnectTimeoutMillis

        public KQueueServerChannelConfig setConnectTimeoutMillis​(int connectTimeoutMillis)
        Specified by:
        setConnectTimeoutMillis in interface io.netty.channel.ChannelConfig
        Specified by:
        setConnectTimeoutMillis in interface io.netty.channel.socket.ServerSocketChannelConfig
        Overrides:
        setConnectTimeoutMillis in class KQueueChannelConfig
      • setMaxMessagesPerRead

        @Deprecated
        public KQueueServerChannelConfig setMaxMessagesPerRead​(int maxMessagesPerRead)
        Deprecated.
        Specified by:
        setMaxMessagesPerRead in interface io.netty.channel.ChannelConfig
        Specified by:
        setMaxMessagesPerRead in interface io.netty.channel.socket.ServerSocketChannelConfig
        Overrides:
        setMaxMessagesPerRead in class KQueueChannelConfig
      • setWriteSpinCount

        public KQueueServerChannelConfig setWriteSpinCount​(int writeSpinCount)
        Specified by:
        setWriteSpinCount in interface io.netty.channel.ChannelConfig
        Specified by:
        setWriteSpinCount in interface io.netty.channel.socket.ServerSocketChannelConfig
        Overrides:
        setWriteSpinCount in class KQueueChannelConfig
      • setAllocator

        public KQueueServerChannelConfig setAllocator​(io.netty.buffer.ByteBufAllocator allocator)
        Specified by:
        setAllocator in interface io.netty.channel.ChannelConfig
        Specified by:
        setAllocator in interface io.netty.channel.socket.ServerSocketChannelConfig
        Overrides:
        setAllocator in class KQueueChannelConfig
      • setRecvByteBufAllocator

        public KQueueServerChannelConfig setRecvByteBufAllocator​(io.netty.channel.RecvByteBufAllocator allocator)
        Specified by:
        setRecvByteBufAllocator in interface io.netty.channel.ChannelConfig
        Specified by:
        setRecvByteBufAllocator in interface io.netty.channel.socket.ServerSocketChannelConfig
        Overrides:
        setRecvByteBufAllocator in class KQueueChannelConfig
      • setAutoRead

        public KQueueServerChannelConfig setAutoRead​(boolean autoRead)
        Specified by:
        setAutoRead in interface io.netty.channel.ChannelConfig
        Specified by:
        setAutoRead in interface io.netty.channel.socket.ServerSocketChannelConfig
        Overrides:
        setAutoRead in class KQueueChannelConfig
      • setWriteBufferHighWaterMark

        @Deprecated
        public KQueueServerChannelConfig setWriteBufferHighWaterMark​(int writeBufferHighWaterMark)
        Deprecated.
        Specified by:
        setWriteBufferHighWaterMark in interface io.netty.channel.ChannelConfig
        Specified by:
        setWriteBufferHighWaterMark in interface io.netty.channel.socket.ServerSocketChannelConfig
        Overrides:
        setWriteBufferHighWaterMark in class KQueueChannelConfig
      • setWriteBufferLowWaterMark

        @Deprecated
        public KQueueServerChannelConfig setWriteBufferLowWaterMark​(int writeBufferLowWaterMark)
        Deprecated.
        Specified by:
        setWriteBufferLowWaterMark in interface io.netty.channel.ChannelConfig
        Specified by:
        setWriteBufferLowWaterMark in interface io.netty.channel.socket.ServerSocketChannelConfig
        Overrides:
        setWriteBufferLowWaterMark in class KQueueChannelConfig
      • setWriteBufferWaterMark

        public KQueueServerChannelConfig setWriteBufferWaterMark​(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
        Specified by:
        setWriteBufferWaterMark in interface io.netty.channel.ChannelConfig
        Specified by:
        setWriteBufferWaterMark in interface io.netty.channel.socket.ServerSocketChannelConfig
        Overrides:
        setWriteBufferWaterMark in class KQueueChannelConfig
      • setMessageSizeEstimator

        public KQueueServerChannelConfig setMessageSizeEstimator​(io.netty.channel.MessageSizeEstimator estimator)
        Specified by:
        setMessageSizeEstimator in interface io.netty.channel.ChannelConfig
        Specified by:
        setMessageSizeEstimator in interface io.netty.channel.socket.ServerSocketChannelConfig
        Overrides:
        setMessageSizeEstimator in class KQueueChannelConfig