public class CountDownFuture extends GridFutureAdapter<Void>
| Constructor and Description |
|---|
CountDownFuture(int cnt) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterDone() |
boolean |
onDone(@Nullable Void res,
@Nullable Throwable err)
Callback to notify that future is finished.
|
cancel, chain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, reset, result, toStringpublic CountDownFuture(int cnt)
cnt - Number of completing parties.public boolean onDone(@Nullable
@Nullable Void res,
@Nullable
@Nullable Throwable err)
null exception is passed in
the result value will be ignored.onDone in class GridFutureAdapter<Void>res - Optional result.err - Optional error.True if result was set by this call.protected void afterDone()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020