eu.reservoir.monitoring.core.plane
Interface InfoService

All Known Subinterfaces:
DataSourceDelegate, InfoPlane
All Known Implementing Classes:
AbstractDHTInfoPlane, DefaultDataSourceDelegate, DHTInfoPlane, DHTInfoPlaneConsumer, DHTInfoPlaneRoot

public interface InfoService

The InfoService This has the common methods for getting info.


Method Summary
 boolean addDataSourceInfo(DataSource ds)
          Add DataSource info.
 boolean addProbeAttributeInfo(Probe p, ProbeAttribute pa)
          Add ProbeAttribute Info to a Probe Info.
 boolean addProbeInfo(Probe p)
          Add Probe info.
 java.lang.Object getInfo(java.lang.String key)
          Get a value from the InfoPlane.
 java.lang.Object lookupDataSourceInfo(DataSource dataSource, java.lang.String info)
          Lookup some info in the InfoPlane.
 java.lang.Object lookupDataSourceInfo(ID dataSourceID, java.lang.String info)
          Lookup some info in the InfoPlane.
 java.lang.Object lookupProbeAttributeInfo(ID probeID, int field, java.lang.String info)
          Lookup some info in the InfoPlane.
 java.lang.Object lookupProbeAttributeInfo(Probe probe, int field, java.lang.String info)
          Lookup some info in the InfoPlane.
 java.lang.Object lookupProbeInfo(ID probeID, java.lang.String info)
          Lookup some info in the InfoPlane.
 java.lang.Object lookupProbeInfo(Probe probe, java.lang.String info)
          Lookup some info in the InfoPlane.
 boolean modifyDataSourceInfo(DataSource ds)
          Modify DataSource Info.
 boolean modifyProbeAttributeInfo(Probe p, ProbeAttribute pa)
          Modify ProbeAttribute Info for a Probe.
 boolean modifyProbeInfo(Probe p)
          Modify Probe Info.
 boolean putInfo(java.lang.String key, java.io.Serializable value)
          Put a value in the InfoPlane.
 boolean removeDataSourceInfo(DataSource ds)
          Remove DataSource Info.
 boolean removeInfo(java.lang.String key)
          Remove a value from the InfoPlane.
 boolean removeProbeAttributeInfo(Probe p, ProbeAttribute pa)
          Remove ProbeAttribute Info for a Probe.
 boolean removeProbeInfo(Probe p)
          Remove Probe Info.
 

Method Detail

lookupDataSourceInfo

java.lang.Object lookupDataSourceInfo(DataSource dataSource,
                                      java.lang.String info)
Lookup some info in the InfoPlane.


lookupDataSourceInfo

java.lang.Object lookupDataSourceInfo(ID dataSourceID,
                                      java.lang.String info)
Lookup some info in the InfoPlane. Mostly used at the management end, as it uses DataSource ID.


lookupProbeInfo

java.lang.Object lookupProbeInfo(Probe probe,
                                 java.lang.String info)
Lookup some info in the InfoPlane.


lookupProbeInfo

java.lang.Object lookupProbeInfo(ID probeID,
                                 java.lang.String info)
Lookup some info in the InfoPlane. Mostly used at the management end, as it uses Probe ID.


lookupProbeAttributeInfo

java.lang.Object lookupProbeAttributeInfo(Probe probe,
                                          int field,
                                          java.lang.String info)
Lookup some info in the InfoPlane.


lookupProbeAttributeInfo

java.lang.Object lookupProbeAttributeInfo(ID probeID,
                                          int field,
                                          java.lang.String info)
Lookup some info in the InfoPlane. Mostly used at the management end, as it uses Probe ID.


addDataSourceInfo

boolean addDataSourceInfo(DataSource ds)
Add DataSource info.


addProbeInfo

boolean addProbeInfo(Probe p)
Add Probe info.


addProbeAttributeInfo

boolean addProbeAttributeInfo(Probe p,
                              ProbeAttribute pa)
Add ProbeAttribute Info to a Probe Info.


modifyDataSourceInfo

boolean modifyDataSourceInfo(DataSource ds)
Modify DataSource Info.


modifyProbeInfo

boolean modifyProbeInfo(Probe p)
Modify Probe Info.


modifyProbeAttributeInfo

boolean modifyProbeAttributeInfo(Probe p,
                                 ProbeAttribute pa)
Modify ProbeAttribute Info for a Probe.


removeDataSourceInfo

boolean removeDataSourceInfo(DataSource ds)
Remove DataSource Info.


removeProbeInfo

boolean removeProbeInfo(Probe p)
Remove Probe Info.


removeProbeAttributeInfo

boolean removeProbeAttributeInfo(Probe p,
                                 ProbeAttribute pa)
Remove ProbeAttribute Info for a Probe.


putInfo

boolean putInfo(java.lang.String key,
                java.io.Serializable value)
Put a value in the InfoPlane.


getInfo

java.lang.Object getInfo(java.lang.String key)
Get a value from the InfoPlane.


removeInfo

boolean removeInfo(java.lang.String key)
Remove a value from the InfoPlane.



RESERVOIR Monitoring 0.6.4