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
Modifier and TypeMethodDescriptionvoid
channelReleased
(io.netty.channel.Channel channel) Called before aChannel
is released by callingChannelPool.release(Channel)
orChannelPool.release(Channel, 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
channelAcquired
-
Method Details
-
channelReleased
public void channelReleased(io.netty.channel.Channel channel) Description copied from interface:ListenerInvokingChannelPool.ChannelPoolListener
Called before aChannel
is released by callingChannelPool.release(Channel)
orChannelPool.release(Channel, Promise)
.This method will be called by the
EventLoop
of theChannel
.- Specified by:
channelReleased
in interfaceListenerInvokingChannelPool.ChannelPoolListener
-
create
-