Package org.onosproject.net.behaviour
Class DeviceCpuStats
- java.lang.Object
-
- org.onosproject.net.behaviour.DeviceCpuStats
-
public class DeviceCpuStats extends Object
A representation of cpu stats of device.
-
-
Constructor Summary
Constructors Constructor Description DeviceCpuStats()
Instantiates DeviceCpuStats object with default value.DeviceCpuStats(float used)
Creates DeviceCpuStats object with given value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
float
getUsed()
Get cpu usage of device.int
hashCode()
void
setUsed(float used)
Set cpu usage of device.String
toString()
-