Class AutoReadDisableChannelPoolListener
java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.AutoReadDisableChannelPoolListener
- All Implemented Interfaces:
ListenerInvokingChannelPool.ChannelPoolListener
@SdkInternalApi
@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 TypeMethodDescriptionvoidchannelAcquired(io.netty.channel.Channel channel) Called after aChannelwas acquired by callingChannelPool.acquire()orChannelPool.acquire(Promise).create()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.ChannelPoolListenerCalled after aChannelwas acquired by callingChannelPool.acquire()orChannelPool.acquire(Promise).This method will be called by the
EventLoopof theChannel.- Specified by:
channelAcquiredin interfaceListenerInvokingChannelPool.ChannelPoolListener
-
create
-