Class FixedChannelPool.AcquireListener
java.lang.Object
io.netty.channel.pool.FixedChannelPool.AcquireListener
- All Implemented Interfaces:
FutureListener<Channel>, GenericFutureListener<Future<Channel>>, EventListener
- Direct Known Subclasses:
FixedChannelPool.AcquireTask
- Enclosing class:
FixedChannelPool
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacquired()voidoperationComplete(Future<Channel> future) Invoked when the operation associated with theFuturehas been completed.
-
Field Details
-
originalPromise
-
acquired
protected boolean acquired
-
-
Constructor Details
-
AcquireListener
-
-
Method Details
-
operationComplete
Description copied from interface:GenericFutureListenerInvoked when the operation associated with theFuturehas been completed.- Specified by:
operationCompletein interfaceGenericFutureListener<Future<Channel>>- Parameters:
future- the sourceFuturewhich called this callback- Throws:
Exception
-
acquired
public void acquired()
-