public enum MetricsAdapter extends Enum<MetricsAdapter>
| Enum Constant and Description |
|---|
DEFAULT
Consumes and publishes metrics via the driver itself.
|
DEV_NULL
Disables metrics.
|
MICROMETER
Consumes and publishes metrics via Micrometer.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricsAdapter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsAdapter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsAdapter DEV_NULL
public static final MetricsAdapter DEFAULT
public static final MetricsAdapter MICROMETER
public static MetricsAdapter[] values()
for (MetricsAdapter c : MetricsAdapter.values()) System.out.println(c);
public static MetricsAdapter 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