eu.reservoir.monitoring.core
Interface ProbeManager

All Known Subinterfaces:
DataSource
All Known Implementing Classes:
AbstractDataSource, BasicDataSource, HypervisorDataSource

public interface ProbeManager

An interface for managing probes


Method Summary
 DataSource activateProbe(ID probeID)
          Activate a Probe by ID
 DataSource activateProbe(Probe p)
          Activate a Probe
 DataSource activateProbe(java.lang.String name)
          Activate a Probe by name
 DataSource deactivateProbe(ID probeID)
          Deactivate a Probe by ID
 DataSource deactivateProbe(Probe p)
          Deactivate a Probe
 DataSource deactivateProbe(java.lang.String name)
          Deactivate a Probe by name
 Rational getProbeDataRate(ID probeID)
          Get the data rate for a Probe by ID The data rate is a Rational.
 Rational getProbeDataRate(Probe p)
          Get the data rate for a Probe The data rate is a Rational.
 Rational getProbeDataRate(java.lang.String name)
          Get the data rate for a Probe by name The data rate is a Rational.
 ID getProbeGroupID(ID probeID)
          Get the Group ID of the Probe by ID
 ID getProbeGroupID(Probe p)
          Get the Group ID of the Probe.
 ID getProbeGroupID(java.lang.String name)
          Get the Group ID of the Probe by name
 Measurement getProbeLastMeasurement(ID probeID)
          Get the last measurement that was collected by ID
 Measurement getProbeLastMeasurement(Probe p)
          Get the last measurement that was collected.
 Measurement getProbeLastMeasurement(java.lang.String name)
          Get the last measurement that was collected by name
 Timestamp getProbeLastMeasurementCollection(ID probeID)
          Get the last time a measurement was collected by ID.
 Timestamp getProbeLastMeasurementCollection(Probe p)
          Get the last time a measurement was collected.
 Timestamp getProbeLastMeasurementCollection(java.lang.String name)
          Get the last time a measurement was collected by name.
 java.lang.String getProbeName(ID probeID)
          Get the name of the Probe by ID
 java.lang.String getProbeName(Probe p)
          Get the name of the Probe
 java.lang.String getProbeName(java.lang.String name)
          Get the name of the Probe by name
 ID getProbeServiceID(ID probeID)
          Get the Service ID of the Probe by ID
 ID getProbeServiceID(Probe p)
          Get the Service ID of the Probe.
 ID getProbeServiceID(java.lang.String name)
          Get the Service ID of the Probe by name
 boolean isProbeActive(ID probeID)
          Has this probe been activated by ID Is the thread associated with a Probe acutally running.
 boolean isProbeActive(Probe p)
          Has this probe been activated.
 boolean isProbeActive(java.lang.String name)
          Has this probe been activated by name Is the thread associated with a Probe acutally running.
 boolean isProbeOn(ID probeID)
          Is this Probe turned on by ID The thread is running, but is the Probe getting values.
 boolean isProbeOn(Probe p)
          Is this Probe turned on.
 boolean isProbeOn(java.lang.String name)
          Is this Probe turned on by name The thread is running, but is the Probe getting values.
 int notifyMeasurement(Measurement m)
          Receiver of a measurement from a Probe.
 DataSource setProbeDataRate(ID probeID, Rational dataRate)
          Set the data rate for a Probe by ID The data rate is a Rational.
 DataSource setProbeDataRate(Probe p, Rational dataRate)
          Set the data rate for a Probe The data rate is a Rational.
 DataSource setProbeDataRate(java.lang.String name, Rational dataRate)
          Set the data rate for a Probe by name The data rate is a Rational.
 boolean setProbeGroupID(ID probeID, ID id)
          Set the Group ID for a Probe by ID
 boolean setProbeGroupID(Probe p, ID id)
          Set the Group ID for a Probe
 boolean setProbeGroupID(java.lang.String name, ID id)
          Set the Group ID for a Probe by name
 boolean setProbeName(ID probeID, java.lang.String newName)
          Set the name of the Probe by ID
 boolean setProbeName(Probe p, java.lang.String newName)
          Set the name of the Probe
 boolean setProbeName(java.lang.String name, java.lang.String newName)
          Set the name of the Probe by name
 boolean setProbeServiceID(ID probeID, ID id)
          Set the Service ID for a Probe by ID
 boolean setProbeServiceID(Probe p, ID id)
          Set the Service ID for a Probe
 boolean setProbeServiceID(java.lang.String name, ID id)
          Set the Service ID for a Probe by name
 DataSource turnOffProbe(ID probeID)
          Turn off a Probe by ID
 DataSource turnOffProbe(Probe p)
          Turn off a Probe
 DataSource turnOffProbe(java.lang.String name)
          Turn off a Probe by name
 DataSource turnOnProbe(ID probeID)
          Turn on a Probe by ID
 DataSource turnOnProbe(Probe p)
          Turn on a Probe
 DataSource turnOnProbe(java.lang.String name)
          Turn on a Probe by name
 

Method Detail

turnOnProbe

DataSource turnOnProbe(java.lang.String name)
Turn on a Probe by name


turnOnProbe

DataSource turnOnProbe(ID probeID)
Turn on a Probe by ID


turnOnProbe

DataSource turnOnProbe(Probe p)
Turn on a Probe


turnOffProbe

DataSource turnOffProbe(java.lang.String name)
Turn off a Probe by name


