public static enum TokenBucket.Action extends Enum<TokenBucket.Action>
| Enum Constant and Description |
|---|
DEI
Marking sets Drop Elegible Indicator.
|
DROP
Drop action.
|
DSCP_CLASS
Marking sets DSCP class.
|
DSCP_PRECEDENCE
Marking increases DSCP drop precedence.
|
| Modifier and Type | Method and Description |
|---|---|
static TokenBucket.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenBucket.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenBucket.Action DROP
public static final TokenBucket.Action DSCP_PRECEDENCE
public static final TokenBucket.Action DSCP_CLASS
public static final TokenBucket.Action DEI
public static TokenBucket.Action[] values()
for (TokenBucket.Action c : TokenBucket.Action.values()) System.out.println(c);
public static TokenBucket.Action valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null