Packages

class Thread extends Runnable

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

Instance Constructors

  1. new Thread(group: ThreadGroup, target: Runnable, name: String)
  2. new Thread(target: Runnable, name: String)
  3. new Thread(group: ThreadGroup, name: String)
  4. new Thread(name: String)
  5. new Thread(group: ThreadGroup, target: Runnable)
  6. new Thread(target: Runnable)
  7. new Thread()
  8. new Thread(group: ThreadGroup, target: Runnable, name: String, stacksize: scala.Long)
  9. new Thread(group: ThreadGroup, task: Runnable, name: String, stackSize: scala.Long, inheritThreadLocals: scala.Boolean)

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    Thread → AnyRef
  6. final def eq(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def getName(): String
  11. final def getPriority(): Int
  12. def getStackTrace(): Array[StackTraceElement]
  13. def getState(): State
  14. final def getThreadGroup(): ThreadGroup
  15. def getUncaughtExceptionHandler(): UncaughtExceptionHandler
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def interrupt(): Unit
  18. final def isAlive(): scala.Boolean
  19. final def isDaemon(): scala.Boolean
  20. final def isInstanceOf[T0]: scala.Boolean
    Definition Classes
    Any
  21. def isInterrupted(): scala.Boolean
  22. final def isVirtual(): scala.Boolean
  23. final def join(duration: Duration): scala.Boolean
    Annotations
    @throws("if the current thread is interrupted while waiting") @throws("if this thread has not been started")
  24. final def join(ml: scala.Long, n: Int): Unit
  25. final def join(millis: scala.Long): Unit
  26. final def join(): Unit
  27. final def ne(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def run(): Unit
    Definition Classes
    ThreadRunnable
  31. final def setDaemon(on: scala.Boolean): Unit
  32. final def setName(name: String): Unit
  33. final def setPriority(priority: Int): Unit
  34. def setUncaughtExceptionHandler(eh: UncaughtExceptionHandler): Unit
  35. def start(): Unit
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. final def threadId(): scala.Long
  38. val tid: scala.Long
    Attributes
    protected
  39. def toString(): String
    Definition Classes
    Thread → AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: scala.Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: scala.Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def checkAccess(): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 17) Deprecated for removal

  2. def destroy(): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 1.7) Deprecated for removal

  3. def getId(): scala.Long
    Annotations
    @deprecated
    Deprecated

    (Since version JDK 19) This method is not final and may be overridden to return a value that is not the thread ID. Use threadId() instead.

  4. final def resume(): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 1.7) Deprecated for removal

  5. final def stop(throwable: Throwable): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 1.7) Deprecated for removal

  6. final def stop(): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 1.7) Deprecated for removal

  7. final def suspend(): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 1.7) Deprecated for removal

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped