Package | Description |
---|---|
com.couchbase.client.java |
Holds all classes that are needed for the Couchbase Java SDK.
|
com.couchbase.client.java.kv |
Namespace for various kv-service related classes.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Flux<GetReplicaResult> |
ReactiveCollection.getAllReplicas(String id,
GetAllReplicasOptions options)
Reads all available replicas, including the active, and returns the results as a flux.
|
Stream<GetReplicaResult> |
Collection.getAllReplicas(String id,
GetAllReplicasOptions options)
Reads all available or one replica and returns the results as a stream with custom options.
|
Modifier and Type | Method and Description |
---|---|
static GetAllReplicasOptions |
GetAllReplicasOptions.getAllReplicasOptions()
Creates a new set of
GetAllReplicasOptions . |
GetAllReplicasOptions |
GetAllReplicasOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to decode the content of the result.
|
Copyright © 2020 Couchbase, Inc.. All rights reserved.