|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jamonapi.AccumulateMonitor
com.jamonapi.LastAccessMonitor
Class that tracks when a Monitor was first and last called.
Field Summary |
---|
Fields inherited from class com.jamonapi.AccumulateMonitor |
---|
accrued, ACTIVE, AVG, AVGACTIVE, HITS, MAX, MAXACTIVE, MILLISECONDS, MIN, NONE, STANDARD_DEVIATION, TOTAL |
Constructor Summary | |
---|---|
LastAccessMonitor()
|
|
LastAccessMonitor(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 increaseValue)
Updates the accrued value which indicates when this method was last invoked. |
static void |
main(java.lang.String[] args)
Test code for this class |
protected void |
resetThis(long increaseValue)
Erase/wipe out first accessed and last accessed variables |
protected void |
startThis()
If this is the first time the method is called update the first accessed variable with the current time. |
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, resetThis, setPrimary, start, stop, stopThis, toString, toStringChild |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LastAccessMonitor()
public LastAccessMonitor(AccumulateMonitorInterface childMonitor)
Method Detail |
protected void increaseThis(long increaseValue)
increaseThis
in class AccumulateMonitor
protected void resetThis(long increaseValue)
protected void startThis()
startThis
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 |