T
- the type of the futureS
- the type of the listpublic abstract class IteratingFuture<T,S> extends AbstractFuture<T>
Modifier and Type | Class and Description |
---|---|
class |
IteratingFuture.FutureListenerImpl |
Constructor and Description |
---|
IteratingFuture(Iterable<? extends S> iterable) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
protected void |
doComplete(Future<T> future,
S current) |
protected abstract void |
handleComplete(Future<T> future,
S current) |
protected abstract NotifyFuture<T> |
last() |
protected abstract NotifyFuture<T> |
perform(S s) |
protected void |
processCurrent() |
protected void |
processNext() |
IteratingFuture<T,S> |
startIterating()
Start iterating over the list
|
addListener, addListener, fetchResult, get, get, isCancelled, isDone, removeListener, removeListener, setError, setResult
public IteratingFuture<T,S> startIterating()
protected void processCurrent()
protected void processNext()
public boolean cancel(boolean mayInterruptIfRunning)
protected void doComplete(Future<T> future, S current) throws Exception
Exception
protected abstract void handleComplete(Future<T> future, S current) throws Exception
Exception
protected abstract NotifyFuture<T> perform(S s)
protected abstract NotifyFuture<T> last()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.