Package com.couchbase.client.java.kv
Class GetAllReplicasOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<GetAllReplicasOptions>
com.couchbase.client.java.kv.GetAllReplicasOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static GetAllReplicasOptions
Creates a new set ofGetAllReplicasOptions
.readPreference
(ReadPreference readPreference) Set a read preference for this operation.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to decode the content of the result.Methods inherited from class com.couchbase.client.java.CommonOptions
clientContext, parentSpan, retryStrategy, self, timeout
-
Method Details
-
getAllReplicasOptions
Creates a new set ofGetAllReplicasOptions
.- Returns:
- options to customize.
-
transcoder
Allows to specify a custom transcoder that is used to decode the content of the result.- Parameters:
transcoder
- the custom transcoder that should be used for decoding.- Returns:
- the
GetOptions
to allow method chaining.
-
readPreference
Set a read preference for this operation.- Returns:
- this to allow method chaining.
- See Also:
-
build
-