com.jamonapi
Class TimeStatsMonitor
java.lang.Object
|
+--com.jamonapi.AccumulateMonitor
|
+--com.jamonapi.TimeStatsMonitor
- All Implemented Interfaces:
- AccumulateMonitorInterface, MinimalMonitor
- public class TimeStatsMonitor
- extends AccumulateMonitor
Monitor that keeps track of various timing statistics such as max, min, average, hits, total, and standard deviation.
Method Summary |
long |
getAccrued()
Returned the total accrued time for this monitor |
static void |
main(java.lang.String[] args)
The main method contains this classes test code |
Methods inherited from class com.jamonapi.AccumulateMonitor |
getAccruedString, getData, getHeader, getType, getUnits, increase, increase, isPrimary, reset, setPrimary, start, stop, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TimeStatsMonitor
public TimeStatsMonitor()
TimeStatsMonitor
public TimeStatsMonitor(AccumulateMonitorInterface childMonitor)
getAccrued
public long getAccrued()
- Returned the total accrued time for this monitor
- Specified by:
getAccrued
in interface MinimalMonitor
- Overrides:
getAccrued
in class AccumulateMonitor
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- The main method contains this classes test code
java.lang.Exception