Package org.onosproject.net.statistic
Class FlowEntryWithLoad
- java.lang.Object
-
- org.onosproject.net.statistic.FlowEntryWithLoad
-
public class FlowEntryWithLoad extends Object
Load of flow entry with flow live type.
-
-
Constructor Summary
Constructors Constructor Description FlowEntryWithLoad(ConnectPoint cp, FlowEntry fe)
Creates a new flow entry with load.FlowEntryWithLoad(ConnectPoint cp, FlowEntry fe, Load load)
Creates a new flow entry with load.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectPoint
connectPoint()
Returns connect point.Load
load()
Returns current load.StoredFlowEntry
storedFlowEntry()
Returns stored flow entry.
-
-
-
Constructor Detail
-
FlowEntryWithLoad
public FlowEntryWithLoad(ConnectPoint cp, FlowEntry fe, Load load)
Creates a new flow entry with load.- Parameters:
cp
- connect pointfe
- flow entry with live typeload
- load
-
FlowEntryWithLoad
public FlowEntryWithLoad(ConnectPoint cp, FlowEntry fe)
Creates a new flow entry with load.- Parameters:
cp
- connect pointfe
- flow entry with live type
-
-
Method Detail
-
connectPoint
public ConnectPoint connectPoint()
Returns connect point.- Returns:
- connect point
-
storedFlowEntry
public StoredFlowEntry storedFlowEntry()
Returns stored flow entry.- Returns:
- flow entry
-
load
public Load load()
Returns current load.- Returns:
- load
-
-