Package io.netty.channel.kqueue
Class KQueueDomainDatagramChannelConfig
java.lang.Object
io.netty.channel.DefaultChannelConfig
io.netty.channel.kqueue.KQueueChannelConfig
io.netty.channel.kqueue.KQueueDomainDatagramChannelConfig
- All Implemented Interfaces:
io.netty.channel.ChannelConfig,io.netty.channel.unix.DomainDatagramChannelConfig
@UnstableApi
public final class KQueueDomainDatagramChannelConfig
extends KQueueChannelConfig
implements io.netty.channel.unix.DomainDatagramChannelConfig
-
Field Summary
Fields inherited from class io.netty.channel.DefaultChannelConfig
channel -
Method Summary
Modifier and TypeMethodDescription<T> TgetOption(io.netty.channel.ChannelOption<T> option) intsetAllocator(io.netty.buffer.ByteBufAllocator allocator) setAutoClose(boolean autoClose) setAutoRead(boolean autoRead) setConnectTimeoutMillis(int connectTimeoutMillis) setMaxMessagesPerRead(int maxMessagesPerRead) Deprecated.setMaxMessagesPerWrite(int maxMessagesPerWrite) setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator) <T> booleansetOption(io.netty.channel.ChannelOption<T> option, T value) setRcvAllocTransportProvidesGuess(boolean transportProvidesGuess) If this istruethen theRecvByteBufAllocator.Handle.guess()will be overridden to always attempt to read as many bytes as kqueue says are available.setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator) setSendBufferSize(int sendBufferSize) setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark) setWriteSpinCount(int writeSpinCount) Methods inherited from class io.netty.channel.kqueue.KQueueChannelConfig
autoReadCleared, getRcvAllocTransportProvidesGuess, setWriteBufferHighWaterMark, setWriteBufferLowWaterMarkMethods inherited from class io.netty.channel.DefaultChannelConfig
getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptions, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelConfig
getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptions, setWriteBufferHighWaterMark, setWriteBufferLowWaterMark
-
Method Details
-
getOptions
- Specified by:
getOptionsin interfaceio.netty.channel.ChannelConfig- Overrides:
getOptionsin classKQueueChannelConfig
-
getOption
public <T> T getOption(io.netty.channel.ChannelOption<T> option) - Specified by:
getOptionin interfaceio.netty.channel.ChannelConfig- Overrides:
getOptionin classKQueueChannelConfig
-
setOption
public <T> boolean setOption(io.netty.channel.ChannelOption<T> option, T value) - Specified by:
setOptionin interfaceio.netty.channel.ChannelConfig- Overrides:
setOptionin classKQueueChannelConfig
-
setAllocator
- Specified by:
setAllocatorin interfaceio.netty.channel.ChannelConfig- Specified by:
setAllocatorin interfaceio.netty.channel.unix.DomainDatagramChannelConfig- Overrides:
setAllocatorin classKQueueChannelConfig
-
setAutoClose
- Specified by:
setAutoClosein interfaceio.netty.channel.ChannelConfig- Specified by:
setAutoClosein interfaceio.netty.channel.unix.DomainDatagramChannelConfig- Overrides:
setAutoClosein classio.netty.channel.DefaultChannelConfig
-
setAutoRead
- Specified by:
setAutoReadin interfaceio.netty.channel.ChannelConfig- Specified by:
setAutoReadin interfaceio.netty.channel.unix.DomainDatagramChannelConfig- Overrides:
setAutoReadin classKQueueChannelConfig
-
setConnectTimeoutMillis
- Specified by:
setConnectTimeoutMillisin interfaceio.netty.channel.ChannelConfig- Specified by:
setConnectTimeoutMillisin interfaceio.netty.channel.unix.DomainDatagramChannelConfig- Overrides:
setConnectTimeoutMillisin classKQueueChannelConfig
-
setMaxMessagesPerRead
Deprecated.- Specified by:
setMaxMessagesPerReadin interfaceio.netty.channel.ChannelConfig- Specified by:
setMaxMessagesPerReadin interfaceio.netty.channel.unix.DomainDatagramChannelConfig- Overrides:
setMaxMessagesPerReadin classKQueueChannelConfig
-
setMaxMessagesPerWrite
- Overrides:
setMaxMessagesPerWritein classio.netty.channel.DefaultChannelConfig
-
setMessageSizeEstimator
public KQueueDomainDatagramChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator) - Specified by:
setMessageSizeEstimatorin interfaceio.netty.channel.ChannelConfig- Specified by:
setMessageSizeEstimatorin interfaceio.netty.channel.unix.DomainDatagramChannelConfig- Overrides:
setMessageSizeEstimatorin classKQueueChannelConfig
-
setRcvAllocTransportProvidesGuess
public KQueueDomainDatagramChannelConfig setRcvAllocTransportProvidesGuess(boolean transportProvidesGuess) Description copied from class:KQueueChannelConfigIf this istruethen theRecvByteBufAllocator.Handle.guess()will be overridden to always attempt to read as many bytes as kqueue says are available.- Overrides:
setRcvAllocTransportProvidesGuessin classKQueueChannelConfig
-
setRecvByteBufAllocator
public KQueueDomainDatagramChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator) - Specified by:
setRecvByteBufAllocatorin interfaceio.netty.channel.ChannelConfig- Specified by:
setRecvByteBufAllocatorin interfaceio.netty.channel.unix.DomainDatagramChannelConfig- Overrides:
setRecvByteBufAllocatorin classKQueueChannelConfig
-
setSendBufferSize
- Specified by:
setSendBufferSizein interfaceio.netty.channel.unix.DomainDatagramChannelConfig
-
getSendBufferSize
public int getSendBufferSize()- Specified by:
getSendBufferSizein interfaceio.netty.channel.unix.DomainDatagramChannelConfig
-
setWriteBufferWaterMark
public KQueueDomainDatagramChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark) - Specified by:
setWriteBufferWaterMarkin interfaceio.netty.channel.ChannelConfig- Specified by:
setWriteBufferWaterMarkin interfaceio.netty.channel.unix.DomainDatagramChannelConfig- Overrides:
setWriteBufferWaterMarkin classKQueueChannelConfig
-
setWriteSpinCount
- Specified by:
setWriteSpinCountin interfaceio.netty.channel.ChannelConfig- Specified by:
setWriteSpinCountin interfaceio.netty.channel.unix.DomainDatagramChannelConfig- Overrides:
setWriteSpinCountin classKQueueChannelConfig
-