Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.flexdbserver.services.io
Class IntervalTimer  view IntervalTimer download IntervalTimer.java

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.flexstor.flexdbserver.services.io.IntervalTimer
All Implemented Interfaces:
java.lang.Runnable

public class IntervalTimer
extends java.lang.Thread


Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  int nInterval
           
protected  IIntervalTimer refObjectToTell
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
IntervalTimer(IIntervalTimer refObjectToTell, int nInterval)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nInterval

protected int nInterval

refObjectToTell

protected IIntervalTimer refObjectToTell
Constructor Detail

IntervalTimer

public IntervalTimer(IIntervalTimer refObjectToTell,
                     int nInterval)
Method Detail

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.