Jvmstat

sun.jvmstat.perfdata.monitor
Class CountedTimerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by sun.jvmstat.perfdata.monitor.CountedTimerTask
All Implemented Interfaces:
Runnable

public class CountedTimerTask
extends TimerTask

A TimerTask subclass that keeps a count of the number of executions of the task.

Since:
1.5

Constructor Summary
CountedTimerTask()
           
 
Method Summary
 long executionCount()
           
 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
 

Constructor Detail

CountedTimerTask

public CountedTimerTask()
Method Detail

executionCount

public long executionCount()

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

Jvmstat