Class HandlerRemovingChannelPoolListener
java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.HandlerRemovingChannelPoolListener
- All Implemented Interfaces:
ListenerInvokingChannelPool.ChannelPoolListener
@SdkInternalApi
public final class HandlerRemovingChannelPoolListener
extends Object
implements ListenerInvokingChannelPool.ChannelPoolListener
Removes any per-request
ChannelHandler from the pipeline when releasing it to the pool.-
Method Summary
Modifier and TypeMethodDescriptionvoidchannelReleased(io.netty.channel.Channel channel) Called before aChannelis released by callingChannelPool.release(Channel)orChannelPool.release(Channel, 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
channelAcquired
-
Method Details
-
create
-
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
-