V
- value typepublic class RedissonScheduledFuture<V> extends PromiseDelegator<V> implements RScheduledFuture<V>
Constructor and Description |
---|
RedissonScheduledFuture(RemotePromise<V> promise,
long scheduledExecutionTime) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Delayed other) |
long |
getDelay(TimeUnit unit) |
String |
getTaskId()
Returns scheduled task's id.
|
acceptEither, acceptEitherAsync, acceptEitherAsync, addListener, addListeners, applyToEither, applyToEitherAsync, applyToEitherAsync, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, exceptionally, get, get, getInnerPromise, getNow, handle, handleAsync, handleAsync, hasListeners, isCancelled, isDone, isSuccess, join, removeListener, removeListeners, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, setUncancellable, sync, syncUninterruptibly, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, tryFailure, trySuccess, whenComplete, whenCompleteAsync, whenCompleteAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, getNow, isSuccess, join, removeListener, removeListeners, sync, syncUninterruptibly
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, handle, handleAsync, handleAsync, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, whenComplete, whenCompleteAsync, whenCompleteAsync
public RedissonScheduledFuture(RemotePromise<V> promise, long scheduledExecutionTime)
public int compareTo(Delayed other)
compareTo
in interface Comparable<Delayed>
public String getTaskId()
RExecutorFuture
getTaskId
in interface RExecutorFuture<V>
RExecutorService.cancelTask(String)
Copyright © 2014–2018 The Redisson Project. All rights reserved.