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
public interface RExecutorFuture<V> extends RFuture<V>
Future object for submitted task- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getTaskId()
Returns scheduled task's id.-
Methods inherited from interface java.util.concurrent.CompletionStage
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
-
Methods inherited from interface org.redisson.api.RFuture
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, getNow, isSuccess, join, onComplete, sync, syncUninterruptibly
-
-
-
-
Method Detail
-
getTaskId
String getTaskId()
Returns scheduled task's id. This id could be used for task cancellation.- Returns:
- task id
- See Also:
RExecutorService.cancelTask(String)
-
-