|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jamonapi.AccumulateMonitor
com.jamonapi.TimeStatsMonitor
Monitor that keeps track of various timing statistics such as max, min, average, hits, total, and standard deviation.
Field Summary |
---|
Fields inherited from class com.jamonapi.AccumulateMonitor |
---|
accrued, ACTIVE, AVG, AVGACTIVE, HITS, MAX, MAXACTIVE, MILLISECONDS, MIN, NONE, STANDARD_DEVIATION, TOTAL |
Constructor Summary | |
---|---|
TimeStatsMonitor()
|
|
TimeStatsMonitor(AccumulateMonitorInterface childMonitor)
|
Method Summary | |
---|---|
long |
getAccrued()
Returned the total accrued time for this monitor |
protected void |
getDataThis(java.util.ArrayList rowData)
Add this Monitor's accrued value in string format to an ArrayList. |
protected void |
getHeaderThis(java.util.ArrayList header)
|
protected void |
increaseThis(long value)
Called when increase() is called by the stop() method. |
static void |
main(java.lang.String[] args)
The main method contains this classes test code |
protected void |
resetThis()
Reset all variables for this object. |
protected java.lang.String |
toStringThis()
Make a String representation of this object. |
Methods inherited from class com.jamonapi.AccumulateMonitor |
---|
convertToString, getAccruedString, getData, getDisplayString, getHeader, getType, getUnits, increase, increase, isPrimary, reset, setPrimary, start, startThis, stop, stopThis, toString, toStringChild |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TimeStatsMonitor()
public TimeStatsMonitor(AccumulateMonitorInterface childMonitor)
Method Detail |
protected void increaseThis(long value)
increaseThis
in class AccumulateMonitor
protected void resetThis()
resetThis
in class AccumulateMonitor
protected java.lang.String toStringThis()
toStringThis
in class AccumulateMonitor
protected void getDataThis(java.util.ArrayList rowData)
AccumulateMonitor
getDataThis
in class AccumulateMonitor
protected void getHeaderThis(java.util.ArrayList header)
getHeaderThis
in class AccumulateMonitor
public long getAccrued()
getAccrued
in interface MinimalMonitor
getAccrued
in class AccumulateMonitor
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |