public abstract class AbstractChannelPoolHandler extends Object implements ChannelPoolHandler
ChannelPoolHandler implementation.| Constructor and Description |
|---|
AbstractChannelPoolHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelAcquired(Channel ch)
NOOP implementation, sub-classes may override this.
|
void |
channelReleased(Channel ch)
NOOP implementation, sub-classes may override this.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelCreatedpublic void channelAcquired(Channel ch) throws Exception
Channel was acquired by calling ChannelPool.acquire() or
ChannelPool.acquire(Promise).
This method will be called by the EventLoop of the Channel.channelAcquired in interface ChannelPoolHandlerExceptionpublic void channelReleased(Channel ch) throws Exception
Channel was 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 ChannelPoolHandlerExceptionCopyright © 2008–2025 The Netty Project. All rights reserved.