public class H2DBCleanupHook extends H2DBShutdownHook
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
H2DBCleanupHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(H2DBLock lock)
Add the shutdown hook.
|
void |
remove()
Removes the shutdown hook.
|
void |
run()
Releases the custom h2 lock file used by dependency-check.
|
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 void add(H2DBLock lock)
add in class H2DBShutdownHooklock - the lock objectpublic void remove()
remove in class H2DBShutdownHookCopyright © 2012–2020 OWASP. All rights reserved.