private class FixedChannelPool.AcquireListener extends java.lang.Object implements FutureListener<Channel>
Modifier and Type | Field and Description |
---|---|
protected boolean |
acquired |
private Promise<Channel> |
originalPromise |
Constructor and Description |
---|
AcquireListener(Promise<Channel> originalPromise) |
Modifier and Type | Method and Description |
---|---|
void |
acquired() |
void |
operationComplete(Future<Channel> future)
Invoked when the operation associated with the
Future has been completed. |
public void operationComplete(Future<Channel> future) throws java.lang.Exception
GenericFutureListener
Future
has been completed.operationComplete
in interface GenericFutureListener<Future<Channel>>
future
- the source Future
which called this callbackjava.lang.Exception
public void acquired()