Modifier and Type | Class and Description |
---|---|
static interface |
KillHandler.Killable
Interface denoting an object which can be killed by the KillHandler
|
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected KillHandler.Killable |
killable |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier and Type | Method and Description |
---|---|
static void |
addKillhandler(KillHandler.Killable object)
Add a Killable objects to the shutdown list which are invoked when the runtime system
is terminating.
|
static void |
removeKillhandler(KillHandler.Killable object)
Remove a Killable objects from the shutdown list which are invoked when the runtime system
is terminating.
|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected final KillHandler.Killable killable
public static void addKillhandler(KillHandler.Killable object)
object
- the object with the kill handlerpublic static void removeKillhandler(KillHandler.Killable object)
object
- the object with the kill handlerTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow