java.lang.Object
java.lang.Thread
com.flexstor.flexdbserver.services.io.IntervalTimer
- All Implemented Interfaces:
- java.lang.Runnable
- public class IntervalTimer
- extends java.lang.Thread
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
|
Method Summary |
void |
run()
The run() method is called by the thread in response to it's start()
method being called by the application |
void |
stopTimer()
Use this method, instead of the java.lang.Thread#stop() method to cancel
the execution of the run method in a nicely fashion as the java.lang.Thread#stop()
method is deprecated. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, 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 |
nInterval
protected int nInterval
refObjectToTell
protected IIntervalTimer refObjectToTell
IntervalTimer
public IntervalTimer(IIntervalTimer refObjectToTell,
int nInterval)
run
public void run()
- The run() method is called by the thread in response to it's start()
method being called by the application
stopTimer
public void stopTimer()
- Use this method, instead of the java.lang.Thread#stop() method to cancel
the execution of the run method in a nicely fashion as the java.lang.Thread#stop()
method is deprecated.