public abstract class DefaultTuple2ResultListener<E,F> extends 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(Collection<TupleResult> result)
Called when the result is available.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
firstResultAvailable, secondResultAvailable
exceptionOccurred
public void resultAvailable(Collection<TupleResult> result)
resultAvailable
in interface IIntermediateResultListener<TupleResult>
resultAvailable
in interface IResultListener<Collection<TupleResult>>
result
- The final result.public void intermediateResultAvailable(TupleResult result)
intermediateResultAvailable
in interface IIntermediateResultListener<TupleResult>
result
- The result.public void finished()
finished
in interface IIntermediateResultListener<TupleResult>
Copyright © 2013. All Rights Reserved.