o
com.google.spanner.v1.transaction.TransactionOptions.ReadWrite
ReadLockMode
Companion class ReadLockMode
object ReadLockMode extends GeneratedEnumCompanion[ReadLockMode]
- Source
- TransactionOptions.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReadLockMode
- GeneratedEnumCompanion
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- sealed trait Recognized extends ReadLockMode
- final case class Unrecognized(unrecognizedValue: Int) extends ReadLockMode with UnrecognizedEnum with Product with Serializable
- Annotations
- @SerialVersionUID()
- type ValueType = ReadLockMode
- Definition Classes
- GeneratedEnumCompanion
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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit def enumCompanion: GeneratedEnumCompanion[ReadLockMode]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromName(name: String): Option[ReadLockMode]
- Definition Classes
- GeneratedEnumCompanion
- def fromValue(__value: Int): ReadLockMode
- Definition Classes
- ReadLockMode → GeneratedEnumCompanion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaDescriptor: EnumDescriptor
- Definition Classes
- ReadLockMode → GeneratedEnumCompanion
- 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()
- def scalaDescriptor: EnumDescriptor
- Definition Classes
- ReadLockMode → GeneratedEnumCompanion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val values: Seq[ValueType]
- Definition Classes
- ReadLockMode → GeneratedEnumCompanion
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- case object OPTIMISTIC extends ReadLockMode with Recognized with Product with Serializable
Optimistic lock mode.
Optimistic lock mode.
Locks for reads within the transaction are not acquired on read. Instead the locks are acquired on a commit to validate that read/queried data has not changed since the transaction started.
- Annotations
- @SerialVersionUID()
- case object PESSIMISTIC extends ReadLockMode with Recognized with Product with Serializable
Pessimistic lock mode.
Pessimistic lock mode.
Read locks are acquired immediately on read.
- Annotations
- @SerialVersionUID()
- case object READ_LOCK_MODE_UNSPECIFIED extends ReadLockMode with Recognized with Product with Serializable
Default value.
Default value.
If the value is not specified, the pessimistic read lock is used.
- Annotations
- @SerialVersionUID()