public interface ChannelPoolHandler
ChannelPool
.Modifier and Type | Method and Description |
---|---|
void |
channelAcquired(Channel ch)
Called once a
Channel was acquired by calling ChannelPool.acquire() or
ChannelPool.acquire(Promise) . |
void |
channelCreated(Channel ch)
Called once a new
Channel is created in the ChannelPool . |
void |
channelReleased(Channel ch)
Called once a
Channel was released by calling ChannelPool.release(Channel) or
ChannelPool.release(Channel, Promise) . |
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
.Exception
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
.Exception
Copyright © 2008–2017 The Netty Project. All rights reserved.