threadUnsafe

scala.annotation.threadUnsafe
final class threadUnsafe extends StaticAnnotation

This annotation can only be used on a field which defines a lazy val. When this annotation is used, the initialization of the lazy val will use a faster mechanism which is not thread-safe.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view