Package org.onosproject.cpman
Class MetricValue
- java.lang.Object
-
- org.onosproject.cpman.MetricValue
-
public final class MetricValue extends java.lang.Object
Primitive Metric Value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetricValue.Builder
MetricValue builder class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
long
getCount()
Returns count value.long
getLoad()
Returns load value.long
getRate()
Returns rate value.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getRate
public long getRate()
Returns rate value.- Returns:
- rate
-
getLoad
public long getLoad()
Returns load value.- Returns:
- load
-
getCount
public long getCount()
Returns count value.- Returns:
- cound
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-