com.gigaspaces.async
Interface AsyncFutureListener<T>
- All Known Implementing Classes:
- WaitForAllListener, WaitForAnyListener
public interface AsyncFutureListener<T>
Allows to register for a callback on an AsyncFuture
to be
notified when a result arrives.
Note: this compliments the blocking nature of the Future get
operation.
- Since:
- 6.6
- Author:
- Assaf Ronen
- See Also:
AsyncFuture
Method Summary |
void |
onResult(AsyncResult<T> result)
A callback when a result of an async invocation arrives. |
onResult
void onResult(AsyncResult<T> result)
- A callback when a result of an async invocation arrives.
Copyright © GigaSpaces.