turnOffProbe

DataSource turnOffProbe(ID probeID)
Turn off a Probe by ID


turnOffProbe

DataSource turnOffProbe(Probe p)
Turn off a Probe


isProbeOn

boolean isProbeOn(java.lang.String name)
Is this Probe turned on by name The thread is running, but is the Probe getting values.


isProbeOn

boolean isProbeOn(ID probeID)
Is this Probe turned on by ID The thread is running, but is the Probe getting values.


isProbeOn

boolean isProbeOn(Probe p)
Is this Probe turned on. The thread is running, but is the Probe getting values.


activateProbe

DataSource activateProbe(java.lang.String name)
Activate a Probe by name


activateProbe

DataSource activateProbe(ID probeID)
Activate a Probe by ID


activateProbe

DataSource activateProbe(Probe p)
Activate a Probe


deactivateProbe

DataSource deactivateProbe(java.lang.String name)
Deactivate a Probe by name


deactivateProbe

DataSource deactivateProbe(ID probeID)
Deactivate a Probe by ID


deactivateProbe

DataSource deactivateProbe(Probe p)
Deactivate a Probe


isProbeActive

boolean isProbeActive(java.lang.String name)
Has this probe been activated by name Is the thread associated with a Probe acutally running.


isProbeActive

boolean isProbeActive(ID probeID)
Has this probe been activated by ID Is the thread associated with a Probe acutally running.


isProbeActive

boolean isProbeActive(Probe p)
Has this probe been activated. Is the thread associated with a Probe acutally running.


getProbeName

java.lang.String getProbeName(java.lang.String name)
Get the name of the Probe by name


getProbeName

java.lang.String getProbeName(ID probeID)
Get the name of the Probe by ID


getProbeName

java.lang.String getProbeName(Probe p)
Get the name of the Probe


setProbeName

boolean setProbeName(java.lang.String name,
                     java.lang.String newName)
Set the name of the Probe by name


setProbeName

boolean setProbeName(ID probeID,
                     java.lang.String newName)
Set the name of the Probe by ID


setProbeName

boolean setProbeName(Probe p,
                     java.lang.String newName)
Set the name of the Probe


getProbeServiceID

ID getProbeServiceID(java.lang.String name)
Get the Service ID of the Probe by name


getProbeServiceID

ID getProbeServiceID(ID probeID)
Get the Service ID of the Probe by ID


getProbeServiceID

ID getProbeServiceID(Probe p)
Get the Service ID of the Probe.


setProbeServiceID

boolean setProbeServiceID(java.lang.String name,
                          ID id)
Set the Service ID for a Probe by name


setProbeServiceID

boolean setProbeServiceID(ID probeID,
                          ID id)
Set the Service ID for a Probe by ID


setProbeServiceID

boolean setProbeServiceID(Probe p,
                          ID id)
Set the Service ID for a Probe


getProbeGroupID

ID getProbeGroupID(java.lang.String name)
Get the Group ID of the Probe by name


getProbeGroupID

ID getProbeGroupID(ID probeID)
Get the Group ID of the Probe by ID


getProbeGroupID

ID getProbeGroupID(Probe p)
Get the Group ID of the Probe.


setProbeGroupID

boolean setProbeGroupID(java.lang.String name,
                        ID id)
Set the Group ID for a Probe by name


setProbeGroupID

boolean setProbeGroupID(ID probeID,
                        ID id)
Set the Group ID for a Probe by ID


setProbeGroupID

boolean setProbeGroupID(Probe p,
                        ID id)
Set the Group ID for a Probe


getProbeDataRate

Rational getProbeDataRate(java.lang.String name)
Get the data rate for a Probe by name The data rate is a Rational. Specified in measurements per hour


getProbeDataRate

Rational getProbeDataRate(ID probeID)
Get the data rate for a Probe by ID The data rate is a Rational. Specified in measurements per hour


getProbeDataRate

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


setProbeDataRate

DataSource setProbeDataRate(java.lang.String name,
                            Rational dataRate)
Set the data rate for a Probe by name The data rate is a Rational. Specified in measurements per hour


setProbeDataRate

DataSource setProbeDataRate(ID probeID,
                            Rational dataRate)
Set the data rate for a Probe by ID The data rate is a Rational. Specified in measurements per hour


setProbeDataRate

DataSource setProbeDataRate(Probe p,
                            Rational dataRate)
Set the data rate for a Probe The data rate is a Rational. Specified in measurements per hour


getProbeLastMeasurement

Measurement getProbeLastMeasurement(java.lang.String name)
Get the last measurement that was collected by name


getProbeLastMeasurement

Measurement getProbeLastMeasurement(ID probeID)
Get the last measurement that was collected by ID


getProbeLastMeasurement

Measurement getProbeLastMeasurement(Probe p)
Get the last measurement that was collected.


getProbeLastMeasurementCollection

Timestamp getProbeLastMeasurementCollection(java.lang.String name)
Get the last time a measurement was collected by name.


getProbeLastMeasurementCollection

Timestamp getProbeLastMeasurementCollection(ID probeID)
Get the last time a measurement was collected by ID.


getProbeLastMeasurementCollection

Timestamp getProbeLastMeasurementCollection(Probe p)
Get the last time a measurement was collected.


notifyMeasurement

int notifyMeasurement(Measurement m)
Receiver of a measurement from a Probe.



RESERVOIR Monitoring 0.6.4