Package org.onosproject.net.group
Enum GroupDescription.Type
- java.lang.Object
- 
- java.lang.Enum<GroupDescription.Type>
- 
- org.onosproject.net.group.GroupDescription.Type
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<GroupDescription.Type>
 - Enclosing interface:
- GroupDescription
 
 public static enum GroupDescription.Type extends Enum<GroupDescription.Type> Types of the group supported by ONOS.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ALLMulticast to all buckets in a group.CLONESimilar toALLbut used for cloning of packets independently of the egress decision (singleton treatment or other group).FAILOVERUses the first live bucket in a group.INDIRECTSingle Bucket Group.SELECTLoad-balancing among different buckets in a group.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static GroupDescription.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static GroupDescription.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SELECTpublic static final GroupDescription.Type SELECT Load-balancing among different buckets in a group.
 - 
INDIRECTpublic static final GroupDescription.Type INDIRECT Single Bucket Group.
 - 
ALLpublic static final GroupDescription.Type ALL Multicast to all buckets in a group.
 - 
CLONEpublic static final GroupDescription.Type CLONE Similar toALLbut used for cloning of packets independently of the egress decision (singleton treatment or other group).
 - 
FAILOVERpublic static final GroupDescription.Type FAILOVER Uses the first live bucket in a group.
 
- 
 - 
Method Detail- 
valuespublic static GroupDescription.Type[] 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 (GroupDescription.Type c : GroupDescription.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static GroupDescription.Type 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
 
 
- 
 
-