Package org.onosproject.net.behaviour
Enum QosDescription.Type
- java.lang.Object
-
- java.lang.Enum<QosDescription.Type>
-
- org.onosproject.net.behaviour.QosDescription.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<QosDescription.Type>
- Enclosing interface:
- QosDescription
public static enum QosDescription.Type extends Enum<QosDescription.Type>
Denotes the type of the Qos.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CODEL
Corresponds to Controlled Delay classifier classifier.EGRESS_POLICER
DPDK egress policer.FQ_CODEL
Corresponds to Fair Queuing with Controlled Delay classifier.HFSC
Corresponds to Hierarchical Fair Service Curve classifier.HTB
Corresponds to Hierarchy token bucket classifier.NOOP
No operation.SFQ
Corresponds to Stochastic Fairness Queueing classifier.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QosDescription.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static QosDescription.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTB
public static final QosDescription.Type HTB
Corresponds to Hierarchy token bucket classifier.
-
HFSC
public static final QosDescription.Type HFSC
Corresponds to Hierarchical Fair Service Curve classifier.
-
SFQ
public static final QosDescription.Type SFQ
Corresponds to Stochastic Fairness Queueing classifier.
-
CODEL
public static final QosDescription.Type CODEL
Corresponds to Controlled Delay classifier classifier.
-
FQ_CODEL
public static final QosDescription.Type FQ_CODEL
Corresponds to Fair Queuing with Controlled Delay classifier.
-
NOOP
public static final QosDescription.Type NOOP
No operation.
-
EGRESS_POLICER
public static final QosDescription.Type EGRESS_POLICER
DPDK egress policer.
-
-
Method Detail
-
values
public static QosDescription.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 (QosDescription.Type c : QosDescription.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QosDescription.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 nameNullPointerException
- if the argument is null
-
-