public enum MetricEvent extends Enum<MetricEvent>
| Enum Constant and Description |
|---|
BLOCK
Normal block.
|
EXCEPTION |
OCCUPIED_PASS
Passed in future quota (pre-occupied, since 1.5.0).
|
PASS
Normal pass.
|
RT |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static MetricEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricEvent PASS
public static final MetricEvent BLOCK
public static final MetricEvent EXCEPTION
public static final MetricEvent SUCCESS
public static final MetricEvent RT
public static final MetricEvent OCCUPIED_PASS
public static MetricEvent[] values()
for (MetricEvent c : MetricEvent.values()) System.out.println(c);
public static MetricEvent 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 © 2021 Alibaba Group. All rights reserved.