public final class EpollDomainSocketChannelConfig extends EpollChannelConfig implements DomainSocketChannelConfig
autoReadCleared, getEpollModegetAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptions, validatepublic Map<io.netty.channel.ChannelOption<?>,Object> getOptions()
getOptions in interface io.netty.channel.ChannelConfiggetOptions in class EpollChannelConfigpublic <T> T getOption(io.netty.channel.ChannelOption<T> option)
getOption in interface io.netty.channel.ChannelConfiggetOption in class EpollChannelConfigpublic <T> boolean setOption(io.netty.channel.ChannelOption<T> option,
T value)
setOption in interface io.netty.channel.ChannelConfigsetOption in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead in interface io.netty.channel.ChannelConfigsetMaxMessagesPerRead in interface DomainSocketChannelConfigsetMaxMessagesPerRead in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis in interface io.netty.channel.ChannelConfigsetConnectTimeoutMillis in interface DomainSocketChannelConfigsetConnectTimeoutMillis in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount in interface io.netty.channel.ChannelConfigsetWriteSpinCount in interface DomainSocketChannelConfigsetWriteSpinCount in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator in interface io.netty.channel.ChannelConfigsetRecvByteBufAllocator in interface DomainSocketChannelConfigsetRecvByteBufAllocator in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator in interface io.netty.channel.ChannelConfigsetAllocator in interface DomainSocketChannelConfigsetAllocator in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setAutoClose(boolean autoClose)
setAutoClose in interface io.netty.channel.ChannelConfigsetAutoClose in interface DomainSocketChannelConfigsetAutoClose in class io.netty.channel.DefaultChannelConfigpublic EpollDomainSocketChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator in interface io.netty.channel.ChannelConfigsetMessageSizeEstimator in interface DomainSocketChannelConfigsetMessageSizeEstimator in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
setWriteBufferLowWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferLowWaterMark in interface DomainSocketChannelConfigsetWriteBufferLowWaterMark in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
setWriteBufferHighWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferHighWaterMark in interface DomainSocketChannelConfigsetWriteBufferHighWaterMark in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setAutoRead(boolean autoRead)
setAutoRead in interface io.netty.channel.ChannelConfigsetAutoRead in interface DomainSocketChannelConfigsetAutoRead in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setEpollMode(EpollMode mode)
EpollChannelConfigEpollMode used. Default is
EpollMode.EDGE_TRIGGERED. If you want to use DefaultChannelConfig.isAutoRead() false or
DefaultChannelConfig.getMaxMessagesPerRead() and have an accurate behaviour you should use
EpollMode.LEVEL_TRIGGERED.
Be aware this config setting can only be adjusted before the channel was registered.setEpollMode in class EpollChannelConfigpublic EpollDomainSocketChannelConfig setReadMode(DomainSocketReadMode mode)
DomainSocketChannelConfigDomainSocketReadMode for the channel. The default is
DomainSocketReadMode.BYTES which means bytes will be read from the
Channel and passed through the pipeline. If
DomainSocketReadMode.FILE_DESCRIPTORS is used
FileDescriptors will be passed through the ChannelPipeline.
This setting can be modified on the fly if needed.setReadMode in interface DomainSocketChannelConfigpublic DomainSocketReadMode getReadMode()
DomainSocketChannelConfigDomainSocketReadMode for the channel.getReadMode in interface DomainSocketChannelConfigCopyright © 2008–2016 The Netty Project. All rights reserved.