public static interface ListenerInvokingChannelPool.ChannelPoolListener
SdkChannelPool. All listener events are guaranteed to
be invoked as part of the Channel's EventLoop.| Modifier and Type | Method and Description |
|---|---|
default void |
channelAcquired(io.netty.channel.Channel channel)
Called after a
Channel was acquired by calling ChannelPool.acquire() or ChannelPool.acquire(Promise). |
default void |
channelReleased(io.netty.channel.Channel channel)
Called before a
Channel is released by calling ChannelPool.release(Channel) or ChannelPool.release(Channel, Promise). |
default void channelAcquired(io.netty.channel.Channel channel)
Channel was acquired by calling ChannelPool.acquire() or ChannelPool.acquire(Promise).
This method will be called by the EventLoop of the Channel.
default void channelReleased(io.netty.channel.Channel channel)
Channel is released by calling ChannelPool.release(Channel) or ChannelPool.release(Channel, Promise).
This method will be called by the EventLoop of the Channel.
Copyright © 2021. All rights reserved.