public interface IGangliaMetadataMessage extends IGangliaMessage
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the value of the well-known attribute
IGangliaAttributes.ATTR_DESC. |
int |
getDMax()
The maximum age in seconds before a metric will be deleted (aka Delete
Max).
|
Map<String,String[]> |
getExtraValues()
Zero or more additional name-value[] pairs serialized with this message.
|
String |
getFirstValue(String key)
Return the first value for the given key from the
getExtraValues(). |
String[] |
getGroups()
Return the value of the well-known attribute
IGangliaAttributes.ATTR_TITLE. |
String |
getMetricName2()
The metric name (this is represented twice in the Ganglia 3.1 wire
format: once in the metric_id header and once in the metadata record;
both values SHOULD be the same).
|
GangliaMessageTypeEnum |
getMetricType()
The data type declaration for the metric.
|
GangliaSlopeEnum |
getSlope()
Hint for rrdtool visualization of metric values.
|
String |
getTitle()
Return the value of the well-known attribute
IGangliaAttributes.ATTR_TITLE. |
int |
getTMax()
The maximum advisory delay in seconds before a metric value would become
stale.
|
String |
getUnits()
The units in which the metric values are expressed.
|
boolean |
isChanged(Object oldValue,
Object newValue)
Return
true iff the newValue differs significantly from the
old value. |
Object |
translateValue(Object value)
Return a value which may have been scaled and/or offset in order to align
the value with the metric declaration.
|
getHostName, getMetricName, getRecordType, isMetricMetadata, isMetricRequest, isMetricValue, isSpoofGangliaMessageTypeEnum getMetricType()
String getMetricName2()
IGangliaMessage.getMetricName()String getUnits()
GangliaSlopeEnum getSlope()
int getTMax()
int getDMax()
Map<String,String[]> getExtraValues()
String getFirstValue(String key)
getExtraValues().key - The key.null if there are
no values for that key.String[] getGroups()
IGangliaAttributes.ATTR_TITLE.null.String getTitle()
IGangliaAttributes.ATTR_TITLE.IGangliaAttributes.ATTR_TITLE attribute if
present and otherwise null.String getDescription()
IGangliaAttributes.ATTR_DESC.IGangliaAttributes.ATTR_DESC attribute if
present and otherwise null.Object translateValue(Object value)
value - The value.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.