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, wait
channelCreated
public 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 ChannelPoolHandler
Exception
public 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 ChannelPoolHandler
Exception
Copyright © 2008–2017 The Netty Project. All rights reserved.