net.sf.farrago.db
Class FarragoDatabase.WatchdogTask

java.lang.Object
  extended by java.util.TimerTask
      extended by net.sf.farrago.util.FarragoTimerTask
          extended by net.sf.farrago.db.FarragoDatabase.WatchdogTask
All Implemented Interfaces:
Runnable
Enclosing class:
FarragoDatabase

private class FarragoDatabase.WatchdogTask
extends FarragoTimerTask

1 Hz task for background activities. Currently all it does is re-read the trace configuration file whenever it changes.


Field Summary
private  long prevTraceConfigTimestamp
           
 
Constructor Summary
FarragoDatabase.WatchdogTask()
           
 
Method Summary
private  void checkTraceConfig()
           
protected  void runTimer()
          Runs the timer action as specified by subclass.
 
Methods inherited from class net.sf.farrago.util.FarragoTimerTask
run
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prevTraceConfigTimestamp

private long prevTraceConfigTimestamp
Constructor Detail

FarragoDatabase.WatchdogTask

FarragoDatabase.WatchdogTask()
Method Detail

runTimer

protected void runTimer()
Description copied from class: FarragoTimerTask
Runs the timer action as specified by subclass.

Specified by:
runTimer in class FarragoTimerTask

checkTraceConfig

private void checkTraceConfig()