Packages

class ShutdownHookThread extends Thread

A minimal Thread wrapper to enhance shutdown hooks. It knows how to unregister itself.

Source
ShutdownHookThread.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShutdownHookThread
  2. Thread
  3. Runnable
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def checkAccess(): Unit
    Definition Classes
    Thread
  2. def getContextClassLoader(): ClassLoader
    Definition Classes
    Thread
    Annotations
    @CallerSensitive()
  3. def getId(): Long
    Definition Classes
    Thread
  4. final def getName(): String
    Definition Classes
    Thread
  5. final def getPriority(): Int
    Definition Classes
    Thread
  6. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Thread
  7. def getState(): State
    Definition Classes
    Thread
  8. final def getThreadGroup(): ThreadGroup
    Definition Classes
    Thread
  9. def getUncaughtExceptionHandler(): UncaughtExceptionHandler
    Definition Classes
    Thread
  10. def interrupt(): Unit
    Definition Classes
    Thread
  11. final def isAlive(): Boolean
    Definition Classes
    Thread
    Annotations
    @native()
  12. final def isDaemon(): Boolean
    Definition Classes
    Thread
  13. def isInterrupted(): Boolean
    Definition Classes
    Thread
  14. final def join(): Unit
    Definition Classes
    Thread
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  15. final def join(arg0: Long, arg1: Int): Unit
    Definition Classes
    Thread
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  16. final def join(arg0: Long): Unit
    Definition Classes
    Thread
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. def remove(): Boolean
  18. def run(): Unit
    Definition Classes
    Thread → Runnable
  19. def setContextClassLoader(arg0: ClassLoader): Unit
    Definition Classes
    Thread
  20. final def setDaemon(arg0: Boolean): Unit
    Definition Classes
    Thread
  21. final def setName(arg0: String): Unit
    Definition Classes
    Thread
  22. final def setPriority(arg0: Int): Unit
    Definition Classes
    Thread
  23. def setUncaughtExceptionHandler(arg0: UncaughtExceptionHandler): Unit
    Definition Classes
    Thread
  24. def start(): Unit
    Definition Classes
    Thread
  25. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    Thread → AnyRef → Any

Deprecated Value Members

  1. def countStackFrames(): Int
    Definition Classes
    Thread
    Annotations
    @Deprecated @native()
    Deprecated
  2. def destroy(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated
  3. final def resume(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated
  4. final def stop(arg0: java.lang.Throwable): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated
  5. final def stop(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated
  6. final def suspend(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated
    Deprecated