Package org.apache.cassandra.metrics
Class DefaultNameFactory
java.lang.Object
org.apache.cassandra.metrics.DefaultNameFactory
- All Implemented Interfaces:
MetricNameFactory
MetricNameFactory that generates default MetricName of metrics.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultNameFactory(String type) DefaultNameFactory(String type, String scope) -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringcreateDefaultMBeanName(String type, String name, String scope) createMetricName(String metricName) Create a qualified name from given metric name.createMetricName(String type, String metricName, String scope)
-
Field Details
-
GROUP_NAME
- See Also:
-
-
Constructor Details
-
DefaultNameFactory
-
DefaultNameFactory
-
-
Method Details
-
createMetricName
Description copied from interface:MetricNameFactoryCreate a qualified name from given metric name.- Specified by:
createMetricNamein interfaceMetricNameFactory- Parameters:
metricName- part of qualified name.- Returns:
- new String with given metric name.
-
createMetricName
public static CassandraMetricsRegistry.MetricName createMetricName(String type, String metricName, String scope) -
createDefaultMBeanName
-