Package io.netty.channel.pool
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 TypeMethodDescriptionvoid
acquired()
void
operationComplete
(Future<Channel> future) Invoked when the operation associated with theFuture
has been completed.
-
Field Details
-
originalPromise
-
acquired
protected boolean acquired
-
-
Constructor Details
-
AcquireListener
-
-
Method Details
-
operationComplete
Description copied from interface:GenericFutureListener
Invoked when the operation associated with theFuture
has been completed.- Specified by:
operationComplete
in interfaceGenericFutureListener<Future<Channel>>
- Parameters:
future
- the sourceFuture
which called this callback- Throws:
Exception
-
acquired
public void acquired()
-