|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.isam.exehda.services.Collector.Sensor
Represents an elementary source of monitoring data.
Constructor Summary | |
Collector.Sensor(CellInformationBase.ResourceName n,
java.lang.Class t,
java.lang.Object k)
Creates a new Sensor instance.
|
Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
getKey()
Returns the unique key associated with this sensor. |
CellInformationBase.ResourceName |
getName()
Returns the name of this sensor in the forma of a Resource Name. |
java.lang.Class |
getType()
Returns the type of the data produced by this sensor. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Collector.Sensor(CellInformationBase.ResourceName n, java.lang.Class t, java.lang.Object k)
Sensor
instance.
Note: the key must be serializable in order to allow the sensor object to
be transmited between hosts.
n
- the sensor namet
- the sensor typek
- keyMethod Detail |
public CellInformationBase.ResourceName getName()
public java.lang.Class getType()
public java.lang.Object getKey()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |