org.isam.exehda.services.tips
Interface DataManager
- All Known Implementing Classes:
- DataManagerImpl
- public interface DataManager
Method Summary |
java.lang.Double |
getConstancy(java.lang.String sensorName)
|
java.lang.Object |
getSensorHistory(java.lang.String sensorName)
Get an object with the history of the readings of the
hostid, sensor pair |
java.lang.Object |
getSensorValue(java.lang.String sensorName)
Returns the last received value of the sensor identified by
sensorName value for the hostid host |
java.lang.Double |
getUtility()
|
boolean |
hasConstancy(java.lang.String sensorName)
|
void |
setConstancy(java.lang.String sensorName,
java.lang.Double value)
|
void |
setSensorValue(java.lang.String sensorName,
java.lang.Object value)
|
void |
setUtility(java.lang.Double utility)
|
getSensorValue
public java.lang.Object getSensorValue(java.lang.String sensorName)
- Returns the last received value of the sensor identified by
sensorName value for the hostid host
- Parameters:
sensorName
- Identification of the sensor
- Returns:
- an Object which corresponds to the last received data
getSensorHistory
public java.lang.Object getSensorHistory(java.lang.String sensorName)
- Get an object with the history of the readings of the
hostid, sensor pair
- Parameters:
sensorName
- Identification of the sensor
- Returns:
- an Object with the history of the received data
setSensorValue
public void setSensorValue(java.lang.String sensorName,
java.lang.Object value)
hasConstancy
public boolean hasConstancy(java.lang.String sensorName)
getConstancy
public java.lang.Double getConstancy(java.lang.String sensorName)
setConstancy
public void setConstancy(java.lang.String sensorName,
java.lang.Double value)
getUtility
public java.lang.Double getUtility()
setUtility
public void setUtility(java.lang.Double utility)