Package org.onosproject.net.flow
Enum TypedStoredFlowEntry.FlowLiveType
- java.lang.Object
-
- java.lang.Enum<TypedStoredFlowEntry.FlowLiveType>
-
- org.onosproject.net.flow.TypedStoredFlowEntry.FlowLiveType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TypedStoredFlowEntry.FlowLiveType>
- Enclosing interface:
- TypedStoredFlowEntry
public static enum TypedStoredFlowEntry.FlowLiveType extends java.lang.Enum<TypedStoredFlowEntry.FlowLiveType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IMMEDIATE_FLOW
Indicates that this rule has been submitted for addition immediately.LONG_FLOW
Indicates that this rule has been submitted for a long time.MID_FLOW
Indicates that this rule has been submitted for a mid time.SHORT_FLOW
Indicates that this rule has been submitted for a short time.UNKNOWN_FLOW
Indicates that this rule has been submitted for UNKNOWN or ERROR.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypedStoredFlowEntry.FlowLiveType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypedStoredFlowEntry.FlowLiveType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMMEDIATE_FLOW
public static final TypedStoredFlowEntry.FlowLiveType IMMEDIATE_FLOW
Indicates that this rule has been submitted for addition immediately. Not necessarily collecting flow stats.
-
SHORT_FLOW
public static final TypedStoredFlowEntry.FlowLiveType SHORT_FLOW
Indicates that this rule has been submitted for a short time. Necessarily collecting flow stats every calAndPollInterval.
-
MID_FLOW
public static final TypedStoredFlowEntry.FlowLiveType MID_FLOW
Indicates that this rule has been submitted for a mid time. Necessarily collecting flow stats every midPollInterval.
-
LONG_FLOW
public static final TypedStoredFlowEntry.FlowLiveType LONG_FLOW
Indicates that this rule has been submitted for a long time. Necessarily collecting flow stats every longPollInterval.
-
UNKNOWN_FLOW
public static final TypedStoredFlowEntry.FlowLiveType UNKNOWN_FLOW
Indicates that this rule has been submitted for UNKNOWN or ERROR. Not necessarily collecting flow stats.
-
-
Method Detail
-
values
public static TypedStoredFlowEntry.FlowLiveType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TypedStoredFlowEntry.FlowLiveType c : TypedStoredFlowEntry.FlowLiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypedStoredFlowEntry.FlowLiveType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-