Package com.gigaspaces.async
Class FutureFactory
java.lang.Object
com.gigaspaces.async.FutureFactory
A factory for different types of special futures, such as compound ones.
- Since:
- 6.6
- Author:
- Assaf Ronen
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,R> AsyncFuture<R> create(AsyncFuture<T>[] futures, AsyncResultsReducer<T, R> reducer) static <T,R> AsyncFuture<R> create(AsyncFuture<T>[] futures, AsyncResultsReducer<T, R> reducer, AsyncResultFilter<T> moderator)
-
Method Details
-
create
public static <T,R> AsyncFuture<R> create(AsyncFuture<T>[] futures, AsyncResultsReducer<T, R> reducer) -
create
public static <T,R> AsyncFuture<R> create(AsyncFuture<T>[] futures, AsyncResultsReducer<T, R> reducer, AsyncResultFilter<T> moderator)
-