Uses of Class
com.couchbase.client.java.kv.GetAllReplicasOptions
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
Namespace for various kv-service related classes.
-
Uses of GetAllReplicasOptions in com.couchbase.client.java
Modifier and TypeMethodDescriptionAsyncCollection.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.Collection.getAllReplicas
(String id, GetAllReplicasOptions options) Reads all available or one replica and returns the results as a stream with custom options.ReactiveCollection.getAllReplicas
(String id, GetAllReplicasOptions options) Reads all available replicas, including the active, and returns the results as a flux. -
Uses of GetAllReplicasOptions in com.couchbase.client.java.kv
Modifier and TypeMethodDescriptionstatic GetAllReplicasOptions
GetAllReplicasOptions.getAllReplicasOptions()
Creates a new set ofGetAllReplicasOptions
.GetAllReplicasOptions.readPreference
(ReadPreference readPreference) Set a read preference for this operation.GetAllReplicasOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to decode the content of the result.