Package org.onosproject.net.flow
Enum StatTriggerField
- java.lang.Object
- 
- java.lang.Enum<StatTriggerField>
- 
- org.onosproject.net.flow.StatTriggerField
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<StatTriggerField>
 
 public enum StatTriggerField extends Enum<StatTriggerField> Stat fields are supported default by OXS.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BYTE_COUNTNumber of bytes in flow entry.DURATIONTime flow entry has been alive.FLOW_COUNTNumber of aggregated flow entries.IDLE_TIMETime flow entry has been idle.PACKET_COUNTNumber of packets in flow entry.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StatTriggerFieldvalueOf(String name)Returns the enum constant of this type with the specified name.static StatTriggerField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
DURATIONpublic static final StatTriggerField DURATION Time flow entry has been alive. Unit indicates nanoseconds.
 - 
IDLE_TIMEpublic static final StatTriggerField IDLE_TIME Time flow entry has been idle. Unit indicates nanoseconds.
 - 
FLOW_COUNTpublic static final StatTriggerField FLOW_COUNT Number of aggregated flow entries.
 - 
PACKET_COUNTpublic static final StatTriggerField PACKET_COUNT Number of packets in flow entry.
 - 
BYTE_COUNTpublic static final StatTriggerField BYTE_COUNT Number of bytes in flow entry.
 
- 
 - 
Method Detail- 
valuespublic static StatTriggerField[] 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 (StatTriggerField c : StatTriggerField.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static StatTriggerField valueOf(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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-