eu.reservoir.monitoring.core
Interface ProbeInfo

All Known Subinterfaces:
Probe
All Known Implementing Classes:
AbstractProbe, CPUInfo, HypervisorProbe, MemoryInfo, NetInfo, QueueLengthProbe, SAPUsersProbe, ThalesLogFileProbe

public interface ProbeInfo

A probe


Method Summary
 Probe addProbeAttribute(ProbeAttribute attribute)
          Define an element of the data dictionary
 ProbeAttribute getAttribute(int n)
          Get the ProbeAttribute with field no.
 java.util.Collection<ProbeAttribute> getAttributes()
          Get the Probe's Attributes.
 Rational getDataRate()
          Get the data rate for a Probe The data rate is a Rational.
 ID getGroupID()
          Get the Group ID of the Probe.
 ID getID()
          Get the ID of the Probe.
 Measurement getLastMeasurement()
          Get the last measurement that was collected.
 Timestamp getLastMeasurementCollection()
          Get the last time a measurement was collected.
 java.util.Map<java.lang.String,java.lang.Object> getMetaData()
          Get the meta data for a probe.
 java.lang.String getName()
          Get the name of the Probe
 ProbeManager getProbeManager()
          Get the manager of a Probe.
 ID getServiceID()
          Get the Service ID of the Probe.
 Probe setDataRate(Rational dataRate)
          Set the data rate for a Probe The data rate is a Rational.
 Probe setGroupID(ID gid)
          Set the Group ID for a Probe
 Probe setID(ID id)
          Set the Probe ID
 Probe setName(java.lang.String name)
          Set the name of the Probe
 ProbeLifecycle setProbeManager(ProbeManager pm)
          Set the manager of a Probe.
 Probe setServiceID(ID sid)
          Set the Service ID for a Probe
 

Method Detail

getID

ID getID()
Get the ID of the Probe.


setID

Probe setID(ID id)
Set the Probe ID


getName

java.lang.String getName()
Get the name of the Probe


setName

Probe setName(java.lang.String name)
Set the name of the Probe


getDataRate

Rational getDataRate()
Get the data rate for a Probe The data rate is a Rational. Specified in measurements per hour


setDataRate

Probe setDataRate(Rational dataRate)
Set the data rate for a Probe The data rate is a Rational. Specified in measurements per hour


getServiceID

ID getServiceID()
Get the Service ID of the Probe.


setServiceID

Probe setServiceID(ID sid)
Set the Service ID for a Probe


getGroupID

ID getGroupID()
Get the Group ID of the Probe.


setGroupID

Probe setGroupID(ID gid)
Set the Group ID for a Probe


getLastMeasurement

Measurement getLastMeasurement()
Get the last measurement that was collected.


getLastMeasurementCollection

Timestamp getLastMeasurementCollection()
Get the last time a measurement was collected.


addProbeAttribute

Probe addProbeAttribute(ProbeAttribute attribute)
Define an element of the data dictionary


getAttributes

java.util.Collection<ProbeAttribute> getAttributes()
Get the Probe's Attributes.


getAttribute

ProbeAttribute getAttribute(int n)
Get the ProbeAttribute with field no. N.


getMetaData

java.util.Map<java.lang.String,java.lang.Object> getMetaData()
Get the meta data for a probe. Returns a map of probe attributes, e.g [name: "memory", dataRate: 720/1, active: true, on: false]


getProbeManager

ProbeManager getProbeManager()
Get the manager of a Probe.


setProbeManager

ProbeLifecycle setProbeManager(ProbeManager pm)
Set the manager of a Probe.



RESERVOIR Monitoring 0.6.4