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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
channelAcquired(io.netty.channel.Channel channel)
Called after aChannel
was acquired by callingChannelPool.acquire()
orChannelPool.acquire(Promise)
.static AutoReadDisableChannelPoolListener
create()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.http.nio.netty.internal.ListenerInvokingChannelPool.ChannelPoolListener
channelReleased
-
-
-
-
Method Detail
-
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
public static AutoReadDisableChannelPoolListener create()
-
-