Class KQueueChannelConfig

    • Method Detail

      • getOptions

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

        public <T> T getOption​(io.netty.channel.ChannelOption<T> option)
        Specified by:
        getOption in interface io.netty.channel.ChannelConfig
        Overrides:
        getOption in class io.netty.channel.DefaultChannelConfig
      • 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 io.netty.channel.DefaultChannelConfig
      • setRcvAllocTransportProvidesGuess

        @Deprecated
        public KQueueChannelConfig setRcvAllocTransportProvidesGuess​(boolean transportProvidesGuess)
        Deprecated.
        will be removed and is ignored.
        If this is true then the RecvByteBufAllocator.Handle.guess() will be overridden to always attempt to read as many bytes as kqueue says are available.
      • getRcvAllocTransportProvidesGuess

        @Deprecated
        public boolean getRcvAllocTransportProvidesGuess()
        Deprecated.
        will be removed and is ignored.
        If this is true then the RecvByteBufAllocator.Handle.guess() will be overridden to always attempt to read as many bytes as kqueue says are available.
      • setConnectTimeoutMillis

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

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

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

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

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

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

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

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

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

        public KQueueChannelConfig setMessageSizeEstimator​(io.netty.channel.MessageSizeEstimator estimator)
        Specified by:
        setMessageSizeEstimator in interface io.netty.channel.ChannelConfig
        Overrides:
        setMessageSizeEstimator in class io.netty.channel.DefaultChannelConfig
      • autoReadCleared

        protected final void autoReadCleared()
        Overrides:
        autoReadCleared in class io.netty.channel.DefaultChannelConfig