Class IoUringStreamChannelConfig
java.lang.Object
io.netty.channel.DefaultChannelConfig
io.netty.channel.uring.IoUringChannelConfig
io.netty.channel.uring.IoUringStreamChannelConfig
- All Implemented Interfaces:
ChannelConfig
- Direct Known Subclasses:
IoUringDomainSocketChannelConfig, IoUringSocketChannelConfig
-
Field Summary
FieldsFields inherited from class DefaultChannelConfig
channel -
Constructor Summary
ConstructorsConstructorDescriptionIoUringStreamChannelConfig(AbstractIoUringChannel channel, RecvByteBufAllocator allocator) -
Method Summary
Modifier and TypeMethodDescription(package private) short<T> TgetOption(ChannelOption<T> option) Return the value of the givenChannelOptionMap<ChannelOption<?>, Object> Return all setChannelOption's.(package private) IoUringStreamChannelConfigsetBufferGroupId(short bufferGroupId) <T> booleansetOption(ChannelOption<T> option, T value) Sets a configuration property with the specified name and value.Methods inherited from class IoUringChannelConfig
autoReadCleared, setAllocator, setAutoClose, setAutoRead, setConnectTimeoutMillis, setMaxMessagesPerRead, setMaxMessagesPerWrite, setMessageSizeEstimator, setRecvByteBufAllocator, setWriteBufferHighWaterMark, setWriteBufferLowWaterMark, setWriteBufferWaterMark, setWriteSpinCountMethods inherited from class DefaultChannelConfig
getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptions, validate
-
Field Details
-
bufferGroupId
private volatile short bufferGroupId
-
-
Constructor Details
-
IoUringStreamChannelConfig
IoUringStreamChannelConfig(AbstractIoUringChannel channel) -
IoUringStreamChannelConfig
IoUringStreamChannelConfig(AbstractIoUringChannel channel, RecvByteBufAllocator allocator)
-
-
Method Details
-
getOption
Description copied from interface:ChannelConfigReturn the value of the givenChannelOption- Specified by:
getOptionin interfaceChannelConfig- Overrides:
getOptionin classIoUringChannelConfig
-
setOption
Description copied from interface:ChannelConfigSets a configuration property with the specified name and value. To override this method properly, you must call the super class:public boolean setOption(ChannelOption<T> option, T value) { if (super.setOption(option, value)) { return true; } if (option.equals(additionalOption)) { .... return true; } return false; }- Specified by:
setOptionin interfaceChannelConfig- Overrides:
setOptionin classIoUringChannelConfig- Returns:
trueif and only if the property has been set
-
getOptions
Description copied from interface:ChannelConfigReturn all setChannelOption's.- Specified by:
getOptionsin interfaceChannelConfig- Overrides:
getOptionsin classDefaultChannelConfig
-
getBufferGroupId
short getBufferGroupId() -
setBufferGroupId
-