Class EpollDomainSocketChannelConfig

  • All Implemented Interfaces:
    io.netty.channel.ChannelConfig, io.netty.channel.socket.DuplexChannelConfig, io.netty.channel.unix.DomainSocketChannelConfig

    public final class EpollDomainSocketChannelConfig
    extends EpollChannelConfig
    implements io.netty.channel.unix.DomainSocketChannelConfig, io.netty.channel.socket.DuplexChannelConfig
    • Method Detail

      • getOptions

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

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

        @Deprecated
        public EpollDomainSocketChannelConfig setMaxMessagesPerRead​(int maxMessagesPerRead)
        Deprecated.
        Specified by:
        setMaxMessagesPerRead in interface io.netty.channel.ChannelConfig
        Specified by:
        setMaxMessagesPerRead in interface io.netty.channel.unix.DomainSocketChannelConfig
        Specified by:
        setMaxMessagesPerRead in interface io.netty.channel.socket.DuplexChannelConfig
        Overrides:
        setMaxMessagesPerRead in class EpollChannelConfig
      • setConnectTimeoutMillis

        public EpollDomainSocketChannelConfig setConnectTimeoutMillis​(int connectTimeoutMillis)
        Specified by:
        setConnectTimeoutMillis in interface io.netty.channel.ChannelConfig
        Specified by:
        setConnectTimeoutMillis in interface io.netty.channel.unix.DomainSocketChannelConfig
        Overrides:
        setConnectTimeoutMillis in class EpollChannelConfig
      • setWriteSpinCount

        public EpollDomainSocketChannelConfig setWriteSpinCount​(int writeSpinCount)
        Specified by:
        setWriteSpinCount in interface io.netty.channel.ChannelConfig
        Specified by:
        setWriteSpinCount in interface io.netty.channel.unix.DomainSocketChannelConfig
        Specified by:
        setWriteSpinCount in interface io.netty.channel.socket.DuplexChannelConfig
        Overrides:
        setWriteSpinCount in class EpollChannelConfig
      • setRecvByteBufAllocator

        public EpollDomainSocketChannelConfig setRecvByteBufAllocator​(io.netty.channel.RecvByteBufAllocator allocator)
        Specified by:
        setRecvByteBufAllocator in interface io.netty.channel.ChannelConfig
        Specified by:
        setRecvByteBufAllocator in interface io.netty.channel.unix.DomainSocketChannelConfig
        Specified by:
        setRecvByteBufAllocator in interface io.netty.channel.socket.DuplexChannelConfig
        Overrides:
        setRecvByteBufAllocator in class EpollChannelConfig
      • setAllocator

        public EpollDomainSocketChannelConfig setAllocator​(io.netty.buffer.ByteBufAllocator allocator)
        Specified by:
        setAllocator in interface io.netty.channel.ChannelConfig
        Specified by:
        setAllocator in interface io.netty.channel.unix.DomainSocketChannelConfig
        Specified by:
        setAllocator in interface io.netty.channel.socket.DuplexChannelConfig
        Overrides:
        setAllocator in class EpollChannelConfig
      • setAutoClose

        public EpollDomainSocketChannelConfig setAutoClose​(boolean autoClose)
        Specified by:
        setAutoClose in interface io.netty.channel.ChannelConfig
        Specified by:
        setAutoClose in interface io.netty.channel.unix.DomainSocketChannelConfig
        Specified by:
        setAutoClose in interface io.netty.channel.socket.DuplexChannelConfig
        Overrides:
        setAutoClose in class io.netty.channel.DefaultChannelConfig
      • setMessageSizeEstimator

        public EpollDomainSocketChannelConfig setMessageSizeEstimator​(io.netty.channel.MessageSizeEstimator estimator)
        Specified by:
        setMessageSizeEstimator in interface io.netty.channel.ChannelConfig
        Specified by:
        setMessageSizeEstimator in interface io.netty.channel.unix.DomainSocketChannelConfig
        Specified by:
        setMessageSizeEstimator in interface io.netty.channel.socket.DuplexChannelConfig
        Overrides:
        setMessageSizeEstimator in class EpollChannelConfig
      • setWriteBufferWaterMark

        public EpollDomainSocketChannelConfig setWriteBufferWaterMark​(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
        Specified by:
        setWriteBufferWaterMark in interface io.netty.channel.ChannelConfig
        Specified by:
        setWriteBufferWaterMark in interface io.netty.channel.unix.DomainSocketChannelConfig
        Specified by:
        setWriteBufferWaterMark in interface io.netty.channel.socket.DuplexChannelConfig
        Overrides:
        setWriteBufferWaterMark in class EpollChannelConfig
      • setAutoRead

        public EpollDomainSocketChannelConfig setAutoRead​(boolean autoRead)
        Specified by:
        setAutoRead in interface io.netty.channel.ChannelConfig
        Specified by:
        setAutoRead in interface io.netty.channel.unix.DomainSocketChannelConfig
        Specified by:
        setAutoRead in interface io.netty.channel.socket.DuplexChannelConfig
        Overrides:
        setAutoRead in class EpollChannelConfig
      • setReadMode

        public EpollDomainSocketChannelConfig setReadMode​(io.netty.channel.unix.DomainSocketReadMode mode)
        Specified by:
        setReadMode in interface io.netty.channel.unix.DomainSocketChannelConfig
      • getReadMode

        public io.netty.channel.unix.DomainSocketReadMode getReadMode()
        Specified by:
        getReadMode in interface io.netty.channel.unix.DomainSocketChannelConfig
      • isAllowHalfClosure

        public boolean isAllowHalfClosure()
        Specified by:
        isAllowHalfClosure in interface io.netty.channel.socket.DuplexChannelConfig
      • setAllowHalfClosure

        public EpollDomainSocketChannelConfig setAllowHalfClosure​(boolean allowHalfClosure)
        Specified by:
        setAllowHalfClosure in interface io.netty.channel.socket.DuplexChannelConfig
      • getSendBufferSize

        public int getSendBufferSize()
      • getReceiveBufferSize

        public int getReceiveBufferSize()