org.ow2.clif.probe.disk
Class DataCollector

java.lang.Object
  extended by org.ow2.clif.datacollector.lib.AbstractDataCollector
      extended by org.ow2.clif.datacollector.lib.AbstractProbeDataCollector
          extended by org.ow2.clif.probe.disk.DataCollector
All Implemented Interfaces:
org.objectweb.fractal.api.control.BindingController, org.objectweb.fractal.api.control.LifeCycleController, DataCollectorAdmin, DataCollectorWrite

public class DataCollector
extends AbstractProbeDataCollector

Data collector for FileSystem probe

Author:
Jean-Francois AHIBA

Field Summary
 
Fields inherited from class org.ow2.clif.datacollector.lib.AbstractProbeDataCollector
samples, 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
DataCollector()
           
 
Method Summary
 java.lang.String[] getLabels()
          Get labels describing the statistics
 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.AbstractProbeDataCollector
add, getStat
 
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
 

Constructor Detail

DataCollector

public DataCollector()
Method Detail

init

public void init(java.io.Serializable testId,
                 java.lang.String probeId)
Description copied from class: AbstractProbeDataCollector
new test initialization => call super class' init() method and resets all statistics, including the cumulative ones

Specified by:
init in interface DataCollectorWrite
Overrides:
init in class AbstractProbeDataCollector
Parameters:
testId - test identifier
probeId - blade identifier

getLabels

public java.lang.String[] getLabels()
Description copied from interface: DataCollectorAdmin
Get labels describing the statistics

Returns:
the statistics labels, in the same order as the values returned by getStat()
See Also:
DataCollectorAdmin.getStat()