|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jmonit.features.AbstractFeature<Statistics>
org.jmonit.features.Statistics
public class Statistics
Computes some statistics from monitored datas.
| Field Summary | |
|---|---|
static Factory<Statistics> |
FACTORY
|
| Constructor Summary | |
|---|---|
Statistics()
|
|
| Method Summary | |
|---|---|
void |
accept(Visitor visitor)
Entry point for an object that accepts visitors. |
void |
added(long value)
|
void |
clear()
|
Statistics |
getFeature()
A feature is identified by the class it exposes to the
monitored application. |
long |
getHits()
|
long |
getMax()
|
double |
getMean()
|
long |
getMin()
|
double |
getStandardDeviation()
Compute the standard deviation (measures the dispersion of values around the average value) = sqrt( variance ) |
long |
getTotal()
|
double |
getVariance()
Computes the http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance
unbiased variance. |
void |
onMonitoringEvent(MonitoringEvent event)
A monitoring event occured and has been dispatched on the bus |
java.lang.String |
toString()
|
| Methods inherited from class org.jmonit.features.AbstractFeature |
|---|
fireMonitoringEvent, getFeature, setMonitor, setMonitoringEventBus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Factory<Statistics> FACTORY
| Constructor Detail |
|---|
public Statistics()
| Method Detail |
|---|
public void onMonitoringEvent(MonitoringEvent event)
onMonitoringEvent in interface MonitoringEventListenerMonitoringEventListener.onMonitoringEvent(org.jmonit.events.MonitoringEvent)public void added(long value)
public long getHits()
public long getMax()
public double getMean()
public long getMin()
public double getStandardDeviation()
public long getTotal()
public double getVariance()
http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance
unbiased variance.
public void clear()
public Statistics getFeature()
class it exposes to the
monitored application.
getFeature in interface Plugin<Statistics>Plugin.getFeature()public void accept(Visitor visitor)
accept in interface VisitableVisitable.accept(org.jmonit.reporting.Visitor)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||