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>>,java.util.EventListener
- Direct Known Subclasses:
FixedChannelPool.AcquireTask
- Enclosing class:
- FixedChannelPool
private class FixedChannelPool.AcquireListener extends java.lang.Object implements FutureListener<Channel>
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanacquiredprivate Promise<Channel>originalPromise
-
Constructor Summary
Constructors Constructor Description AcquireListener(Promise<Channel> originalPromise)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacquired()voidoperationComplete(Future<Channel> future)Invoked when the operation associated with theFuturehas been completed.
-
-
-
Method Detail
-
operationComplete
public void operationComplete(Future<Channel> future) throws java.lang.Exception
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()
-
-