public class Metric extends Element
Constructor and Description |
---|
Metric() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Gets the description for this metric
|
long |
getLastTimeRetrieved()
Gets the Epoch time when the metric was most recently retrieved
|
java.lang.String |
getMetricKind()
Describes the kind of metric that has been retrieved
|
java.lang.String |
getMetricType()
Describes the type of metric that has been retrieved
|
java.lang.String |
getName()
Gets the name of this metric
|
java.lang.String |
getResourceType()
Identifies the REST resource type
|
long |
getValue()
Gets the value for this metric
|
void |
refresh()
Refresh this element.
|
getStreamsConnection, toString
public java.lang.String getDescription()
public long getLastTimeRetrieved()
public java.lang.String getMetricKind()
public java.lang.String getMetricType()
public java.lang.String getName()
public java.lang.String getResourceType()
public long getValue()
public void refresh() throws java.io.IOException
Element