public static enum PortStatisticsService.MetricType extends java.lang.Enum<PortStatisticsService.MetricType>
| Enum Constant and Description |
|---|
BYTES
Load is to be given in bytes/second.
|
PACKETS
Load is to be given in packets/second.
|
| Modifier and Type | Method and Description |
|---|---|
static PortStatisticsService.MetricType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortStatisticsService.MetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortStatisticsService.MetricType BYTES
public static final PortStatisticsService.MetricType PACKETS
public static PortStatisticsService.MetricType[] values()
for (PortStatisticsService.MetricType c : PortStatisticsService.MetricType.values()) System.out.println(c);
public static PortStatisticsService.MetricType 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