public final class PooledAlarmTimer extends Thread implements AlarmTimer
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
PooledAlarmTimer(long timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlarmTimerListener(AlarmTimerListener lstnr) |
long |
getTimeout() |
boolean |
isActive() |
void |
removeAlarmTimerListener(AlarmTimerListener lstnr) |
void |
run() |
void |
stopTimer() |
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 addAlarmTimerListener(AlarmTimerListener lstnr)
addAlarmTimerListener in interface AlarmTimerpublic void removeAlarmTimerListener(AlarmTimerListener lstnr)
removeAlarmTimerListener in interface AlarmTimerpublic long getTimeout()
getTimeout in interface AlarmTimerpublic boolean isActive()
isActive in interface AlarmTimerpublic void stopTimer()
stopTimer in interface AlarmTimerCopyright © 2023. All rights reserved.