Package org.onosproject.cpman
Interface ControlLoad
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description long[]all()Obtains all metrics.longaverage()Obtains the average of all time duration.longaverage(int duration, java.util.concurrent.TimeUnit unit)Obtains the average of the specified time duration.long[]recent(int duration, java.util.concurrent.TimeUnit unit)Obtains the most recent metric values of the specified time duration.
 
- 
- 
- 
Method Detail- 
averagelong average(int duration, java.util.concurrent.TimeUnit unit)Obtains the average of the specified time duration.- Parameters:
- duration- time duration
- unit- time unit
- Returns:
- average control plane metric value
 
 - 
averagelong average() Obtains the average of all time duration.- Returns:
- average control plane metric value
 
 - 
recentlong[] recent(int duration, java.util.concurrent.TimeUnit unit)Obtains the most recent metric values of the specified time duration.- Parameters:
- duration- time duration
- unit- time unit
- Returns:
- a collection of the most recent metric values
 
 - 
alllong[] all() Obtains all metrics.- Returns:
- a collection of the all metric values
 
 
- 
 
-