sun.jvmstat.perfdata.monitor
Class CountedTimerTask
java.lang.Object
java.util.TimerTask
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountedTimerTask
public CountedTimerTask()
executionCount
public long executionCount()
run
public void run()
- Specified by:
run
in interface Runnable
- Specified by:
run
in class TimerTask