public class IntermediateComponentResultListener<E> extends ComponentResultListener<Collection<E>> implements IIntermediateResultListener<E>
Constructor and Description |
---|
IntermediateComponentResultListener(IIntermediateResultListener<E> listener,
IComponentAdapter adapter)
Create a new component result 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.
|
exceptionOccurred, resultAvailable
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resultAvailable
exceptionOccurred
public IntermediateComponentResultListener(IIntermediateResultListener<E> listener, IComponentAdapter adapter)
listener
- The listener.adapter
- The adapter.public void intermediateResultAvailable(E result)
intermediateResultAvailable
in interface IIntermediateResultListener<E>
result
- The result.public void finished()
finished
in interface IIntermediateResultListener<E>
Copyright © 2012. All Rights Reserved.