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 String
getName()
Returns the name of the metric.String
getReporter()
Returns the reporter name of the metric, identifies the node which generates this metric.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
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
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
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
-
-