LazyVals
scala.runtime.LazyVals
object LazyVals
Helper methods used in thread-safe lazy vals.
Attributes
- Source
- LazyVals.scala
- Graph
-
- Supertypes
- Self type
-
LazyVals.type
Members list
Type members
Classlikes
object Evaluating extends LazyValControlState
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
- Self type
-
Evaluating.type
sealed trait LazyValControlState extends Serializable
Attributes
- Source
- LazyVals.scala
- Supertypes
- Known subtypes
object Names
Attributes
- Source
- LazyVals.scala
- Supertypes
- Self type
-
Names.type
object NullValue extends LazyValControlState
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
- Self type
-
NullValue.type
final class Waiting extends CountDownLatch, LazyValControlState
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 LazyValControlStatetrait Serializableclass CountDownLatchclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Attributes
- Source
- LazyVals.scala
Attributes
- Source
- LazyVals.scala
Attributes
- Source
- LazyVals.scala
Attributes
- Source
- LazyVals.scala
Concrete fields
Attributes
- Source
- LazyVals.scala
In this article