|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectpatterntesting.runtime.monitor.AbstractProfileMonitor
patterntesting.runtime.monitor.JamonMonitor
public final class JamonMonitor
This is a thin wrapper for com.jamonapi.Monitor
Monitor| Constructor Summary | |
|---|---|
JamonMonitor(com.jamonapi.Monitor monitor)
Instantiates a new monitor. |
|
| Method Summary | |
|---|---|
void |
add(double arg0)
Normally this method should be synchronized. |
void |
disable()
Disable. |
void |
enable()
|
boolean |
equals(JamonMonitor other)
Tests if given object is equal. |
boolean |
equals(Object other)
Tests if given object is equal. |
double |
getActive()
Gets the active. |
double |
getAvg()
Gets the average |
double |
getAvgActive()
Gets the active average |
double |
getAvgGlobalActive()
Gets the global active average |
double |
getAvgPrimaryActive()
Gets the primary active average. |
Date |
getFirstAccess()
Gets the first access. |
int |
getHits()
Gets the hits. |
String |
getLabel()
Gets the label. |
Date |
getLastAccess()
Gets the last access. |
double |
getLastValue()
Gets the last value. |
com.jamonapi.ListenerType |
getListenerType(String listenerType)
Gets the listener type. |
double |
getMax()
Gets the max. |
double |
getMaxActive()
Gets the max active. |
double |
getMin()
Gets the min. |
ProfileMonitor[] |
getMonitors()
Gets the monitors. |
com.jamonapi.MonKey |
getMonKey()
Gets the mon key. |
com.jamonapi.Range |
getRange()
Gets the range. |
double |
getStdDev()
Gets the std dev. |
double |
getTotal()
Gets the total. |
String |
getUnits()
Gets the units. |
int |
hashCode()
Hash code. |
boolean |
hasListeners()
Checks for listeners. |
boolean |
isActivityTracking()
Checks if is activity tracking. |
boolean |
isEnabled()
Checks if is enabled. |
boolean |
isPrimary()
Checks if is primary. |
void |
reset()
Reset. |
void |
setAccessStats(long now)
Sets the access stats. |
void |
setActive(double arg0)
Sets the active. |
void |
setActivityTracking(boolean arg0)
Sets the activity tracking. |
void |
setFirstAccess(Date arg0)
Sets the first access. |
void |
setHits(double arg0)
Sets the hits. |
void |
setLastAccess(Date arg0)
Sets the last access. |
void |
setLastValue(double arg0)
Sets the last value. |
void |
setMax(double arg0)
Sets the max. |
void |
setMaxActive(double arg0)
Sets the max active. |
void |
setMin(double arg0)
Sets the min. |
void |
setPrimary(boolean arg0)
Sets the primary. |
void |
setTotal(double arg0)
Sets the total. |
void |
setTotalActive(double arg0)
Sets the total active. |
void |
start()
Start. |
void |
stop()
Stop. |
String |
toCsvHeadline()
To csv headline. |
String |
toCsvString()
To csv string. |
String |
toShortString()
To short string. |
String |
toString()
To string. |
| Methods inherited from class patterntesting.runtime.monitor.AbstractProfileMonitor |
|---|
compareTo, equals, getLastTime |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JamonMonitor(com.jamonapi.Monitor monitor)
monitor - the monitor| Method Detail |
|---|
public void add(double arg0)
ProfileMonitor
arg0 - argumentMonitor.add(double)public void disable()
Monitor.disable()public void enable()
Monitor.enable()public boolean equals(Object other)
equals in class AbstractProfileMonitorother - the other object to compare
Object.equals(java.lang.Object)public boolean equals(JamonMonitor other)
other - the other object to compare
Object.equals(java.lang.Object)public double getActive()
Monitor.getActive()public double getAvg()
Monitor.getAvg()public double getAvgActive()
Monitor.getAvgActive()public double getAvgGlobalActive()
Monitor.getAvgGlobalActive()public double getAvgPrimaryActive()
Monitor.getAvgPrimaryActive()public Date getFirstAccess()
Monitor.getFirstAccess()public int getHits()
Monitor.getHits()public String getLabel()
Monitor.getLabel()public Date getLastAccess()
Monitor.getLastAccess()public double getLastValue()
Monitor.getLastValue()public com.jamonapi.ListenerType getListenerType(String listenerType)
listenerType - the listener type
Monitor.getListenerType(java.lang.String)public double getMax()
Monitor.getMax()public double getMaxActive()
Monitor.getMaxActive()public double getMin()
Monitor.getMin()@UnsupportedOperation public ProfileMonitor[] getMonitors()
MonitorComposite.getMonitors()public com.jamonapi.MonKey getMonKey()
Monitor.getMonKey()public com.jamonapi.Range getRange()
Monitor.getRange()public double getStdDev()
Monitor.getStdDev()public double getTotal()
Monitor.getTotal()public String getUnits()
Monitor.getUnits()public int hashCode()
hashCode in class AbstractProfileMonitorObject.hashCode()public boolean hasListeners()
Monitor.hasListeners()public boolean isActivityTracking()
Monitor.isActivityTracking()public boolean isEnabled()
Monitor.isEnabled()public boolean isPrimary()
Monitor.isPrimary()public void reset()
Monitor.reset()public void setAccessStats(long now)
now - the nowMonitor.setAccessStats(long)public void setActive(double arg0)
arg0 - the arg0Monitor.setActive(double)public void setActivityTracking(boolean arg0)
arg0 - the arg0Monitor.setActivityTracking(boolean)public void setFirstAccess(Date arg0)
arg0 - the arg0Monitor.setFirstAccess(java.util.Date)public void setHits(double arg0)
arg0 - the arg0Monitor.setHits(double)public void setLastAccess(Date arg0)
arg0 - the arg0Monitor.setLastAccess(java.util.Date)public void setLastValue(double arg0)
arg0 - the arg0Monitor.setLastValue(double)public void setMax(double arg0)
arg0 - the arg0Monitor.setMax(double)public void setMaxActive(double arg0)
arg0 - the arg0Monitor.setMaxActive(double)public void setMin(double arg0)
arg0 - the arg0Monitor.setMin(double)public void setPrimary(boolean arg0)
arg0 - the arg0Monitor.setPrimary(boolean)public void setTotal(double arg0)
arg0 - the arg0Monitor.setTotal(double)public void setTotalActive(double arg0)
arg0 - the arg0Monitor.setTotalActive(double)public void start()
Monitor.start()public void stop()
Monitor.stop()public String toString()
toString in class ObjectMonitor.toString()public String toShortString()
ProfileMonitor
ProfileMonitor.toShortString()public String toCsvHeadline()
ProfileMonitor
ProfileMonitor.toCsvHeadline()public String toCsvString()
ProfileMonitor
ProfileMonitor.toCsvString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||