public class MetricsCollector extends Object implements Constants
MetricsCollectorFactory
.CACHE_MANAGER_TAG_NAME, CACHE_TAG_NAME, NODE_TAG_NAME
Modifier | Constructor and Description |
---|---|
protected |
MetricsCollector(MetricRegistry registry) |
Modifier and Type | Method and Description |
---|---|
MetricRegistry |
getRegistry() |
Set<MetricID> |
registerMetrics(Object instance,
MBeanMetadata beanMetadata,
String namePrefix,
String cacheName) |
protected void |
start() |
void |
unregisterMetric(MetricID metricId) |
public MetricRegistry getRegistry()
protected void start()
public Set<MetricID> registerMetrics(Object instance, MBeanMetadata beanMetadata, String namePrefix, String cacheName)
public void unregisterMetric(MetricID metricId)
Copyright © 2021 JBoss by Red Hat. All rights reserved.