public class Timer
extends java.lang.Thread
Constructor and Description |
---|
Timer(ITimerHandler timerHandler,
long timerInterval) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAlive() |
long |
getTimerInterval() |
boolean |
isRunning() |
void |
run() |
void |
setAlive(boolean alive) |
void |
setRunning(boolean running) |
void |
setTimerInterval(long timerInterval) |
void |
shutdown() |
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 Timer(ITimerHandler timerHandler, long timerInterval)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public boolean isRunning()
public void setRunning(boolean running)
public boolean getAlive()
public void setAlive(boolean alive)
public long getTimerInterval()
public void setTimerInterval(long timerInterval)
public void shutdown()