ShutdownHookThread

class ShutdownHookThread extends Thread

A minimal Thread wrapper to enhance shutdown hooks.

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

Companion
object
class Thread
trait Runnable
class Object
trait Matchable
class Any

Value members

Concrete methods

def remove(): Boolean

Inherited methods

final def checkAccess(): Unit
Inherited from
Thread
@CallerSensitive
Inherited from
Thread
def getId(): Long
Inherited from
Thread
final def getName(): String
Inherited from
Thread
final def getPriority(): Int
Inherited from
Thread
def getState(): State
Inherited from
Thread
Inherited from
Thread
def interrupt(): Unit
Inherited from
Thread
final def isAlive(): Boolean
Inherited from
Thread
final def isDaemon(): Boolean
Inherited from
Thread
Inherited from
Thread
@throws(java.lang.InterruptedException)
final def join(): Unit
Inherited from
Thread
@throws(java.lang.InterruptedException)
final def join(`x$0`: Long, `x$1`: Int): Unit
Inherited from
Thread
@throws(java.lang.InterruptedException)
final def join(`x$0`: Long): Unit
Inherited from
Thread
def run(): Unit
Inherited from
Thread
Inherited from
Thread
final def setDaemon(`x$0`: Boolean): Unit
Inherited from
Thread
final def setName(`x$0`: String): Unit
Inherited from
Thread
final def setPriority(`x$0`: Int): Unit
Inherited from
Thread
def start(): Unit
Inherited from
Thread
Inherited from
Thread

Deprecated and Inherited methods

@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
Deprecated
Inherited from
Thread
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def destroy(): Unit
Deprecated
Inherited from
Thread
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
final def resume(): Unit
Deprecated
Inherited from
Thread
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
final def stop(`x$0`: Throwable): Unit
Deprecated
Inherited from
Thread
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
final def stop(): Unit
Deprecated
Inherited from
Thread
@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
final def suspend(): Unit
Deprecated
Inherited from
Thread