private class AlarmWatch.AlarmNotify extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
AlarmNotify()
Constructs a new notification thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
checks the elapsed time on the stop watch.
|
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 AlarmNotify()
public void run()
AlarmWatch.KEY_ACCURACY intervalls until the
AlarmWatch.KEY_ALARM time has elapsed and then notifies the monitor.