Interface MetricIntervalValue
-
- All Known Implementing Classes:
MetricIntervalEntity
public interface MetricIntervalValue
Represents a metric which contains a name, reporter like the node, timestamp and corresponding value.- Since:
- 7.6.0
- Author:
- Christopher Zell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of the metric.java.lang.String
getReporter()
Returns the reporter name of the metric, identifies the node which generates this metric.java.util.Date
getTimestamp()
Returns the timestamp as date object, on which the metric was created.long
getValue()
Returns the value of the metric.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of the metric.- Returns:
- the name of the metric
- See Also:
in for a list of names which can be returned here
-
getReporter
java.lang.String getReporter()
Returns the reporter name of the metric, identifies the node which generates this metric. 'null' when the metrics are aggregated by reporter.- Returns:
- the reporter name
-
getTimestamp
java.util.Date getTimestamp()
Returns the timestamp as date object, on which the metric was created.- Returns:
- the timestamp
-
getValue
long getValue()
Returns the value of the metric.- Returns:
- the value
-
-