Package org.redisson.api
Interface RExecutorFuture<V>
- Type Parameters:
V- value
- All Superinterfaces:
CompletionStage<V>,Future<V>,RFuture<V>
- All Known Subinterfaces:
RScheduledFuture<V>
- All Known Implementing Classes:
RedissonExecutorFuture,RedissonScheduledFuture
Future object for submitted task
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Method Summary
Methods inherited from interface java.util.concurrent.CompletionStage
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, 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, whenCompleteAsyncMethods inherited from interface java.util.concurrent.Future
cancel, exceptionNow, get, get, isCancelled, isDone, resultNow, stateMethods inherited from interface org.redisson.api.RFuture
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, getNow, isSuccess, join, onComplete, sync, syncUninterruptibly
-
Method Details
-
getTaskId
String getTaskId()Returns scheduled task's id. This id could be used for task cancellation.- Returns:
- task id
- See Also:
-