LazyVals

scala.runtime.LazyVals$
object LazyVals

Helper methods used in thread-safe lazy vals.

Attributes

Source
LazyVals.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LazyVals.type

Members list

Type members

Classlikes

Used to indicate the state of a lazy val that is currently being evaluated with no other thread awaiting its result.

Used to indicate the state of a lazy val that is currently being evaluated with no other thread awaiting its result.

Attributes

Source
LazyVals.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Evaluating.type
sealed trait LazyValControlState

Attributes

Source
LazyVals.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Evaluating.type
object NullValue.type
class Waiting
object Names

Attributes

Source
LazyVals.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Names.type

Used to indicate the state of a lazy val that has been evaluated to null.

Used to indicate the state of a lazy val that has been evaluated to null.

Attributes

Source
LazyVals.scala
Supertypes
class Object
trait Matchable
class Any
Self type
NullValue.type

Used to indicate the state of a lazy val that is being evaluated and of which other threads await the result.

Used to indicate the state of a lazy val that is being evaluated and of which other threads await the result.

Attributes

Source
LazyVals.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def CAS(t: Object, offset: Long, e: Long, v: Int, ord: Int): Boolean

Attributes

Source
LazyVals.scala
def STATE(cur: Long, ord: Int): Long

Attributes

Source
LazyVals.scala
def get(t: Object, off: Long): Long

Attributes

Source
LazyVals.scala
def getOffset(clz: Class[_], name: String): Long

Attributes

Source
LazyVals.scala
def getOffsetStatic(field: Field): Long

Attributes

Source
LazyVals.scala

Attributes

Source
LazyVals.scala
def objCAS(t: Object, offset: Long, exp: Object, n: Object): Boolean

Attributes

Source
LazyVals.scala
def setFlag(t: Object, offset: Long, v: Int, ord: Int): Unit

Attributes

Source
LazyVals.scala
def wait4Notification(t: Object, offset: Long, cur: Long, ord: Int): Unit

Attributes

Source
LazyVals.scala

Concrete fields

final val BITS_PER_LAZY_VAL: 2L

Attributes

Source
LazyVals.scala