public class WriteLockCleanupHook extends WriteLockShutdownHook
| Constructor and Description |
|---|
WriteLockCleanupHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(WriteLock 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(WriteLock lock)
add in class WriteLockShutdownHooklock - the lock objectpublic void remove()
remove in class WriteLockShutdownHookpublic void run()
run in interface java.lang.Runnablerun in class java.lang.ThreadCopyright© 2012-21 Jeremy Long. All Rights Reserved.