public abstract class AbstractChannelPoolHandler extends java.lang.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 java.lang.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 ChannelPoolHandlerjava.lang.Exceptionpublic void channelReleased(Channel ch) throws java.lang.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 ChannelPoolHandlerjava.lang.ExceptionCopyright © 2008–2018 The Netty Project. All rights reserved.