public abstract class AutoShutOff
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_TIMEOUT |
private long |
lastQuery |
private boolean |
running |
private long |
timeout |
Constructor and Description |
---|
AutoShutOff() |
AutoShutOff(long timeout) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
run() |
(package private) abstract void |
shutOff() |
void |
update() |
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, yield
public static final long DEFAULT_TIMEOUT
private long lastQuery
private volatile boolean running
private final long timeout