public interface NotifyingNotifiableFuture<T> extends NotifyingFuture<T>
| Modifier and Type | Method and Description |
|---|---|
void |
notifyDone(T result)
Notify the listeners that the operation has finished.
|
void |
notifyException(Throwable exception)
Notify the listeners that the operation has finished.
|
void |
setFuture(Future<T> future)
Setup the future which is wrapped by implementation of this interface.
|
attachListenervoid notifyDone(T result)
result - void notifyException(Throwable exception)
exception - void setFuture(Future<T> future)
future - Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.