Uses of Class
com.couchbase.client.java.kv.ReplaceOptions
-
Packages that use ReplaceOptions 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. -
-
Uses of ReplaceOptions in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type ReplaceOptions Modifier and Type Method Description CompletableFuture<MutationResult>
AsyncCollection. replace(String id, Object content, ReplaceOptions options)
Replaces a full document which already exists with custom options.MutationResult
Collection. replace(String id, Object content, ReplaceOptions options)
Replaces a full document which already exists with custom options.Mono<MutationResult>
ReactiveCollection. replace(String id, Object content, ReplaceOptions options)
Replaces a full document which already exists with custom options. -
Uses of ReplaceOptions in com.couchbase.client.java.kv
Methods in com.couchbase.client.java.kv that return ReplaceOptions Modifier and Type Method Description ReplaceOptions
ReplaceOptions. cas(long cas)
Specifies a CAS value that will be taken into account on the server side for optimistic concurrency.ReplaceOptions
ReplaceOptions. expiry(Duration expiry)
Sets the expiry for the document.ReplaceOptions
ReplaceOptions. expiry(Instant expiry)
Sets the expiry for the document.ReplaceOptions
ReplaceOptions. preserveExpiry(boolean preserveExpiry)
Specifies whether the document's expiry should be preserved.static ReplaceOptions
ReplaceOptions. replaceOptions()
ReplaceOptions
ReplaceOptions. transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to encode the content of the request.
-