object ParticipantMetadataBackend
Provides primitive backend operations for managing: - annotations of a resource, - resource versioning and concurrent change control.
- Alphabetic
- By Inheritance
- ParticipantMetadataBackend
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def addAnnotation(annotationsTableName: String)(internalId: Int, key: String, value: String, updatedAt: Long)(connection: Connection): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def compareAndIncreaseResourceVersion(tableName: String)(internalId: Int, expectedResourceVersion: Long)(connection: Connection): Boolean
Invokes a query to increase the version number of a resource if the currently stored version matches the expected value.
Invokes a query to increase the version number of a resource if the currently stored version matches the expected value. If there are multiple transactions executing this query then the first transaction will proceed and all the others will wait until the first transaction commits or aborts. This behavior should be obtainable by using Read Committed isolation level.
- returns
True on a successful update. False when no rows were updated (indicating a wrong internal_id or a wrong expected version number).
- def deleteAnnotations(annotationsTableName: String)(internalId: Int)(connection: Connection): Unit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAnnotations(annotationsTableName: String)(internalId: Int)(connection: Connection): Map[String, String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def increaseResourceVersion(tableName: String)(internalId: Int)(connection: Connection): Boolean
Invokes a query to increase the version number of a resource.
Invokes a query to increase the version number of a resource. If there are multiple transactions executing this query then the first transaction will proceed and all the others will wait until the first transaction commits or aborts. This behavior should be obtainable by using Read Committed isolation level.
- returns
True on a successful update. False when no rows were updated (indicating a wrong internal_id).
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])