Package | Description |
---|---|
org.springframework.scheduling.annotation |
Java 5 annotation for asynchronous method execution.
|
org.springframework.util.concurrent |
Useful generic
java.util.concurrent.Future extension. |
Modifier and Type | Method and Description |
---|---|
void |
AsyncResult.addCallback(SuccessCallback<? super V> successCallback,
FailureCallback failureCallback) |
Modifier and Type | Interface and Description |
---|---|
interface |
ListenableFutureCallback<T>
Callback mechanism for the outcome, success or failure, from a
ListenableFuture . |
Modifier and Type | Method and Description |
---|---|
void |
CompletableToListenableFutureAdapter.addCallback(SuccessCallback<? super T> successCallback,
FailureCallback failureCallback) |
void |
ListenableFutureAdapter.addCallback(SuccessCallback<? super T> successCallback,
FailureCallback failureCallback) |
void |
ListenableFuture.addCallback(SuccessCallback<? super T> successCallback,
FailureCallback failureCallback)
Java 8 lambda-friendly alternative with success and failure callbacks.
|
void |
ListenableFutureTask.addCallback(SuccessCallback<? super T> successCallback,
FailureCallback failureCallback) |
void |
SettableListenableFuture.addCallback(SuccessCallback<? super T> successCallback,
FailureCallback failureCallback) |
void |
ListenableFutureCallbackRegistry.addSuccessCallback(SuccessCallback<? super T> callback)
Add the given success callback to this registry.
|