Uses of Class
com.couchbase.client.java.kv.DecrementOptions
-
Packages that use DecrementOptions 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 DecrementOptions in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type DecrementOptions Modifier and Type Method Description CompletableFuture<CounterResult>
AsyncBinaryCollection. decrement(String id, DecrementOptions options)
Decrements the counter document by one or the number defined in the options.CounterResult
BinaryCollection. decrement(String id, DecrementOptions options)
Decrements the counter document by one or the number defined in the options.Mono<CounterResult>
ReactiveBinaryCollection. decrement(String id, DecrementOptions options)
Decrements the counter document by one or the number defined in the options. -
Uses of DecrementOptions in com.couchbase.client.java.kv
Methods in com.couchbase.client.java.kv that return DecrementOptions Modifier and Type Method Description DecrementOptions
DecrementOptions. cas(long cas)
Specifies a CAS value that will be taken into account on the server side for optimistic concurrency.static DecrementOptions
DecrementOptions. decrementOptions()
Creates a newDecrementOptions
.DecrementOptions
DecrementOptions. delta(long delta)
The amount of which the document value should be decremented.DecrementOptions
DecrementOptions. expiry(Duration expiry)
Set a custom expiration time for the document (by default no expiry is set).DecrementOptions
DecrementOptions. initial(long initial)
The initial value that should be used if the document has not been created yet.
-