public class FutureForkJoin<K extends BaseFuture> extends BaseFutureImpl implements BaseFuture
BaseFuture.FutureTypecompleted, lock, reason, type| Constructor and Description |
|---|
FutureForkJoin(int nrFinishFuturesSuccess,
boolean cancelFuturesOnFinish,
K... forks) |
FutureForkJoin(K... forks) |
| Modifier and Type | Method and Description |
|---|---|
K[] |
getAll() |
String |
getFailedReason()
The default failed reason is Unknown.
|
List<K> |
getIntermediateFutures()
This is only safe to access is this future has completed!
|
K |
getLast() |
int |
getSuccessCounter() |
addCancellation, addListener, await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, getType, isCompleted, isFailed, isSuccess, notifyListerenrs, removeCancellation, removeListener, setCompletedAndNotify, setFailedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCancellation, addListener, await, await, awaitUninterruptibly, awaitUninterruptibly, getType, isCompleted, isFailed, isSuccess, removeCancellation, removeListener, setFailedcancelpublic FutureForkJoin(K... forks)
public FutureForkJoin(int nrFinishFuturesSuccess,
boolean cancelFuturesOnFinish,
K... forks)
futureNr - Is the number of non-null futures. Its fail fast.nrFinishFuturesSuccess - forks - public String getFailedReason()
BaseFuturegetFailedReason in interface BaseFuturegetFailedReason in class BaseFutureImplpublic K getLast()
public List<K> getIntermediateFutures()
public K[] getAll()
public int getSuccessCounter()
Copyright © 2011. All Rights Reserved.