Enum Constant and Description |
---|
DROP
Simple rate limiter which drops packets
when the rate is exceeded.
|
EXPERIMENTAL
Defines an experimental meter band.
|
REMARK
Defines a simple DiffServ policer that remark
the drop precedence of the DSCP field in the
IP header of the packets that exceed the band
rate value.
|
Modifier and Type | Method and Description |
---|---|
static Band.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Band.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Band.Type DROP
public static final Band.Type REMARK
public static final Band.Type EXPERIMENTAL
public static Band.Type[] values()
for (Band.Type c : Band.Type.values()) System.out.println(c);
public static Band.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null