public interface IIntermediateFuture<E> extends IFuture<Collection<E>>
Modifier and Type | Field and Description |
---|---|
static IntermediateFuture<Void> |
DONE
A future representing a completed action.
|
Modifier and Type | Method and Description |
---|---|
Collection<E> |
getIntermediateResults()
Get the intermediate results that are currently available.
|
E |
getNextIntermediateResult()
Iterate over the intermediate results in a blocking fashion.
|
boolean |
hasNextIntermediateResult()
Check if there are more results for iteration for the given caller.
|
addResultListener, get, get, get, get, getException, isDone
static final IntermediateFuture<Void> DONE
Collection<E> getIntermediateResults()
boolean hasNextIntermediateResult()
E getNextIntermediateResult()
NoSuchElementException,
- when there are no more intermediate results and the future is finished.Copyright © 2013. All Rights Reserved.