public final class HandlerRemovingChannelPoolListener extends Object implements ListenerInvokingChannelPool.ChannelPoolListener
ChannelHandler from the pipeline when releasing it to the pool.| Modifier and Type | Method and Description |
|---|---|
void |
channelReleased(io.netty.channel.Channel channel)
Called before a
Channel is released by calling ChannelPool.release(Channel) or ChannelPool.release(Channel, Promise). |
static HandlerRemovingChannelPoolListener |
create() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelAcquiredpublic static HandlerRemovingChannelPoolListener create()
public void channelReleased(io.netty.channel.Channel channel)
ListenerInvokingChannelPool.ChannelPoolListenerChannel is released by calling ChannelPool.release(Channel) or ChannelPool.release(Channel, Promise).
This method will be called by the EventLoop of the Channel.
channelReleased in interface ListenerInvokingChannelPool.ChannelPoolListenerCopyright © 2022. All rights reserved.