Top Description Constructors Methods
io.netty.channel.pool

public abstract Class AbstractChannelPoolHandler

extends Object
implements ChannelPoolHandler
Class Inheritance
All Implemented Interfaces
io.netty.channel.pool.ChannelPoolHandler
Imports
io.netty.channel.Channel

A skeletal ChannelPoolHandler implementation.

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements io.netty.channel.pool.ChannelPoolHandler.channelAcquired.

NOOP implementation, sub-classes may override this.
public void
channelReleased(Channel ch)

Implements io.netty.channel.pool.ChannelPoolHandler.channelReleased.

NOOP implementation, sub-classes may override this.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractChannelPoolHandlerback to summary
public AbstractChannelPoolHandler()

Method Detail

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

Implements io.netty.channel.pool.ChannelPoolHandler.channelAcquired.

Doc from io.netty.channel.pool.ChannelPoolHandler.channelAcquired.

NOOP implementation, sub-classes may override this. 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.

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

Implements io.netty.channel.pool.ChannelPoolHandler.channelReleased.

Doc from io.netty.channel.pool.ChannelPoolHandler.channelReleased.

NOOP implementation, sub-classes may override this. 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.

Annotations
@Override