|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.datacollector.lib.AbstractDataCollector
org.ow2.clif.datacollector.lib.AbstractProbeDataCollector
public abstract class AbstractProbeDataCollector
Data collector generic implementation computing statistical values for probes generating ProbeEvent-derived events.
Field Summary | |
---|---|
protected long |
samples
|
protected long[] |
stats
|
Fields inherited from class org.ow2.clif.datacollector.lib.AbstractDataCollector |
---|
sws |
Fields inherited from interface org.ow2.clif.datacollector.api.DataCollectorWrite |
---|
DATA_COLLECTOR_WRITE |
Fields inherited from interface org.ow2.clif.datacollector.api.DataCollectorAdmin |
---|
DATA_COLLECTOR_ADMIN |
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
---|
STARTED, STOPPED |
Constructor Summary | |
---|---|
AbstractProbeDataCollector()
|
Method Summary | |
---|---|
void |
add(ProbeEvent measure)
new measure available => call super class' add() method and compute statistics |
long[] |
getStat()
Get statistics computed since previous call (or initialization for 1st call) |
void |
init(java.io.Serializable testId,
java.lang.String probeId)
new test initialization => call super class' init() method and resets all statistics, including the cumulative ones |
Methods inherited from class org.ow2.clif.datacollector.lib.AbstractDataCollector |
---|
add, add, add, bindFc, getFcState, listFc, lookupFc, setFilter, startFc, stopFc, terminate, unbindFc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ow2.clif.datacollector.api.DataCollectorAdmin |
---|
getLabels |
Field Detail |
---|
protected long[] stats
protected long samples
Constructor Detail |
---|
public AbstractProbeDataCollector()
Method Detail |
---|
public void init(java.io.Serializable testId, java.lang.String probeId)
init
in interface DataCollectorWrite
init
in class AbstractDataCollector
testId
- test identifierprobeId
- blade identifierpublic void add(ProbeEvent measure)
add
in interface DataCollectorWrite
add
in class AbstractDataCollector
measure
- the new measurepublic long[] getStat()
DataCollectorAdmin.getLabels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |