Class AutoReadEnableChannelPoolListener
- java.lang.Object
-
- software.amazon.awssdk.http.nio.netty.internal.AutoReadEnableChannelPoolListener
-
- All Implemented Interfaces:
ListenerInvokingChannelPool.ChannelPoolListener
@Sharable public final class AutoReadEnableChannelPoolListener extends Object implements ListenerInvokingChannelPool.ChannelPoolListener
Enables auto read on idle channels so that any data that a service sends while it's idling can be handled.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelReleased(io.netty.channel.Channel channel)Called before aChannelis released by callingChannelPool.release(Channel)orChannelPool.release(Channel, Promise).static AutoReadEnableChannelPoolListenercreate()-
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
channelAcquired
-
-
-
-
Method Detail
-
channelReleased
public void channelReleased(io.netty.channel.Channel channel)
Description copied from interface:ListenerInvokingChannelPool.ChannelPoolListenerCalled before aChannelis released by callingChannelPool.release(Channel)orChannelPool.release(Channel, Promise).This method will be called by the
EventLoopof theChannel.- Specified by:
channelReleasedin interfaceListenerInvokingChannelPool.ChannelPoolListener
-
create
public static AutoReadEnableChannelPoolListener create()
-
-