CompletableFuture<List<CompletableFuture<GetReplicaResult>>> |
AsyncCollection.getAllReplicas(String id) |
Reads from all available replicas and the active node and returns the results as a list
of futures that might complete or fail.
|
CompletableFuture<List<CompletableFuture<GetReplicaResult>>> |
AsyncCollection.getAllReplicas(String id,
GetAllReplicasOptions options) |
Reads from replicas or the active node based on the options and returns the results as a list
of futures that might complete or fail.
|
Stream<GetReplicaResult> |
Collection.getAllReplicas(String id) |
Reads from all available replicas and the active node and returns the results as a stream.
|
Stream<GetReplicaResult> |
Collection.getAllReplicas(String id,
GetAllReplicasOptions options) |
Reads all available or one replica and returns the results as a stream with custom options.
|
Flux<GetReplicaResult> |
ReactiveCollection.getAllReplicas(String id) |
Reads all available replicas, including the active, and returns the results as a flux.
|
Flux<GetReplicaResult> |
ReactiveCollection.getAllReplicas(String id,
GetAllReplicasOptions options) |
Reads all available replicas, including the active, and returns the results as a flux.
|
CompletableFuture<GetReplicaResult> |
AsyncCollection.getAnyReplica(String id) |
Reads all available replicas, and returns the first found.
|
CompletableFuture<GetReplicaResult> |
AsyncCollection.getAnyReplica(String id,
GetAnyReplicaOptions options) |
Reads all available replicas, and returns the first found.
|
Mono<GetReplicaResult> |
ReactiveCollection.getAnyReplica(String id) |
Reads all available replicas, and returns the first found.
|
Mono<GetReplicaResult> |
ReactiveCollection.getAnyReplica(String id,
GetAnyReplicaOptions options) |
Reads all available replicas, and returns the first found.
|