Enum ServerMetrics
- All Implemented Interfaces:
Serializable,Comparable<ServerMetrics>,java.lang.constant.Constable
Stats returned by the server.
`-1` means the value is not available.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionElapsed time in nanoseconds.Number of bytes read by server from the storage.Number of bytes written by server to the storage.Number of rows read by server from the storage.Number of rows written by server to the storage.Number of returned rows.Estimated number of rows to read from the storage. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()static ServerMetricsReturns the enum constant of this type with the specified name.static ServerMetrics[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NUM_ROWS_READ
Number of rows read by server from the storage. -
NUM_ROWS_WRITTEN
Number of rows written by server to the storage. -
TOTAL_ROWS_TO_READ
Estimated number of rows to read from the storage. -
NUM_BYTES_READ
Number of bytes read by server from the storage. -
NUM_BYTES_WRITTEN
Number of bytes written by server to the storage. -
RESULT_ROWS
Number of returned rows. -
ELAPSED_TIME
Elapsed time in nanoseconds.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getKey
-