public abstract class GridCacheFutureAdapter<R> extends GridFutureAdapter<R> implements GridCacheFuture<R>
| Constructor and Description |
|---|
GridCacheFutureAdapter()
Default constructor.
|
| 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.
|
cancel, chain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, reset, result, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfutureId, markNotTrackable, onNodeLeft, trackablecancel, chain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, resultpublic 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 Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019