Key

rescala.locking.Key
final class Key[InterTurn](val turn: InterTurn)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def lockKeychain[R](f: (Keychain[InterTurn]) => R): R
def releaseAll(): Unit

release all locks we hold or transfer them to a waiting transaction if there is one holds the master lock for request

release all locks we hold or transfer them to a waiting transaction if there is one holds the master lock for request

Attributes

def reset(): Unit
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Concrete fields

val id: Long
val turn: InterTurn