com.jcoverage.coverage
Class SaveInstrumentationTask

java.lang.Object
  extended by java.util.TimerTask
      extended by com.jcoverage.coverage.SaveInstrumentationTask
All Implemented Interfaces:
HasBeenInstrumented, java.lang.Runnable

 class SaveInstrumentationTask
extends java.util.TimerTask
implements HasBeenInstrumented

Timer task to save the instrumentation to disk.


Field Summary
(package private)  InstrumentationPersistence instrumentationPersistence
           
(package private) static org.apache.log4j.Logger logger
           
 
Constructor Summary
SaveInstrumentationTask(InstrumentationPersistence instrumentationPersistence)
           
 
Method Summary
 void 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

logger

static final org.apache.log4j.Logger logger

instrumentationPersistence

final InstrumentationPersistence instrumentationPersistence
Constructor Detail

SaveInstrumentationTask

SaveInstrumentationTask(InstrumentationPersistence instrumentationPersistence)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask