public interface StatisticService
Modifier and Type | Method and Description |
---|---|
FlowRule |
highestHitter(ConnectPoint connectPoint)
Returns the highest hitter (a flow rule) for a given port, ie.
|
Load |
load(ConnectPoint connectPoint)
Obtain the load for the given port.
|
Load |
load(Link link)
Obtain the load for a the ingress to the given link.
|
Load |
load(Link link,
ApplicationId appId,
Optional<GroupId> groupId)
Obtain the load for a the ingress to the given link used by
the specified application ID and group ID.
|
Link |
max(Path path)
Find the most loaded link along a path.
|
Link |
min(Path path)
Find the least loaded link along a path.
|
Load load(Link link)
link
- the link to query.Load
Load load(ConnectPoint connectPoint)
connectPoint
- the port to queryLoad
Link max(Path path)
path
- the path to search inLink
.Link min(Path path)
path
- the path to search inLink
.FlowRule highestHitter(ConnectPoint connectPoint)
connectPoint
- the port