Top Description Methods
io.netty.channel.pool

public Interface ChannelPoolHandler

Known Direct Implementers
io.netty.channel.pool.AbstractChannelPoolHandler
Imports
io.netty.channel.Channel, .EventLoop, io.netty.util.concurrent.Promise

Handler which is called for various actions done by the ChannelPool.

Method Summary

Modifier and TypeMethod and Description
public void
public void
channelCreated(Channel ch)

Called once a new Channel is created in the ChannelPool.

public void

Method Detail

channelAcquiredback to summary
public void channelAcquired(Channel ch) throws Exception

Called once a Channel was acquired by calling ChannelPool#acquire() or ChannelPool#acquire(Promise). This method will be called by the EventLoop of the Channel.

channelCreatedback to summary
public void channelCreated(Channel ch) throws Exception

Called once a new Channel is created in the ChannelPool. This method will be called by the EventLoop of the Channel.

channelReleasedback to summary
public void channelReleased(Channel ch) throws Exception

Called once a Channel was released by calling ChannelPool#release(Channel) or ChannelPool#release(Channel, Promise). This method will be called by the EventLoop of the Channel.