public class MetricsAggregator extends Object
| Modifier and Type | Method and Description |
|---|---|
long |
getCount()
Returns the average meter count within recent 1 minute.
|
long |
getLoad()
Returns the average load value.
|
org.onosproject.cpman.ControlMetricType |
getMetricsType()
Returns control metrics type.
|
long |
getRate()
Returns the average meter rate within recent 1 minute.
|
void |
increment(long n)
Increments the meter rate by n, and the meter counter by 1.
|
public org.onosproject.cpman.ControlMetricType getMetricsType()
public void increment(long n)
n - increment rate.public long getLoad()
public long getRate()
public long getCount()
Copyright © 2016. All rights reserved.