Package com.faunadb.client.types
Enum MetricsResponse.Metrics
- java.lang.Object
-
- java.lang.Enum<MetricsResponse.Metrics>
-
- com.faunadb.client.types.MetricsResponse.Metrics
-
- All Implemented Interfaces:
Serializable
,Comparable<MetricsResponse.Metrics>
- Enclosing class:
- MetricsResponse
public static enum MetricsResponse.Metrics extends Enum<MetricsResponse.Metrics>
Different header names that indicate the resources used in any query to faunadb server
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BYTE_READ_OPS
BYTE_WRITE_OPS
COMPUTE_OPS
FAUNADB_BUILD
QUERY_BYTES_IN
QUERY_BYTES_OUT
QUERY_TIME
READ_OPS
STORAGE_BYTES_READ
STORAGE_BYTES_WRITE
TXN_RETRIES
TXN_TIME
WRITE_OPS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMetric()
static List<MetricsResponse.Metrics>
vals()
static MetricsResponse.Metrics
valueOf(String name)
Returns the enum constant of this type with the specified name.static MetricsResponse.Metrics[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BYTE_READ_OPS
public static final MetricsResponse.Metrics BYTE_READ_OPS
-
BYTE_WRITE_OPS
public static final MetricsResponse.Metrics BYTE_WRITE_OPS
-
COMPUTE_OPS
public static final MetricsResponse.Metrics COMPUTE_OPS
-
FAUNADB_BUILD
public static final MetricsResponse.Metrics FAUNADB_BUILD
-
QUERY_BYTES_IN
public static final MetricsResponse.Metrics QUERY_BYTES_IN
-
QUERY_BYTES_OUT
public static final MetricsResponse.Metrics QUERY_BYTES_OUT
-
QUERY_TIME
public static final MetricsResponse.Metrics QUERY_TIME
-
READ_OPS
public static final MetricsResponse.Metrics READ_OPS
-
STORAGE_BYTES_READ
public static final MetricsResponse.Metrics STORAGE_BYTES_READ
-
STORAGE_BYTES_WRITE
public static final MetricsResponse.Metrics STORAGE_BYTES_WRITE
-
TXN_RETRIES
public static final MetricsResponse.Metrics TXN_RETRIES
-
TXN_TIME
public static final MetricsResponse.Metrics TXN_TIME
-
WRITE_OPS
public static final MetricsResponse.Metrics WRITE_OPS
-
-
Method Detail
-
values
public static MetricsResponse.Metrics[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MetricsResponse.Metrics c : MetricsResponse.Metrics.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetricsResponse.Metrics valueOf(String name)
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
-
getMetric
public String getMetric()
-
vals
public static List<MetricsResponse.Metrics> vals()
-
-