public class MetricRegistryInfo extends Object
This class is immutable.
| 构造器和说明 |
|---|
MetricRegistryInfo(String prefix,
String applicationName,
String metricsComponentName,
String metricsDescription) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationName() |
String |
getMetricsComponentName() |
String |
getMetricsDescription()
Get the description of what this metric registry exposes.
|
String |
getPrefix()
Get the unique prefix for metrics that are being exported by this registry.
|
int |
hashCode() |
String |
toString() |
public MetricRegistryInfo(String prefix, String applicationName, String metricsComponentName, String metricsDescription)
prefix - className or component name this metric registry collects metric forapplicationName - application Name needs to be in small case as it is used for hadoop2metricsmetricsComponentName - component name needs to be in small case as it is used for hadoop2metricsmetricsDescription - description of the metrics collected by this registrypublic String getApplicationName()
public String getMetricsComponentName()
public String getMetricsDescription()
public String getPrefix()
Copyright © 2017–2024 The Apache Software Foundation. All rights reserved.