MetricClass Class

public final class MetricClass
extends ExpandableStringEnum<MetricClass>

The class of the metric.

Field Summary

Modifier and Type Field and Description
static final MetricClass AVAILABILITY

Static value Availability for MetricClass.

static final MetricClass ERRORS

Static value Errors for MetricClass.

static final MetricClass LATENCY

Static value Latency for MetricClass.

static final MetricClass SATURATION

Static value Saturation for MetricClass.

static final MetricClass TRANSACTIONS

Static value Transactions for MetricClass.

Constructor Summary

Constructor Description
MetricClass()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MetricClass value.

Method Summary

Modifier and Type Method and Description
static MetricClass fromString(String name)

Creates or finds a MetricClass from its string representation.

static Collection<MetricClass> values()

Gets known MetricClass values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AVAILABILITY

public static final MetricClass AVAILABILITY

Static value Availability for MetricClass.

ERRORS

public static final MetricClass ERRORS

Static value Errors for MetricClass.

LATENCY

public static final MetricClass LATENCY

Static value Latency for MetricClass.

SATURATION

public static final MetricClass SATURATION

Static value Saturation for MetricClass.

TRANSACTIONS

public static final MetricClass TRANSACTIONS

Static value Transactions for MetricClass.

Constructor Details

MetricClass

@Deprecated
public MetricClass()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MetricClass value.

Method Details

fromString

public static MetricClass fromString(String name)

Creates or finds a MetricClass from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MetricClass.

values

public static Collection values()

Gets known MetricClass values.

Returns:

known MetricClass values.

Applies to