org.isam.exehda.services
Interface Collector

All Known Implementing Classes:
CollectorImplCell, CollectorImplNode

public interface Collector


Nested Class Summary
static class Collector.AppMonitor
           
static interface Collector.AppSensor
           
static class Collector.ConsumerId
          Monitoring consumer identifier.
static interface Collector.Monitor
          Represents a component that exports/manages a group of sensors.
static interface Collector.MonitoringConsumer
           
static class Collector.MonitoringData
          Helper class to store and manipulate monitoring data in an efficient way.
static class Collector.Sensor
          Represents an elementary source of monitoring data.
static class Collector.SensorParameter
          Represents a sensor configuration parameter.
 
Field Summary
static java.lang.String SERVICE_NAME
           
 
Method Summary
 Collector.ConsumerId addConsumer(Collector.MonitoringConsumer c)
          Describe addConsumer method here.
 void addMonitor(Collector.Monitor m)
          Describe addMonitor method here.
 CellInformationBase.ResourceName getName()
          Describe getName method here.
 Collector.Sensor getSensor(java.lang.String name)
          Describe getSensor method here.
 java.lang.Object getSensorParameter(Collector.SensorParameter p)
          Describe getSensorParameter method here.
 Collector.SensorParameter[] getSensorParameters(Collector.Sensor s)
          Describe getSensorParameters method here.
 Collector.Sensor[] getSensors()
          Describe getSensors method here.
 void installSensor(Collector.ConsumerId c, java.lang.String name, java.lang.String impl, java.util.Hashtable params)
          Describe installSensor method here.
 boolean isSensorEnabled(Collector.ConsumerId c, Collector.Sensor s)
          Describe isSensorEnabled method here.
 Collector.MonitoringData probeSensor(Collector.ConsumerId c, Collector.Sensor s, Collector.MonitoringData d)
          Describe probeSensor method here.
 void removeConsumer(Collector.ConsumerId c)
          Describe removeConsumer method here.
 void removeMonitor(Collector.Monitor m)
          Describe removeMonitor method here.
 void setSensorEnabled(Collector.ConsumerId c, Collector.Sensor s, boolean enable)
          Describe setSensorEnabled method here.
 void setSensorParameter(Collector.ConsumerId c, Collector.SensorParameter p, java.lang.Object v)
          Describe setSensorParameter method here.
 

Field Detail

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values
Method Detail

getName

public CellInformationBase.ResourceName getName()
Describe getName method here.

Returns:
a ResourceName value

getSensors

public Collector.Sensor[] getSensors()
Describe getSensors method here.

Returns:
a Sensor[] value

getSensor

public Collector.Sensor getSensor(java.lang.String name)
Describe getSensor method here.

Parameters:
name - a String value
Returns:
a Sensor value

getSensorParameters

public Collector.SensorParameter[] getSensorParameters(Collector.Sensor s)
Describe getSensorParameters method here.

Parameters:
s - a Sensor value
Returns:
a SensorParameter[] value

getSensorParameter

public java.lang.Object getSensorParameter(Collector.SensorParameter p)
Describe getSensorParameter method here.

Parameters:
p - a SensorParameter value
Returns:
an Object value

setSensorParameter

public void setSensorParameter(Collector.ConsumerId c,
                               Collector.SensorParameter p,
                               java.lang.Object v)
Describe setSensorParameter method here.

Parameters:
c - a ConsumerId value
p - a SensorParameter value
v - an Object value

setSensorEnabled

public void setSensorEnabled(Collector.ConsumerId c,
                             Collector.Sensor s,
                             boolean enable)
Describe setSensorEnabled method here.

Parameters:
c - a ConsumerId value
s - a Sensor value
enable - a boolean value

isSensorEnabled

public boolean isSensorEnabled(Collector.ConsumerId c,
                               Collector.Sensor s)
Describe isSensorEnabled method here.

Parameters:
c - a ConsumerId value
s - a Sensor value
Returns:
a boolean value

probeSensor

public Collector.MonitoringData probeSensor(Collector.ConsumerId c,
                                            Collector.Sensor s,
                                            Collector.MonitoringData d)
Describe probeSensor method here.

Parameters:
c - a ConsumerId value
s - a Sensor value
d - a MonitoringData value
Returns:
a MonitoringData value

installSensor

public void installSensor(Collector.ConsumerId c,
                          java.lang.String name,
                          java.lang.String impl,
                          java.util.Hashtable params)
Describe installSensor method here.

Parameters:
c - a ConsumerId value
name - a String value
impl - a String value
params - a Hashtable value

addMonitor

public void addMonitor(Collector.Monitor m)
Describe addMonitor method here.

Parameters:
m - a Monitor value

removeMonitor

public void removeMonitor(Collector.Monitor m)
Describe removeMonitor method here.

Parameters:
m - a Monitor value

addConsumer

public Collector.ConsumerId addConsumer(Collector.MonitoringConsumer c)
Describe addConsumer method here.

Parameters:
c - a MonitoringConsumer value
Returns:
a ConsumerId value

removeConsumer

public void removeConsumer(Collector.ConsumerId c)
Describe removeConsumer method here.

Parameters:
c - a ConsumerId value