eu.reservoir.monitoring.appl.vee.thales
Class ThalesLogFileProbe

java.lang.Object
  extended by eu.reservoir.monitoring.core.AbstractProbe
      extended by eu.reservoir.monitoring.appl.vee.thales.ThalesLogFileProbe
All Implemented Interfaces:
Probe, ProbeInfo, ProbeLifecycle, ProbeReporting, java.lang.Runnable

public class ThalesLogFileProbe
extends AbstractProbe
implements Probe

A probe for gettting the response time.


Nested Class Summary
 
Nested classes/interfaces inherited from interface eu.reservoir.monitoring.core.Probe
Probe.CollectionType, Probe.ReportingType, Probe.Status
 
Constructor Summary
ThalesLogFileProbe(java.lang.String name, java.lang.String filename)
          Construct a probe
 
Method Summary
 ProbeMeasurement collect()
          Collect a measurement.
 long length()
          Get file length
 ProbeLifecycle turnOffProbe()
          Turn off the probe closes the file.
 ProbeLifecycle turnOnProbe()
          Turning on the Probe should open the file.
 
Methods inherited from class eu.reservoir.monitoring.core.AbstractProbe
activateProbe, addProbeAttribute, beginThreadBody, deactivateProbe, endThreadBody, error, getAttribute, getAttributes, getCollectionType, getDataRate, getGroupID, getID, getLastMeasurement, getLastMeasurementCollection, getMetaData, getName, getProbeFilter, getProbeManager, getServiceID, inform, isActive, isFiltering, isOn, rationalToMillis, run, setDataRate, setGroupID, setID, setName, setProbeFilter, setProbeManager, setServiceID, startProbeThread, stopProbeThread, toString, turnOffFiltering, turnOnFiltering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface eu.reservoir.monitoring.core.ProbeInfo
addProbeAttribute, getAttribute, getAttributes, getDataRate, getGroupID, getID, getLastMeasurement, getLastMeasurementCollection, getMetaData, getName, getProbeManager, getServiceID, setDataRate, setGroupID, setID, setName, setProbeManager, setServiceID
 
Methods inherited from interface eu.reservoir.monitoring.core.ProbeLifecycle
activateProbe, deactivateProbe, isActive, isOn
 
Methods inherited from interface java.lang.Runnable
run
 
Methods inherited from interface eu.reservoir.monitoring.core.ProbeReporting
error, getProbeFilter, inform, isFiltering, setProbeFilter, turnOffFiltering, turnOnFiltering
 

Constructor Detail

ThalesLogFileProbe

public ThalesLogFileProbe(java.lang.String name,
                          java.lang.String filename)
Construct a probe

Method Detail

turnOnProbe

public ProbeLifecycle turnOnProbe()
Turning on the Probe should open the file.

Specified by:
turnOnProbe in interface ProbeLifecycle
Overrides:
turnOnProbe in class AbstractProbe

turnOffProbe

public ProbeLifecycle turnOffProbe()
Turn off the probe closes the file.

Specified by:
turnOffProbe in interface ProbeLifecycle
Overrides:
turnOffProbe in class AbstractProbe

collect

public ProbeMeasurement collect()
Collect a measurement.

Specified by:
collect in interface ProbeReporting
Specified by:
collect in class AbstractProbe

length

public long length()
Get file length



RESERVOIR Monitoring 0.6.4