| 程序包 | 说明 |
|---|---|
| org.apache.shenyu.plugin.metrics.config | |
| org.apache.shenyu.plugin.metrics.enums |
| 限定符和类型 | 方法和说明 |
|---|---|
MetricType |
Metric.getType()
Gets type.
|
| 构造器和说明 |
|---|
Metric(MetricType type,
java.lang.String name,
java.lang.String document,
java.util.List<java.lang.String> labels)
Instantiates a new Metric.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static MetricType |
MetricType.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static MetricType[] |
MetricType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
Copyright © 2026 The Apache Software Foundation. All rights reserved.