public class TimeoutIntermediateResultListener<E> extends TimeoutResultListener<Collection<E>> implements IIntermediateResultListener<E>
Constructor and Description |
---|
TimeoutIntermediateResultListener(long timeout,
IExternalAccess exta,
boolean realtime,
IIntermediateResultListener<E> listener)
Create a new listener.
|
TimeoutIntermediateResultListener(long timeout,
IExternalAccess exta,
IIntermediateResultListener<E> listener)
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.
|
cancel, exceptionOccurred, resultAvailable
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resultAvailable
exceptionOccurred
public TimeoutIntermediateResultListener(long timeout, IExternalAccess exta, IIntermediateResultListener<E> listener)
public TimeoutIntermediateResultListener(long timeout, IExternalAccess exta, boolean realtime, IIntermediateResultListener<E> listener)
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.