Class AutoReadDisableChannelPoolListener
java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.AutoReadDisableChannelPoolListener
- All Implemented Interfaces:
ListenerInvokingChannelPool.ChannelPoolListener
@Sharable
public final class AutoReadDisableChannelPoolListener
extends Object
implements ListenerInvokingChannelPool.ChannelPoolListener
Disables auto read on in-use channels to allow upper layers to take care of flow control.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
channelAcquired
(io.netty.channel.Channel channel) Called after aChannel
was acquired by callingChannelPool.acquire()
orChannelPool.acquire(Promise)
.create()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.http.nio.netty.internal.ListenerInvokingChannelPool.ChannelPoolListener
channelReleased
-
Method Details
-
channelAcquired
public void channelAcquired(io.netty.channel.Channel channel) Description copied from interface:ListenerInvokingChannelPool.ChannelPoolListener
Called after aChannel
was acquired by callingChannelPool.acquire()
orChannelPool.acquire(Promise)
.This method will be called by the
EventLoop
of theChannel
.- Specified by:
channelAcquired
in interfaceListenerInvokingChannelPool.ChannelPoolListener
-
create
-