Package org.onosproject.cpman
Class ControlMetric
- java.lang.Object
-
- org.onosproject.cpman.ControlMetric
-
public class ControlMetric extends Object
Include various control plane metrics.
-
-
Constructor Summary
Constructors Constructor Description ControlMetric(ControlMetricType metricType, MetricValue metricValue)
Constructs a control metric using the given control metric type and metric value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlMetricType
metricType()
Returns metric type reference.MetricValue
metricValue()
Returns metric value reference.
-
-
-
Constructor Detail
-
ControlMetric
public ControlMetric(ControlMetricType metricType, MetricValue metricValue)
Constructs a control metric using the given control metric type and metric value.- Parameters:
metricType
- metric type referencemetricValue
- metric value reference
-
-
Method Detail
-
metricType
public ControlMetricType metricType()
Returns metric type reference.- Returns:
- metric type reference
-
metricValue
public MetricValue metricValue()
Returns metric value reference.- Returns:
- metric value reference
-
-