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
trait Serializable
class Object
trait Matchable
class Any
Self type
Evaluating.type
sealed trait LazyValControlState extends Serializable

Attributes

Source
LazyVals.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object Evaluating
object NullValue
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
trait Serializable
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
trait Serializable
class Object
trait Matchable
class Any
Show all

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

Attributes

Source
LazyVals.scala

Attributes

Source
LazyVals.scala

Attributes

Source
LazyVals.scala

Attributes

Source
LazyVals.scala

Concrete fields

final val BITS_PER_LAZY_VAL: 2L

Attributes

Source
LazyVals.scala