public static enum Policer.Unit extends Enum<Policer.Unit>
| Enum Constant and Description | 
|---|
B_PER_SEC
Byte per second. 
 | 
KB_PER_SEC
KByte per second. 
 | 
MB_PER_SEC
MByte per second. 
 | 
PKTS_PER_SEC
Packets per second. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Policer.Unit | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Policer.Unit[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Policer.Unit PKTS_PER_SEC
public static final Policer.Unit B_PER_SEC
public static final Policer.Unit KB_PER_SEC
public static final Policer.Unit MB_PER_SEC
public static Policer.Unit[] values()
for (Policer.Unit c : Policer.Unit.values()) System.out.println(c);
public static Policer.Unit 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