public final class EpollDomainDatagramChannelConfig extends EpollChannelConfig implements io.netty.channel.unix.DomainDatagramChannelConfig
autoReadCleared, getEpollMode, getMaxBytesPerGatheringWrite, setMaxBytesPerGatheringWrite, setWriteBufferHighWaterMark, setWriteBufferLowWaterMark, socketgetAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptions, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptions, setWriteBufferHighWaterMark, setWriteBufferLowWaterMarkpublic 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 EpollDomainDatagramChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator in interface io.netty.channel.ChannelConfigsetAllocator in interface io.netty.channel.unix.DomainDatagramChannelConfigsetAllocator in class EpollChannelConfigpublic EpollDomainDatagramChannelConfig setAutoClose(boolean autoClose)
setAutoClose in interface io.netty.channel.ChannelConfigsetAutoClose in interface io.netty.channel.unix.DomainDatagramChannelConfigsetAutoClose in class io.netty.channel.DefaultChannelConfigpublic EpollDomainDatagramChannelConfig setAutoRead(boolean autoRead)
setAutoRead in interface io.netty.channel.ChannelConfigsetAutoRead in interface io.netty.channel.unix.DomainDatagramChannelConfigsetAutoRead in class EpollChannelConfigpublic EpollDomainDatagramChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis in interface io.netty.channel.ChannelConfigsetConnectTimeoutMillis in interface io.netty.channel.unix.DomainDatagramChannelConfigsetConnectTimeoutMillis in class EpollChannelConfigpublic EpollDomainDatagramChannelConfig 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 EpollChannelConfig@Deprecated public EpollDomainDatagramChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead in interface io.netty.channel.ChannelConfigsetMaxMessagesPerRead in interface io.netty.channel.unix.DomainDatagramChannelConfigsetMaxMessagesPerRead in class EpollChannelConfigpublic EpollDomainDatagramChannelConfig setMaxMessagesPerWrite(int maxMessagesPerWrite)
setMaxMessagesPerWrite in class io.netty.channel.DefaultChannelConfigpublic EpollDomainDatagramChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator in interface io.netty.channel.ChannelConfigsetMessageSizeEstimator in interface io.netty.channel.unix.DomainDatagramChannelConfigsetMessageSizeEstimator in class EpollChannelConfigpublic EpollDomainDatagramChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator in interface io.netty.channel.ChannelConfigsetRecvByteBufAllocator in interface io.netty.channel.unix.DomainDatagramChannelConfigsetRecvByteBufAllocator in class EpollChannelConfigpublic EpollDomainDatagramChannelConfig setSendBufferSize(int sendBufferSize)
setSendBufferSize in interface io.netty.channel.unix.DomainDatagramChannelConfigpublic int getSendBufferSize()
getSendBufferSize in interface io.netty.channel.unix.DomainDatagramChannelConfigpublic EpollDomainDatagramChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
setWriteBufferWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferWaterMark in interface io.netty.channel.unix.DomainDatagramChannelConfigsetWriteBufferWaterMark in class EpollChannelConfigpublic EpollDomainDatagramChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount in interface io.netty.channel.ChannelConfigsetWriteSpinCount in interface io.netty.channel.unix.DomainDatagramChannelConfigsetWriteSpinCount in class EpollChannelConfigCopyright © 2008–2024 The Netty Project. All rights reserved.