Package org.onosproject.net.statistic
Class TypedFlowEntryWithLoad
- java.lang.Object
-
- org.onosproject.net.statistic.TypedFlowEntryWithLoad
-
public class TypedFlowEntryWithLoad extends Object
Load of flow entry of flow live type.
-
-
Constructor Summary
Constructors Constructor Description TypedFlowEntryWithLoad(ConnectPoint cp, FlowEntry fe)Creates a new typed flow entry with load.TypedFlowEntryWithLoad(ConnectPoint cp, TypedStoredFlowEntry tfe)Creates a new typed flow entry with load.TypedFlowEntryWithLoad(ConnectPoint cp, TypedStoredFlowEntry tfe, Load load)Creates a new typed flow entry with load.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectPointconnectPoint()Loadload()static TypedStoredFlowEntrynewTypedStoredFlowEntry(FlowEntry fe)Creates a new typed flow entry with the given flow entry fe.static longtypedPollInterval(TypedStoredFlowEntry tfe)Returns current typed flow entry's polling interval.TypedStoredFlowEntrytypedStoredFlowEntry()
-
-
-
Constructor Detail
-
TypedFlowEntryWithLoad
public TypedFlowEntryWithLoad(ConnectPoint cp, TypedStoredFlowEntry tfe, Load load)
Creates a new typed flow entry with load.- Parameters:
cp- connect pointtfe- typed flow entryload- load
-
TypedFlowEntryWithLoad
public TypedFlowEntryWithLoad(ConnectPoint cp, TypedStoredFlowEntry tfe)
Creates a new typed flow entry with load.- Parameters:
cp- connect pointtfe- typed flow entry
-
TypedFlowEntryWithLoad
public TypedFlowEntryWithLoad(ConnectPoint cp, FlowEntry fe)
Creates a new typed flow entry with load.- Parameters:
cp- connect pointfe- flow entry
-
-
Method Detail
-
connectPoint
public ConnectPoint connectPoint()
-
typedStoredFlowEntry
public TypedStoredFlowEntry typedStoredFlowEntry()
-
load
public Load load()
-
typedPollInterval
public static long typedPollInterval(TypedStoredFlowEntry tfe)
Returns current typed flow entry's polling interval.- Parameters:
tfe- typed flow entry- Returns:
- typed poll interval
-
newTypedStoredFlowEntry
public static TypedStoredFlowEntry newTypedStoredFlowEntry(FlowEntry fe)
Creates a new typed flow entry with the given flow entry fe.- Parameters:
fe- flow entry- Returns:
- new typed flow entry
-
-