GigaSpaces XAP 9.7.2 API

com.gigaspaces.async
Class FutureFactory

java.lang.Object
  extended by com.gigaspaces.async.FutureFactory

public final class FutureFactory
extends Object

A factory for different types of special futures, such as compound ones.

Since:
6.6
Author:
Assaf Ronen

Method Summary
static
<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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.