public abstract class GridCacheCompoundFuture<T,R> extends GridCompoundFuture<T,R> implements GridCacheFuture<R>
| Modifier | Constructor and Description |
|---|---|
protected |
GridCacheCompoundFuture(@Nullable 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,
@Nullable Throwable err,
boolean cancel) |
long |
startTime()
Gets start time for this future.
|
add, apply, cancel, clear, future, futures, futuresCountNoLock, hasFutures, hasPending, ignoreFailure, initialized, logDebug, logError, markInitialized, processFailure, toStringchain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, reset, resultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfutureId, markNotTrackable, onNodeLeft, trackablecancel, chain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, resultprotected GridCacheCompoundFuture(@Nullable
@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
@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 Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020