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

def getId(): Long
Inherited from:
Thread
final def getName(): String
Inherited from:
Thread
final def getPriority(): Int
Inherited from:
Thread
Inherited from:
Thread
Inherited from:
Thread
Inherited from:
Thread
final def isAlive(): Boolean
Inherited from:
Thread
final def isDaemon(): Boolean
Inherited from:
Thread
Inherited from:
Thread
final def join(): Unit
Inherited from:
Thread
final def join(x$0: Long, x$1: Int): Unit
Inherited from:
Thread
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

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Inherited from:
Thread

Deprecated and Inherited methods

@Deprecated(since = "17", forRemoval = true)
final def checkAccess(): Unit
Deprecated
Inherited from:
Thread
@Deprecated(since = "1.2", forRemoval = true)
Deprecated
Inherited from:
Thread
@Deprecated(since = "1.2", forRemoval = true)
final def resume(): Unit
Deprecated
Inherited from:
Thread
@Deprecated(since = "1.2")
final def stop(): Unit
Deprecated
Inherited from:
Thread
@Deprecated(since = "1.2", forRemoval = true)
final def suspend(): Unit
Deprecated
Inherited from:
Thread