Class FixedChannelPool.AcquireListener
java.lang.Object
io.netty.channel.pool.FixedChannelPool.AcquireListener
- All Implemented Interfaces:
FutureListener<Channel>, GenericFutureListener<Future<Channel>>, java.util.EventListener
- Direct Known Subclasses:
FixedChannelPool.AcquireTask
- Enclosing class:
FixedChannelPool
private class FixedChannelPool.AcquireListener
extends java.lang.Object
implements FutureListener<Channel>
-
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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.Exception
-
acquired
public void acquired()
-