Packages

c

java.lang

InheritableThreadLocal

class InheritableThreadLocal[T <: AnyRef] extends ThreadLocal[T]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InheritableThreadLocal
  2. ThreadLocal
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InheritableThreadLocal()

Value Members

  1. final def !=(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def childValue(parentValue: T): T

    Computes the initial value of this thread-local variable for the child thread given the parent thread's value.

    Computes the initial value of this thread-local variable for the child thread given the parent thread's value. Called from the parent thread when creating a child thread. The default implementation returns the parent thread's value.

    parentValue

    the value of the variable in the parent thread.

    returns

    the initial value of the variable for the child thread.

    Attributes
    protected
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def get(): T

    Returns the value of this variable for the current thread.

    Returns the value of this variable for the current thread. If an entry doesn't yet exist for this variable on this thread, this method will create an entry, populating the value with the result of initialValue.

    Definition Classes
    ThreadLocal
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def initialValue(): T

    Provides the initial value of this variable for the current thread.

    Provides the initial value of this variable for the current thread. The default implementation returns null.

    Attributes
    protected
    Definition Classes
    ThreadLocal
  14. def initializeValues(current: Thread): Values
    Attributes
    protected[lang]
    Definition Classes
    InheritableThreadLocalThreadLocal
  15. final def isInstanceOf[T0]: scala.Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def remove(): Unit

    Removes the entry for this variable in the current thread.

    Removes the entry for this variable in the current thread. If this call is followed by a get before a set, get will call initialValue and create a new entry with the resulting value.

    Definition Classes
    ThreadLocal
  20. def set(value: T): Unit

    Sets the value of this variable for the current thread.

    Sets the value of this variable for the current thread. If set to null, the value will be set to null and the underlying entry will still be present.

    Definition Classes
    ThreadLocal
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def values(current: Thread): Values

    Gets Values instance for this thread and variable type.

    Gets Values instance for this thread and variable type.

    Attributes
    protected[lang]
    Definition Classes
    InheritableThreadLocalThreadLocal
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: scala.Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: scala.Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ThreadLocal[T]

Inherited from AnyRef

Inherited from Any

Ungrouped