public abstract class GridCacheCompoundFuture<T,R> extends GridCompoundFuture<T,R> implements GridCacheFuture<R>
Modifier | Constructor and Description |
---|---|
protected |
GridCacheCompoundFuture(IgniteReducer<T,R> rdc) |
Modifier and Type | Method and Description |
---|---|
long |
duration()
Gets duration in milliseconds between start of the future and current time if future
is not finished, or between start and finish of this future.
|
protected boolean |
onDone(R res,
Throwable err,
boolean cancel) |
long |
startTime()
Gets start time for this future.
|
add, apply, cancel, clear, future, futures, futuresCountNoLock, hasFutures, hasPending, ignoreFailure, initialized, markInitialized, toString
chain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, result
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
futureId, markNotTrackable, onNodeLeft, trackable
cancel, chain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, result
protected GridCacheCompoundFuture(@Nullable IgniteReducer<T,R> rdc)
rdc
- Reducer.public long startTime()
startTime
in interface GridCacheFuture<R>
public long duration()
duration
in interface GridCacheFuture<R>
protected boolean onDone(@Nullable R res, @Nullable Throwable err, boolean cancel)
onDone
in class GridFutureAdapter<R>
res
- Result.err
- Error.cancel
- True
if future is being cancelled.True
if result was set by this call.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017