ShutdownHookThread

class ShutdownHookThread extends Thread

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

Companion
object
Source
ShutdownHookThread.scala
class Thread
trait Runnable
class Object
trait Matchable
class Any

Value members

Concrete methods

Inherited methods

final def checkAccess(): Unit
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(since = "1.2", forRemoval = true) @deprecated("see corresponding Javadoc for more information.", "")
Deprecated
Inherited from
Thread
@Deprecated(since = "1.2") @deprecated("see corresponding Javadoc for more information.", "")
final def resume(): Unit
Deprecated
Inherited from
Thread
@Deprecated(since = "1.2") @deprecated("see corresponding Javadoc for more information.", "")
final def stop(): Unit
Deprecated
Inherited from
Thread
@Deprecated(since = "1.2") @deprecated("see corresponding Javadoc for more information.", "")
final def suspend(): Unit
Deprecated
Inherited from
Thread