Uses of Interface
io.netty.channel.ChannelConfig
Packages that use ChannelConfig
Package
Description
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
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.
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
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).
Unix specific transport.
Handlers for sending and receiving HTTP/2 frames.
Package to control the flow of messages.
-
Uses of ChannelConfig in io.netty.bootstrap
Fields in io.netty.bootstrap declared as ChannelConfigMethods in io.netty.bootstrap that return ChannelConfig -
Uses of ChannelConfig in io.netty.channel
Classes in io.netty.channel that implement ChannelConfigFields in io.netty.channel declared as ChannelConfigModifier and TypeFieldDescriptionprivate ChannelConfig
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle.config
Methods in io.netty.channel that return ChannelConfigModifier and TypeMethodDescriptionChannel.config()
Returns the configuration of this channel.ChannelConfig.setAllocator
(ByteBufAllocator allocator) Set theByteBufAllocator
which is used for the channel to allocate buffers.DefaultChannelConfig.setAllocator
(ByteBufAllocator allocator) ChannelConfig.setAutoClose
(boolean autoClose) Sets whether theChannel
should 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 theMessageSizeEstimator
which is used for the channel to detect the size of a message.DefaultChannelConfig.setMessageSizeEstimator
(MessageSizeEstimator estimator) private ChannelConfig
DefaultChannelConfig.setPinEventExecutorPerGroup
(boolean pinEventExecutor) ChannelConfig.setRecvByteBufAllocator
(RecvByteBufAllocator allocator) Set theRecvByteBufAllocator
which 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 theWriteBufferWaterMark
which 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 TypeMethodDescriptionvoid
DefaultMaxBytesRecvByteBufAllocator.HandleImpl.reset
(ChannelConfig config) void
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle.reset
(ChannelConfig config) OnlygetMaxMessagesPerRead()
is used.void
RecvByteBufAllocator.DelegatingHandle.reset
(ChannelConfig config) void
RecvByteBufAllocator.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
Fields in io.netty.channel.embedded declared as ChannelConfigMethods in io.netty.channel.embedded that return ChannelConfigConstructors 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 TypeClassDescriptionclass
final class
final class
final class
class
final class
final class
Methods in io.netty.channel.epoll with parameters of type ChannelConfigModifier and TypeMethodDescription(package private) final void
AbstractEpollChannel.AbstractEpollUnsafe.epollInFinally
(ChannelConfig config) (package private) final void
AbstractEpollChannel.AbstractEpollUnsafe.executeEpollInReadyRunnable
(ChannelConfig config) private static boolean
AbstractEpollChannel.isAllowHalfClosure
(ChannelConfig config) (package private) final boolean
AbstractEpollChannel.shouldBreakEpollInReady
(ChannelConfig config) -
Uses of ChannelConfig in io.netty.channel.kqueue
Classes in io.netty.channel.kqueue that implement ChannelConfigModifier and TypeClassDescriptionclass
final class
final class
final class
class
class
final class
Methods in io.netty.channel.kqueue with parameters of type ChannelConfigModifier and TypeMethodDescription(package private) final void
AbstractKQueueChannel.AbstractKQueueUnsafe.executeReadReadyRunnable
(ChannelConfig config) private static boolean
AbstractKQueueChannel.isAllowHalfClosure
(ChannelConfig config) (package private) final void
AbstractKQueueChannel.AbstractKQueueUnsafe.readReadyFinally
(ChannelConfig config) void
KQueueRecvByteAllocatorHandle.reset
(ChannelConfig config) (package private) final boolean
AbstractKQueueChannel.shouldBreakReadReady
(ChannelConfig config) -
Uses of ChannelConfig in io.netty.channel.local
Fields in io.netty.channel.local declared as ChannelConfigModifier and TypeFieldDescriptionprivate final ChannelConfig
LocalChannel.config
private final ChannelConfig
LocalServerChannel.config
Methods in io.netty.channel.local that return ChannelConfig -
Uses of ChannelConfig in io.netty.channel.nio
Methods in io.netty.channel.nio with parameters of type ChannelConfigModifier and TypeMethodDescriptionprivate static boolean
AbstractNioByteChannel.isAllowHalfClosure
(ChannelConfig config) (package private) final boolean
AbstractNioByteChannel.shouldBreakReadReady
(ChannelConfig config) -
Uses of ChannelConfig in io.netty.channel.socket
Subinterfaces of ChannelConfig in io.netty.channel.socketModifier and TypeInterfaceDescriptioninterface
AChannelConfig
for aDatagramChannel
.interface
AChannelConfig
for aDuplexChannel
.interface
AChannelConfig
for aServerSocketChannel
.interface
AChannelConfig
for aSocketChannel
.Classes in io.netty.channel.socket that implement ChannelConfigModifier and TypeClassDescriptionclass
The defaultDatagramChannelConfig
implementation.class
The defaultServerSocketChannelConfig
implementation.class
The defaultSocketChannelConfig
implementation. -
Uses of ChannelConfig in io.netty.channel.socket.nio
Classes in io.netty.channel.socket.nio that implement ChannelConfigModifier and TypeClassDescription(package private) class
The defaultNioDatagramChannelConfig
implementation.private final class
private final class
-
Uses of ChannelConfig in io.netty.channel.socket.oio
Subinterfaces of ChannelConfig in io.netty.channel.socket.oioModifier and TypeInterfaceDescriptioninterface
Deprecated.use NIO / EPOLL / KQUEUE transport.interface
Deprecated.use NIO / EPOLL / KQUEUE transport.interface
Deprecated.use NIO / EPOLL / KQUEUE transport.Classes in io.netty.channel.socket.oio that implement ChannelConfigModifier and TypeClassDescription(package private) final class
class
Deprecated.use NIO / EPOLL / KQUEUE transport.class
Deprecated.use NIO / EPOLL / KQUEUE transport. -
Uses of ChannelConfig in io.netty.channel.unix
Subinterfaces of ChannelConfig in io.netty.channel.unixModifier and TypeInterfaceDescriptioninterface
AChannelConfig
for aDomainDatagramChannel
.interface
SpecialChannelConfig
forDomainSocketChannel
s. -
Uses of ChannelConfig in io.netty.handler.codec.http2
Classes in io.netty.handler.codec.http2 that implement ChannelConfigModifier and TypeClassDescriptionprivate static final class
ChannelConfig
so that the high and low writebuffer watermarks can reflect the outbound flow control window, without having to create a newWriteBufferWaterMark
object whenever the flow control window changes.Methods in io.netty.handler.codec.http2 that return ChannelConfigModifier and TypeMethodDescriptionAbstractHttp2StreamChannel.config()
AbstractHttp2StreamChannel.Http2StreamChannelConfig.setMessageSizeEstimator
(MessageSizeEstimator estimator) AbstractHttp2StreamChannel.Http2StreamChannelConfig.setRecvByteBufAllocator
(RecvByteBufAllocator allocator) -
Uses of ChannelConfig in io.netty.handler.flow
Fields in io.netty.handler.flow declared as ChannelConfig
MaxMessagesRecvByteBufAllocator
andMaxMessagesRecvByteBufAllocator.maxMessagesPerRead(int)
.