Package org.redisson.executor
Class RedissonExecutorBatchFuture
- java.lang.Object
-
- java.util.concurrent.CompletableFuture<T>
-
- org.redisson.misc.RedissonPromise<Void>
-
- org.redisson.executor.RedissonExecutorBatchFuture
-
- All Implemented Interfaces:
CompletionStage<Void>
,Future<Void>
,RExecutorBatchFuture
,RFuture<Void>
,RPromise<Void>
public class RedissonExecutorBatchFuture extends RedissonPromise<Void> implements RExecutorBatchFuture
- Author:
- Nikita Koksharov
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask
-
-
Constructor Summary
Constructors Constructor Description RedissonExecutorBatchFuture(List<RExecutorFuture<?>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RExecutorFuture<?>>
getTaskFutures()
Returns list of Future objects.-
Methods inherited from class org.redisson.misc.RedissonPromise
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, hasListeners, isCancelled, isDone, isSuccess, newFailedFuture, newSucceededFuture, onComplete, setUncancellable, sync, syncUninterruptibly, toString, tryFailure, trySuccess
-
Methods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCompletedExceptionally, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, 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, wait, wait, wait
-
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, awaitUninterruptibly, awaitUninterruptibly, cause, getNow, isSuccess, join, onComplete
-
-
-
-
Constructor Detail
-
RedissonExecutorBatchFuture
public RedissonExecutorBatchFuture(List<RExecutorFuture<?>> futures)
-
-
Method Detail
-
getTaskFutures
public List<RExecutorFuture<?>> getTaskFutures()
Description copied from interface:RExecutorBatchFuture
Returns list of Future objects. Each Future object represents submitted task.- Specified by:
getTaskFutures
in interfaceRExecutorBatchFuture
- Returns:
- list
-
-