case class MutationResult(cas: Long, mutationToken: Option[MutationToken]) extends HasDurabilityTokens with Product with Serializable
Contains the result of a successful mutation.
- 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.
- Since
1.0.0
- Alphabetic
- By Inheritance
- MutationResult
- Serializable
- Serializable
- Product
- Equals
- HasDurabilityTokens
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
MutationResult(cas: Long, mutationToken: Option[MutationToken])
- 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.
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
- MutationResult → HasDurabilityTokens
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
mutationToken: Option[MutationToken]
- Definition Classes
- MutationResult → HasDurabilityTokens
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()