public interface AsyncExecutions<T> extends Iterable<CompletableFuture<T>>, CompletionStage<List<T>>
| Modifier and Type | Method and Description |
|---|---|
Map<RedisClusterNode,CompletableFuture<T>> |
asMap() |
CompletableFuture<T>[] |
futures() |
CompletionStage<T> |
get(RedisClusterNode redisClusterNode) |
Collection<RedisClusterNode> |
nodes() |
default Stream<CompletableFuture<T>> |
stream() |
<R,A> CompletionStage<R> |
thenCollect(Collector<? super T,A,R> collector)
Returns a new
CompletionStage that, when this stage completes normally, is executed with this stage's results as
the argument to the Collector. |
forEach, iterator, spliteratoracceptEither, 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, whenCompleteAsyncMap<RedisClusterNode,CompletableFuture<T>> asMap()
RedisClusterNode and the CompletionStage.Collection<RedisClusterNode> nodes()
CompletionStage<T> get(RedisClusterNode redisClusterNode)
redisClusterNode - the node.CompletableFuture<T>[] futures()
<R,A> CompletionStage<R> thenCollect(Collector<? super T,A,R> collector)
CompletionStage that, when this stage completes normally, is executed with this stage's results as
the argument to the Collector.
See the CompletionStage documentation for rules covering exceptional completion.collector - the Collector to collect this stages results.CompletionStage.5.2default Stream<CompletableFuture<T>> stream()
Stream over the CompletionStages in this collection.Copyright © 2020 lettuce.io. All rights reserved.