Package com.gigaspaces.async
Class AsyncResultFilterEvent<T>
java.lang.Object
com.gigaspaces.async.AsyncResultFilterEvent<T>
Represents an
AsyncResultFilter event.- Author:
- kimchy
-
Constructor Summary
ConstructorsConstructorDescriptionAsyncResultFilterEvent(AsyncResult<T> currentResult, AsyncResult<T>[] receivedResults, int totalExpectedResults) Constructs a new async result filter event -
Method Summary
Modifier and TypeMethodDescriptionReturns the current result that caused this event.AsyncResult<T>[]Returns the received results without the current result.intReturns the total expected results of this execution.
-
Constructor Details
-
AsyncResultFilterEvent
public AsyncResultFilterEvent(AsyncResult<T> currentResult, AsyncResult<T>[] receivedResults, int totalExpectedResults) Constructs a new async result filter event- Parameters:
currentResult- The current resultreceivedResults- The received results so far without the current resulttotalExpectedResults- The total results that are expected of this execution
-
-
Method Details
-
getCurrentResult
Returns the current result that caused this event. -
getReceivedResults
Returns the received results without the current result. -
getTotalExpectedResults
public int getTotalExpectedResults()Returns the total expected results of this execution.
-