Class CountDownFuture
java.lang.Object
org.apache.ignite.internal.util.future.GridFutureAdapter<Void>
org.apache.ignite.internal.util.future.CountDownFuture
- All Implemented Interfaces:
org.apache.ignite.internal.IgniteInternalFuture<Void>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.ignite.internal.util.future.GridFutureAdapter
cancel, chain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, reset, result, toString
-
Constructor Details
-
CountDownFuture
public CountDownFuture(int cnt) - Parameters:
cnt- Number of completing parties.
-
-
Method Details
-
onDone
Callback to notify that future is finished. Note that if non-nullexception is passed in the result value will be ignored.- Overrides:
onDonein classGridFutureAdapter<Void>- Parameters:
res- Optional result.err- Optional error.- Returns:
Trueif result was set by this call.
-
afterDone
protected void afterDone()
-