Package org.onosproject.net.statistic
Interface Load
-
- All Known Subinterfaces:
ControlLoad
- All Known Implementing Classes:
DefaultLoad
public interface LoadSimple data repository for link load information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisValid()Indicates whether this load was built on valid values.longlatest()Obtain the latest bytes counter viewed on that link.longrate()Obtain the current observed rate (in bytes/s) on a link.longtime()Returns when this value was seen.
-
-
-
Method Detail
-
rate
long rate()
Obtain the current observed rate (in bytes/s) on a link.- Returns:
- long value
-
latest
long latest()
Obtain the latest bytes counter viewed on that link.- Returns:
- long value
-
isValid
boolean isValid()
Indicates whether this load was built on valid values.- Returns:
- boolean
-
time
long time()
Returns when this value was seen.- Returns:
- epoch time
-
-