Class AsyncResultFilterEvent<T>

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

public class AsyncResultFilterEvent<T> extends Object
Represents an AsyncResultFilter event.
Author:
kimchy
  • Constructor Details

    • 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 Details

    • 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.