com.jcoverage.coverage
Class SaveInstrumentationTask

java.lang.Object
  extended byjava.util.TimerTask
      extended bycom.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
           
 
Fields inherited from class java.util.TimerTask
 
Constructor Summary
(package private) 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