ShutdownHookThread

scala.sys.ShutdownHookThread
See theShutdownHookThread companion object
class ShutdownHookThread extends Thread

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

Attributes

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

Members list

Value members

Concrete methods

def remove(): Boolean

Attributes

Source
ShutdownHookThread.scala

Inherited methods

final def checkAccess(): Unit

Attributes

Inherited from:
Thread

Attributes

Inherited from:
Thread
def getId(): Long

Attributes

Inherited from:
Thread
final def getName(): String

Attributes

Inherited from:
Thread
final def getPriority(): Int

Attributes

Inherited from:
Thread

Attributes

Inherited from:
Thread
def getState(): State

Attributes

Inherited from:
Thread

Attributes

Inherited from:
Thread

Attributes

Inherited from:
Thread
def interrupt(): Unit

Attributes

Inherited from:
Thread
final def isAlive(): Boolean

Attributes

Inherited from:
Thread
final def isDaemon(): Boolean

Attributes

Inherited from:
Thread

Attributes

Inherited from:
Thread
final def join(): Unit

Attributes

Inherited from:
Thread
final def join(x$0: Long, x$1: Int): Unit

Attributes

Inherited from:
Thread
final def join(x$0: Long): Unit

Attributes

Inherited from:
Thread
def run(): Unit

Attributes

Inherited from:
Thread

Attributes

Inherited from:
Thread
final def setDaemon(x$0: Boolean): Unit

Attributes

Inherited from:
Thread
final def setName(x$0: String): Unit

Attributes

Inherited from:
Thread
final def setPriority(x$0: Int): Unit

Attributes

Inherited from:
Thread
def start(): Unit

Attributes

Inherited from:
Thread
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Thread

Deprecated and Inherited methods

@Deprecated(since = "1.2", forRemoval = true)

Attributes

Deprecated
true
Inherited from:
Thread
@Deprecated(since = "1.2")
final def resume(): Unit

Attributes

Deprecated
true
Inherited from:
Thread
@Deprecated(since = "1.2")
final def stop(): Unit

Attributes

Deprecated
true
Inherited from:
Thread
@Deprecated(since = "1.2")
final def suspend(): Unit

Attributes

Deprecated
true
Inherited from:
Thread