public abstract class IntermediateDefaultResultListener<E> extends DefaultResultListener<java.util.Collection<E>> implements IIntermediateResultListener<E>
Constructor and Description |
---|
IntermediateDefaultResultListener()
Create a new listener.
|
IntermediateDefaultResultListener(java.util.logging.Logger logger)
Create a new listener.
|
Modifier and Type | Method and Description |
---|---|
void |
finished()
Declare that the future is finished.
|
void |
intermediateResultAvailable(E result)
Called when an intermediate result is available.
|
void |
resultAvailable(java.util.Collection<E> result)
Called when the result is available.
|
commandAvailable, exceptionOccurred
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exceptionOccurred
public IntermediateDefaultResultListener()
logger
- The logger.public IntermediateDefaultResultListener(java.util.logging.Logger logger)
logger
- The logger.public void intermediateResultAvailable(E result)
intermediateResultAvailable
in interface IFunctionalIntermediateResultListener<E>
intermediateResultAvailable
in interface IIntermediateResultListener<E>
result
- The result.public void finished()
finished
in interface IFunctionalIntermediateFinishedListener<E>
finished
in interface IIntermediateResultListener<E>
public void resultAvailable(java.util.Collection<E> result)
resultAvailable
in interface IFunctionalResultListener<java.util.Collection<E>>
result
- The result.