Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
void |
addDisposable(Disposable disposable) |
void |
addDisposable(Disposable disposable,
int priority) |
void |
destroyAll() |
static ShutdownHook |
getInstance() |
static void |
removeRuntimeShutdownHook()
for spring context
|
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, yieldpublic static ShutdownHook getInstance()
public void addDisposable(Disposable disposable)
public void addDisposable(Disposable disposable, int priority)
public void destroyAll()
public static void removeRuntimeShutdownHook()
Copyright © 2023 Seata. All rights reserved.