|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jamonapi.AccumulateMonitor
com.jamonapi.TimeStatsDistMonitor
TimeStatsDistMonitor keeps track of statistics for JAMon time ranges. See www.jamonapi.com for more info. One powerful feature of this class is that it correlates performance to the number of active monitors with this label, the number of primary active monitors and the number of globally active monitors.
Field Summary |
---|
Fields inherited from class com.jamonapi.AccumulateMonitor |
---|
accrued, ACTIVE, AVG, AVGACTIVE, HITS, MAX, MAXACTIVE, MILLISECONDS, MIN, NONE, STANDARD_DEVIATION, TOTAL |
Constructor Summary | |
---|---|
TimeStatsDistMonitor()
|
|
TimeStatsDistMonitor(AccumulateMonitorInterface childMonitor)
|
Method Summary | |
---|---|
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)
increase(...) is called by TimingMonitor right before stop is called. |
static void |
main(java.lang.String[] args)
Test method for this class |
protected void |
resetThis()
Erase/wipe out any accrued statistics for this monitor |
protected void |
startThis()
Increment counters for the number of active monitors of this instance, globally active monitors and primary active monitors. |
protected void |
stopThis()
Decrement counters for the number of active monitors of this instance, globally active monitors and primary active monitors. |
protected java.lang.String |
toStringThis()
Display this Monitor in String format |
Methods inherited from class com.jamonapi.AccumulateMonitor |
---|
convertToString, getAccrued, getAccruedString, getData, getDisplayString, getHeader, getType, getUnits, increase, increase, isPrimary, reset, setPrimary, start, stop, toString, toStringChild |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TimeStatsDistMonitor()
public TimeStatsDistMonitor(AccumulateMonitorInterface childMonitor)
Method Detail |
protected void increaseThis(long value)
increaseThis
in class AccumulateMonitor
protected void startThis()
startThis
in class AccumulateMonitor
protected void stopThis()
stopThis
in class AccumulateMonitor
protected void resetThis()
AccumulateMonitor
resetThis
in class AccumulateMonitor
protected java.lang.String toStringThis()
AccumulateMonitor
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 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 |