case class CounterResult(cas: Long, mutationToken: Option[MutationToken], content: Long) extends HasDurabilityTokens with Product with Serializable
Contains the result of a successful mutation against a counter document or field.
- cas
each Couchbase document has a CAS value, which is increased (not necessarily monotonically) on each successful mutation. This is the updated post-mutation value.
- mutationToken
if the com.couchbase.client.scala.env.ClusterEnvironment's
ioConfig() .mutationTokensEnabled()
field is true (which is recommended), this will contain aMutationToken
providing additional context on the mutation.- content
the post-update content of the counter
- Alphabetic
- By Inheritance
- CounterResult
- Serializable
- Product
- Equals
- HasDurabilityTokens
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CounterResult(cas: Long, mutationToken: Option[MutationToken], content: Long)
- cas
each Couchbase document has a CAS value, which is increased (not necessarily monotonically) on each successful mutation. This is the updated post-mutation value.
- mutationToken
if the com.couchbase.client.scala.env.ClusterEnvironment's
ioConfig() .mutationTokensEnabled()
field is true (which is recommended), this will contain aMutationToken
providing additional context on the mutation.- content
the post-update content of the counter
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cas: Long
- Definition Classes
- CounterResult → HasDurabilityTokens
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val content: Long
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val mutationToken: Option[MutationToken]
- Definition Classes
- CounterResult → HasDurabilityTokens
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated