class ThreadLocalScope extends ProxyingScope with ThreadLocalScopeStorage
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ThreadLocalScope
- ThreadLocalScopeStorage
- ProxyingScope
- Scope
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ThreadLocalScope()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[T](createT: ⇒ T)(implicit tag: ClassTag[T]): T
Create a scoped value with the given factory class.
Create a scoped value with the given factory class.
- Definition Classes
- ProxyingScope → Scope
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
associate(storage: Map[String, Any]): Unit
- Definition Classes
- ThreadLocalScopeStorage
-
def
associate(storage: Map[String, Any]): Unit
- Definition Classes
- ThreadLocalScopeStorage
-
def
associate(storage: ScopeStorage): Unit
- Definition Classes
- ThreadLocalScopeStorage
-
def
associateWithEmptyStorage(): Unit
- Definition Classes
- ThreadLocalScopeStorage
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
disassociate(): Unit
- Definition Classes
- ThreadLocalScopeStorage
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get[T](key: String, createT: ⇒ T): T
Get an instance from the current scope, for the specified key, using the given factory class to create an instance if not yet created.
Get an instance from the current scope, for the specified key, using the given factory class to create an instance if not yet created.
- Definition Classes
- ThreadLocalScopeStorage → Scope
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withEmptyStorage[T](body: ⇒ T): T
- Definition Classes
- ThreadLocalScopeStorage
-
def
withStorage[T](storage: Map[String, Any])(body: ⇒ T): T
- Definition Classes
- ThreadLocalScopeStorage
-
def
withStorage[T](storage: Map[String, Any])(body: ⇒ T): T
- Definition Classes
- ThreadLocalScopeStorage
-
def
withStorage[T](storage: ScopeStorage)(body: ⇒ T): T
- Definition Classes
- ThreadLocalScopeStorage