public abstract class CruiseControlMetric extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CruiseControlMetric.MetricClassId
An enum that list all the implementations of the interface.
|
Constructor and Description |
---|
CruiseControlMetric(RawMetricType rawMetricType,
long time,
int brokerId,
double value) |
Modifier and Type | Method and Description |
---|---|
int |
brokerId()
Get the broker id who reported this metric.
|
abstract CruiseControlMetric.MetricClassId |
metricClassId()
Get the metric class id for this metric.
|
RawMetricType |
rawMetricType()
Get the
RawMetricType of this metric. |
long |
time()
Get the timestamp for this metric.
|
String |
toString() |
double |
value()
Get the metric value.
|
public CruiseControlMetric(RawMetricType rawMetricType, long time, int brokerId, double value)
public abstract CruiseControlMetric.MetricClassId metricClassId()
public RawMetricType rawMetricType()
RawMetricType
of this metric.public long time()
public int brokerId()
public double value()