Class ShutdownHook
java.lang.Object
java.lang.Thread
org.torproject.metrics.collector.cron.ShutdownHook
- All Implemented Interfaces:
java.lang.Runnable
public final class ShutdownHook
extends java.lang.Thread
Scheduler that starts the modules configured in collector.properties.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ShutdownHook()
Names the shutdown thread for debugging purposes. -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, 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, suspend, toString, yield
-
Constructor Details
-
ShutdownHook
public ShutdownHook()Names the shutdown thread for debugging purposes.
-
-
Method Details