|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jrockit.mc.rjmx.subscription.AttributeValue
public final class AttributeValue
Data carrier mainly used by the subscription engine. Contains information on what attribute was retrieved, the value of the attribute and the time when the data was collected.
Constructor Summary | |
---|---|
AttributeValue(IAttributeInfo attributeInfo,
java.lang.Object value,
long timestamp)
Constructor. |
Method Summary | |
---|---|
IAttributeInfo |
getAttributeInfo()
Returns the attribute info. |
long |
getTimestamp()
Returns the time-stamp from when this value was fetched. |
java.lang.Object |
getValue()
Returns the value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeValue(IAttributeInfo attributeInfo, java.lang.Object value, long timestamp)
attributeInfo
- the attribute for which this data is retrieved.value
- the actual valuetimestamp
- the estimated time (server time) for when the data was
collected.Method Detail |
---|
public java.lang.Object getValue()
public long getTimestamp()
public IAttributeInfo getAttributeInfo()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |