GigaSpaces XAP 9.7.2 API

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.
 

Method Detail

onResult

void onResult(AsyncResult<T> result)
A callback when a result of an async invocation arrives.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.