public class TimerThread
extends java.lang.Thread
A thread which sleeps for a specified time period, then wakes up and terminates the VM.
Modifier and Type | Field and Description |
---|---|
private boolean |
_continueRunning |
private long |
_sleepTime |
Constructor and Description |
---|
TimerThread(long sleepTime) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
stopNow()
This method marks the thread for rundown
|
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
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.