Package org.redisson.executor
Class RedissonExecutorFuture<V>
java.lang.Object
org.redisson.misc.CompletableFutureWrapper<V>
org.redisson.executor.RedissonExecutorFuture<V>
- Type Parameters:
V
- value type
- All Implemented Interfaces:
CompletionStage<V>
,Future<V>
,RExecutorFuture<V>
,RFuture<V>
public class RedissonExecutorFuture<V>
extends CompletableFutureWrapper<V>
implements RExecutorFuture<V>
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Constructor Summary
ConstructorDescriptionRedissonExecutorFuture
(CompletableFuture<V> promise, String taskId) RedissonExecutorFuture
(RemotePromise<V> promise) -
Method Summary
Methods inherited from class org.redisson.misc.CompletableFutureWrapper
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, complete, exceptionally, get, get, getNow, getNow, handle, handleAsync, handleAsync, isCancelled, isDone, isSuccess, join, onComplete, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, sync, syncUninterruptibly, 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, whenCompleteAsync
Methods inherited from interface java.util.concurrent.Future
cancel, exceptionNow, get, get, isCancelled, isDone, resultNow, state
Methods inherited from interface org.redisson.api.RFuture
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, getNow, isSuccess, join, onComplete, sync, syncUninterruptibly
-
Constructor Details
-
RedissonExecutorFuture
-
RedissonExecutorFuture
-
-
Method Details
-
getTaskId
Description copied from interface:RExecutorFuture
Returns scheduled task's id. This id could be used for task cancellation.- Specified by:
getTaskId
in interfaceRExecutorFuture<V>
- Returns:
- task id
- See Also:
-