Package org.onosproject.net.statistic
Class SummaryFlowEntryWithLoad
- java.lang.Object
-
- org.onosproject.net.statistic.SummaryFlowEntryWithLoad
-
public class SummaryFlowEntryWithLoad extends java.lang.Object
Summary Load classified by flow live type.
-
-
Constructor Summary
Constructors Constructor Description SummaryFlowEntryWithLoad(ConnectPoint cp, Load totalLoad)
Creates a new summary flow entry having load for the given connect point and total load.SummaryFlowEntryWithLoad(ConnectPoint cp, Load totalLoad, Load immediateLoad, Load shortLoad, Load midLoad, Load longLoad)
Creates a new summary flow entry having load for the given connect point and total, immediate, short, mid, and long load.SummaryFlowEntryWithLoad(ConnectPoint cp, Load totalLoad, Load immediateLoad, Load shortLoad, Load midLoad, Load longLoad, Load unknownLoad)
Creates a new summary flow entry having load for the given connect point and total, immediate, short, mid, long, and unknown load.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectPoint
connectPoint()
Returns connect point.Load
immediateLoad()
Returns immediate load of connect point.Load
longLoad()
Returns long load of connect point.Load
midLoad()
Returns mid load of connect point.Load
shortLoad()
Returns short load of connect point.Load
totalLoad()
Returns total load of connect point.Load
unknownLoad()
Returns unknown load of connect point.
-
-
-
Constructor Detail
-
SummaryFlowEntryWithLoad
public SummaryFlowEntryWithLoad(ConnectPoint cp, Load totalLoad)
Creates a new summary flow entry having load for the given connect point and total load.- Parameters:
cp
- connect pointtotalLoad
- total load
-
SummaryFlowEntryWithLoad
public SummaryFlowEntryWithLoad(ConnectPoint cp, Load totalLoad, Load immediateLoad, Load shortLoad, Load midLoad, Load longLoad)
Creates a new summary flow entry having load for the given connect point and total, immediate, short, mid, and long load.- Parameters:
cp
- connect pointtotalLoad
- total loadimmediateLoad
- immediate loadshortLoad
- short loadmidLoad
- mid loadlongLoad
- long load
-
SummaryFlowEntryWithLoad
public SummaryFlowEntryWithLoad(ConnectPoint cp, Load totalLoad, Load immediateLoad, Load shortLoad, Load midLoad, Load longLoad, Load unknownLoad)
Creates a new summary flow entry having load for the given connect point and total, immediate, short, mid, long, and unknown load.- Parameters:
cp
- connect pointtotalLoad
- total loadimmediateLoad
- immediate loadshortLoad
- short loadmidLoad
- mid loadlongLoad
- long loadunknownLoad
- long load
-
-
Method Detail
-
connectPoint
public ConnectPoint connectPoint()
Returns connect point.- Returns:
- connect point
-
totalLoad
public Load totalLoad()
Returns total load of connect point.- Returns:
- total load
-
immediateLoad
public Load immediateLoad()
Returns immediate load of connect point.- Returns:
- immediate load
-
shortLoad
public Load shortLoad()
Returns short load of connect point.- Returns:
- short load
-
midLoad
public Load midLoad()
Returns mid load of connect point.- Returns:
- mid load
-
longLoad
public Load longLoad()
Returns long load of connect point.- Returns:
- long load
-
unknownLoad
public Load unknownLoad()
Returns unknown load of connect point.- Returns:
- unknown load
-
-