public enum MetricType extends Enum<MetricType>
Enum Constant and Description |
---|
DTO
DTO queries.
|
L2
L2 cache metrics.
|
ORM
ORM queries.
|
SQL
SQL queries with a label will have metrics collected.
|
TXN
Transactions.
|
Modifier and Type | Method and Description |
---|---|
static MetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricType TXN
public static final MetricType ORM
public static final MetricType DTO
public static final MetricType SQL
SqlQuery and SqlUpdate without a label have no metrics collected.
public static final MetricType L2
public static MetricType[] values()
for (MetricType c : MetricType.values()) System.out.println(c);
public static MetricType 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 nullCopyright © 2019. All rights reserved.