public abstract class AbstractChannelPoolHandler extends java.lang.Object implements ChannelPoolHandler
ChannelPoolHandler implementation.| 构造器和说明 |
|---|
AbstractChannelPoolHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 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 在接口中 ChannelPoolHandlerjava.lang.Exception