Uses of Interface
io.netty.channel.ChannelConfig
Packages that use ChannelConfig
Package
Description
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
A virtual
Channel that helps wrapping a series of handlers to
unit test the handlers or use them in non-I/O context.Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
BSD specific transport.
A virtual transport that enables the communication between the two
parties in the same virtual machine.
A serial and parallel port communication transport based on RXTX.
Abstract SCTP socket interfaces which extend the core channel API.
Abstract TCP and UDP socket interfaces which extend the core channel API.
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
UDT Transport.
Unix specific transport.
io_uring is a high I/O performance scalable interface for fully
asynchronous Linux syscalls.
QUIC implementation
-
Uses of ChannelConfig in io.netty.channel
Classes in io.netty.channel that implement ChannelConfigMethods in io.netty.channel that return ChannelConfigModifier and TypeMethodDescriptionChannel.config()Returns the configuration of this channel.ChannelConfig.setAllocator(ByteBufAllocator allocator) Set theByteBufAllocatorwhich is used for the channel to allocate buffers.DefaultChannelConfig.setAllocator(ByteBufAllocator allocator) ChannelConfig.setAutoClose(boolean autoClose) Sets whether theChannelshould be closed automatically and immediately on write failure.DefaultChannelConfig.setAutoClose(boolean autoClose) ChannelConfig.setAutoRead(boolean autoRead) Sets ifChannelHandlerContext.read()will be invoked automatically so that a user application doesn't need to call it at all.DefaultChannelConfig.setAutoRead(boolean autoRead) ChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) Sets the connect timeout of the channel in milliseconds.DefaultChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) ChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead) Deprecated.DefaultChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead) Deprecated.DefaultChannelConfig.setMaxMessagesPerWrite(int maxMessagesPerWrite) Set the maximum number of message to write per eventloop run.ChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) Set theMessageSizeEstimatorwhich is used for the channel to detect the size of a message.DefaultChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) ChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) Set theRecvByteBufAllocatorwhich is used for the channel to allocate receive buffers.DefaultChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) ChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) Sets the high water mark of the write buffer.DefaultChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) ChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) Sets the low water mark of the write buffer.DefaultChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) ChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) Set theWriteBufferWaterMarkwhich is used for setting the high and low water mark of the write buffer.DefaultChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) ChannelConfig.setWriteSpinCount(int writeSpinCount) Sets the maximum loop count for a write operation untilWritableByteChannel.write(ByteBuffer)returns a non-zero value.DefaultChannelConfig.setWriteSpinCount(int writeSpinCount) Methods in io.netty.channel with parameters of type ChannelConfigModifier and TypeMethodDescriptionvoidDefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle.reset(ChannelConfig config) OnlyChannelConfig.getMaxMessagesPerRead()is used.voidRecvByteBufAllocator.DelegatingHandle.reset(ChannelConfig config) voidRecvByteBufAllocator.Handle.reset(ChannelConfig config) Deprecated.Reset any counters that have accumulated and recommend how many messages/bytes should be read for the next read loop. -
Uses of ChannelConfig in io.netty.channel.embedded
Methods in io.netty.channel.embedded that return ChannelConfigMethods in io.netty.channel.embedded with parameters of type ChannelConfigModifier and TypeMethodDescriptionEmbeddedChannel.Builder.config(ChannelConfig config) TheChannelConfigwhich will be returned byEmbeddedChannel.config().Constructors in io.netty.channel.embedded with parameters of type ChannelConfigModifierConstructorDescriptionEmbeddedChannel(ChannelId channelId, boolean hasDisconnect, ChannelConfig config, ChannelHandler... handlers) Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers. -
Uses of ChannelConfig in io.netty.channel.epoll
Classes in io.netty.channel.epoll that implement ChannelConfigModifier and TypeClassDescriptionclassfinal classfinal classfinal classclassfinal classfinal class -
Uses of ChannelConfig in io.netty.channel.kqueue
Classes in io.netty.channel.kqueue that implement ChannelConfigModifier and TypeClassDescriptionclassfinal classfinal classfinal classclassclassfinal class -
Uses of ChannelConfig in io.netty.channel.local
Methods in io.netty.channel.local that return ChannelConfig -
Uses of ChannelConfig in io.netty.channel.rxtx
Subinterfaces of ChannelConfig in io.netty.channel.rxtxModifier and TypeInterfaceDescriptioninterfaceDeprecated.this transport will be removed in the next major version. -
Uses of ChannelConfig in io.netty.channel.sctp
Subinterfaces of ChannelConfig in io.netty.channel.sctpModifier and TypeInterfaceDescriptioninterfaceAChannelConfigfor aSctpChannel.interfaceAChannelConfigfor aSctpServerChannelConfig.Classes in io.netty.channel.sctp that implement ChannelConfigModifier and TypeClassDescriptionclassThe defaultSctpChannelConfigimplementation for SCTP.classThe defaultSctpServerChannelConfigimplementation for SCTP. -
Uses of ChannelConfig in io.netty.channel.socket
Subinterfaces of ChannelConfig in io.netty.channel.socketModifier and TypeInterfaceDescriptioninterfaceAChannelConfigfor aDatagramChannel.interfaceAChannelConfigfor aDuplexChannel.interfaceAChannelConfigfor aServerSocketChannel.interfaceAChannelConfigfor aSocketChannel.Classes in io.netty.channel.socket that implement ChannelConfigModifier and TypeClassDescriptionclassThe defaultDatagramChannelConfigimplementation.classThe defaultServerSocketChannelConfigimplementation.classThe defaultSocketChannelConfigimplementation. -
Uses of ChannelConfig in io.netty.channel.socket.nio
Methods in io.netty.channel.socket.nio that return ChannelConfig -
Uses of ChannelConfig in io.netty.channel.socket.oio
Subinterfaces of ChannelConfig in io.netty.channel.socket.oioModifier and TypeInterfaceDescriptioninterfaceDeprecated.use NIO / EPOLL / KQUEUE transport.interfaceDeprecated.use NIO / EPOLL / KQUEUE transport.interfaceDeprecated.use NIO / EPOLL / KQUEUE transport.Classes in io.netty.channel.socket.oio that implement ChannelConfigModifier and TypeClassDescriptionclassDeprecated.use NIO / EPOLL / KQUEUE transport.classDeprecated.use NIO / EPOLL / KQUEUE transport. -
Uses of ChannelConfig in io.netty.channel.udt
Subinterfaces of ChannelConfig in io.netty.channel.udtModifier and TypeInterfaceDescriptioninterfaceDeprecated.The UDT transport is no longer maintained and will be removed.interfaceDeprecated.The UDT transport is no longer maintained and will be removed.Classes in io.netty.channel.udt that implement ChannelConfigModifier and TypeClassDescriptionclassDeprecated.The UDT transport is no longer maintained and will be removed.classDeprecated.The UDT transport is no longer maintained and will be removed. -
Uses of ChannelConfig in io.netty.channel.unix
Subinterfaces of ChannelConfig in io.netty.channel.unixModifier and TypeInterfaceDescriptioninterfaceAChannelConfigfor aDomainDatagramChannel.interfaceSpecialChannelConfigforDomainSocketChannels. -
Uses of ChannelConfig in io.netty.channel.uring
Methods in io.netty.channel.uring that return ChannelConfig -
Uses of ChannelConfig in io.netty.handler.codec.quic
Subinterfaces of ChannelConfig in io.netty.handler.codec.quicModifier and TypeInterfaceDescriptioninterfaceA QUICChannelConfig.interfaceDuplexChannelConfigfor QUIC streams.
MaxMessagesRecvByteBufAllocatorandMaxMessagesRecvByteBufAllocator.maxMessagesPerRead(int).