public class ShutdownThread
extends java.lang.Thread
| Modifier and Type | Method | Description |
|---|---|---|
static void |
deregister(LifeCycle lifeCycle) |
|
static ShutdownThread |
getInstance() |
Returns the instance of the singleton
|
static boolean |
isRegistered(LifeCycle lifeCycle) |
|
static void |
register(int index,
LifeCycle... lifeCycles) |
|
static void |
register(LifeCycle... lifeCycles) |
|
void |
run() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, 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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static ShutdownThread getInstance()
ShutdownThreadpublic static void register(LifeCycle... lifeCycles)
public static void register(int index,
LifeCycle... lifeCycles)
public static void deregister(LifeCycle lifeCycle)
public static boolean isRegistered(LifeCycle lifeCycle)
public void run()
run in class java.lang.ThreadCopyright © 1995–2018 Webtide. All rights reserved.