@InterfaceAudience.Public @InterfaceStability.Evolving public static enum Statistics.Statistic extends Enum<Statistics.Statistic>
Enum Constant and Description |
---|
BYTES_WRITTEN
How many bytes have been written by this client.
|
OPS_ERRORS
How many operations have been sent to server but failed.
|
RPC_ERRORS
How many rpcs have been sent to server but failed.
|
WRITE_OPS
How many operations have been sent to server and succeeded.
|
WRITE_RPCS
How many rpcs have been sent to server and succeeded.
|
Modifier and Type | Method and Description |
---|---|
static Statistics.Statistic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Statistics.Statistic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Statistics.Statistic BYTES_WRITTEN
public static final Statistics.Statistic WRITE_OPS
public static final Statistics.Statistic WRITE_RPCS
public static final Statistics.Statistic OPS_ERRORS
public static final Statistics.Statistic RPC_ERRORS
public static Statistics.Statistic[] values()
for (Statistics.Statistic c : Statistics.Statistic.values()) System.out.println(c);
public static Statistics.Statistic 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