Interface AsyncFutureListener<T>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AsyncFutureListener<T>
An interface (lambda) which is fired upon completion of anAsyncFuture
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
operationComplete(AsyncFuture<T> future)
Invoked when the operation associated with theAsyncFuture
has been completed.
-
-
-
Method Detail
-
operationComplete
void operationComplete(AsyncFuture<T> future) throws java.lang.Exception
Invoked when the operation associated with theAsyncFuture
has been completed.- Parameters:
future
- the sourceAsyncFuture
which called this callback- Throws:
java.lang.Exception
-
-