@InterfaceAudience.Private public class MetricRegistryInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
existingSource |
protected String |
metricsContext |
protected String |
metricsDescription |
protected String |
metricsJmxContext |
protected String |
metricsName |
Constructor and Description |
---|
MetricRegistryInfo(String metricsName,
String metricsDescription,
String metricsJmxContext,
String metricsContext,
boolean existingSource) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMetricsContext()
Get the metrics context.
|
String |
getMetricsDescription()
Get the description of what this source exposes.
|
String |
getMetricsJmxContext()
Get the name of the context in JMX that this source will be exposed through.
|
String |
getMetricsName()
Get the name of the metrics that are being exported by this source.
|
int |
hashCode() |
boolean |
isExistingSource()
Returns whether or not this MetricRegistry is for an existing BaseSource
|
protected final String metricsName
protected final String metricsDescription
protected final String metricsContext
protected final String metricsJmxContext
protected final boolean existingSource
public MetricRegistryInfo(String metricsName, String metricsDescription, String metricsJmxContext, String metricsContext, boolean existingSource)
public String getMetricsContext()
public String getMetricsDescription()
public String getMetricsJmxContext()
public String getMetricsName()
public boolean isExistingSource()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.