public abstract class IntermediateDefaultResultListener<E> extends DefaultResultListener<Collection<E>> implements IIntermediateResultListener<E>
Constructor and Description |
---|
IntermediateDefaultResultListener()
Create a new listener.
|
IntermediateDefaultResultListener(Logger logger)
Create a new listener.
|
Modifier and Type | Method and Description |
---|---|
void |
finished()
Declare that the future is finished.
|
abstract void |
intermediateResultAvailable(E result)
Called when an intermediate result is available.
|
void |
resultAvailable(Collection<E> result)
Called when the result is available.
|
exceptionOccurred
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exceptionOccurred
public IntermediateDefaultResultListener()
logger
- The logger.public IntermediateDefaultResultListener(Logger logger)
logger
- The logger.public abstract void intermediateResultAvailable(E result)
intermediateResultAvailable
in interface IIntermediateResultListener<E>
result
- The result.public void finished()
finished
in interface IIntermediateResultListener<E>
public void resultAvailable(Collection<E> result)
resultAvailable
in interface IIntermediateResultListener<E>
resultAvailable
in interface IResultListener<Collection<E>>
result
- The result.Copyright © 2012. All Rights Reserved.