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