public class IntermediateDelegationResultListener<E> extends Object implements IIntermediateResultListener<E>
| Constructor and Description |
|---|
IntermediateDelegationResultListener(IntermediateFuture<E> future)
Create a new listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
customIntermediateResultAvailable(E result)
Called when an intermediate result is available.
|
void |
customResultAvailable(Collection<E> result)
Called when the result is available.
|
void |
exceptionOccurred(Exception exception)
Called when an exception occurred.
|
void |
finished()
Declare that the future is finished.
|
void |
intermediateResultAvailable(E result)
Called when an intermediate result is available.
|
void |
resultAvailable(Collection<E> result)
Called when the result is available.
|
public IntermediateDelegationResultListener(IntermediateFuture<E> future)
public final void resultAvailable(Collection<E> result)
resultAvailable in interface IIntermediateResultListener<E>resultAvailable in interface IResultListener<Collection<E>>result - The result.public void intermediateResultAvailable(E result)
intermediateResultAvailable in interface IIntermediateResultListener<E>result - The result.public void finished()
finished in interface IIntermediateResultListener<E>public void customResultAvailable(Collection<E> result)
result - The result.public void exceptionOccurred(Exception exception)
exceptionOccurred in interface IResultListener<Collection<E>>exception - The exception.public void customIntermediateResultAvailable(E result)
result - The result.Copyright © 2012. All Rights Reserved.