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 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
.java.lang.Exception
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
.java.lang.Exception
void channelCreated(Channel ch) throws java.lang.Exception
Channel
is created in the ChannelPool
.
This method will be called by the EventLoop
of the Channel
.java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.