Package com.couchbase.client.java.kv
Class GetAnyReplicaOptions
java.lang.Object
com.couchbase.client.java.CommonOptions<GetAnyReplicaOptions>
com.couchbase.client.java.kv.GetAnyReplicaOptions
public class GetAnyReplicaOptions extends CommonOptions<GetAnyReplicaOptions>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
GetAnyReplicaOptions.Built
Nested classes/interfaces inherited from class com.couchbase.client.java.CommonOptions
CommonOptions.BuiltCommonOptions
-
Method Summary
Modifier and Type Method Description GetAnyReplicaOptions.Built
build()
static GetAnyReplicaOptions
getAnyReplicaOptions()
Creates a new set ofGetAnyReplicaOptions
.GetAnyReplicaOptions
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
-
getAnyReplicaOptions
Creates a new set ofGetAnyReplicaOptions
.- 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.
-
build
-