ShutdownHookThread

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
Inherited from
Thread
def getId(): Long
Inherited from
Thread
final
Inherited from
Thread
final
Inherited from
Thread
Inherited from
Thread
Inherited from
Thread
Inherited from
Thread
final
Inherited from
Thread
final
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
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