GigaSpaces XAP 7.0 API

com.gigaspaces.async
Class AsyncResultFilterEvent<T>

java.lang.Object
  extended by com.gigaspaces.async.AsyncResultFilterEvent<T>

public class AsyncResultFilterEvent<T>
extends Object

Represents an AsyncResultFilter event.

Author:
kimchy

Constructor Summary
AsyncResultFilterEvent(AsyncResult<T> currentResult, AsyncResult<T>[] receivedResults, int totalExpectedResults)
          Constructs a new async result filter event
 
Method Summary
 AsyncResult<T> getCurrentResult()
          Returns the current result that caused this event.
 AsyncResult<T>[] getReceivedResults()
          Returns the received results without the current result.
 int getTotalExpectedResults()
          Returns the total expected results of this execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncResultFilterEvent

public AsyncResultFilterEvent(AsyncResult<T> currentResult,
                              AsyncResult<T>[] receivedResults,
                              int totalExpectedResults)
Constructs a new async result filter event

Parameters:
currentResult - The current result
receivedResults - The received results so far without the current result
totalExpectedResults - The total results that are expected of this execution
Method Detail

getCurrentResult

public AsyncResult<T> getCurrentResult()
Returns the current result that caused this event.


getReceivedResults

public AsyncResult<T>[] getReceivedResults()
Returns the received results without the current result.


getTotalExpectedResults

public int getTotalExpectedResults()
Returns the total expected results of this execution.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.