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(java.lang.Throwable exception)
Notify the listeners that the operation has finished.
|
void |
setFuture(java.util.concurrent.Future<T> future)
Setup the future which is wrapped by implementation of this interface.
|
attachListener
void notifyDone(T result)
result
- void notifyException(java.lang.Throwable exception)
exception
- void setFuture(java.util.concurrent.Future<T> future)
future
-