public abstract class DefaultTuple2ResultListener<E,F> extends java.lang.Object implements ITuple2ResultListener<E,F>
Constructor and Description |
---|
DefaultTuple2ResultListener() |
Modifier and Type | Method and Description |
---|---|
void |
finished()
Declare that the future is finished.
|
void |
intermediateResultAvailable(TupleResult result)
Called when an intermediate result is available.
|
void |
resultAvailable(java.util.Collection<TupleResult> result)
Called when the result is available.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
firstResultAvailable, secondResultAvailable
exceptionOccurred
public void resultAvailable(java.util.Collection<TupleResult> result)
resultAvailable
in interface IFunctionalResultListener<java.util.Collection<TupleResult>>
resultAvailable
in interface IIntermediateResultListener<TupleResult>
result
- The final result.public void intermediateResultAvailable(TupleResult result)
intermediateResultAvailable
in interface IFunctionalIntermediateResultListener<TupleResult>
intermediateResultAvailable
in interface IIntermediateResultListener<TupleResult>
result
- The result.public void finished()
finished
in interface IFunctionalIntermediateFinishedListener
finished
in interface IIntermediateResultListener<TupleResult>