Interface ChannelPoolHandler
- All Known Implementing Classes:
AbstractChannelPoolHandler
public interface ChannelPoolHandler
Handler which is called for various actions done by the
ChannelPool.-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled once aChannelwas acquired by callingChannelPool.acquire()orChannelPool.acquire(Promise).voidCalled once a newChannelis created in theChannelPool.voidCalled once aChannelwas released by callingChannelPool.release(Channel)orChannelPool.release(Channel, Promise).
-
Method Details
-
channelReleased
Called once aChannelwas released by callingChannelPool.release(Channel)orChannelPool.release(Channel, Promise). This method will be called by theEventLoopof theChannel.- Throws:
Exception
-
channelAcquired
Called once aChannelwas acquired by callingChannelPool.acquire()orChannelPool.acquire(Promise). This method will be called by theEventLoopof theChannel.- Throws:
Exception
-
channelCreated
-