public class NoOpMetricsRegistry
extends com.yammer.metrics.core.MetricsRegistry
Constructor and Description |
---|
NoOpMetricsRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(com.yammer.metrics.core.MetricsRegistryListener listener) |
Map<com.yammer.metrics.core.MetricName,com.yammer.metrics.core.Metric> |
allMetrics() |
SortedMap<String,SortedMap<com.yammer.metrics.core.MetricName,com.yammer.metrics.core.Metric>> |
groupedMetrics() |
SortedMap<String,SortedMap<com.yammer.metrics.core.MetricName,com.yammer.metrics.core.Metric>> |
groupedMetrics(com.yammer.metrics.core.MetricPredicate predicate) |
com.yammer.metrics.core.Counter |
newCounter(Class<?> klass,
String name) |
com.yammer.metrics.core.Counter |
newCounter(Class<?> klass,
String name,
String scope) |
com.yammer.metrics.core.Counter |
newCounter(com.yammer.metrics.core.MetricName metricName) |
<T> com.yammer.metrics.core.Gauge<T> |
newGauge(Class<?> klass,
String name,
com.yammer.metrics.core.Gauge<T> metric) |
<T> com.yammer.metrics.core.Gauge<T> |
newGauge(Class<?> klass,
String name,
String scope,
com.yammer.metrics.core.Gauge<T> metric) |
<T> com.yammer.metrics.core.Gauge<T> |
newGauge(com.yammer.metrics.core.MetricName metricName,
com.yammer.metrics.core.Gauge<T> metric) |
com.yammer.metrics.core.Histogram |
newHistogram(Class<?> klass,
String name) |
com.yammer.metrics.core.Histogram |
newHistogram(Class<?> klass,
String name,
boolean biased) |
com.yammer.metrics.core.Histogram |
newHistogram(Class<?> klass,
String name,
String scope) |
com.yammer.metrics.core.Histogram |
newHistogram(Class<?> klass,
String name,
String scope,
boolean biased) |
com.yammer.metrics.core.Histogram |
newHistogram(com.yammer.metrics.core.MetricName metricName,
boolean biased) |
com.yammer.metrics.core.Meter |
newMeter(Class<?> klass,
String name,
String scope,
String eventType,
TimeUnit unit) |
com.yammer.metrics.core.Meter |
newMeter(Class<?> klass,
String name,
String eventType,
TimeUnit unit) |
com.yammer.metrics.core.Meter |
newMeter(com.yammer.metrics.core.MetricName metricName,
String eventType,
TimeUnit unit) |
protected ConcurrentMap<com.yammer.metrics.core.MetricName,com.yammer.metrics.core.Metric> |
newMetricsMap() |
ScheduledExecutorService |
newScheduledThreadPool(int poolSize,
String name) |
com.yammer.metrics.core.Timer |
newTimer(Class<?> klass,
String name) |
com.yammer.metrics.core.Timer |
newTimer(Class<?> klass,
String name,
String scope) |
com.yammer.metrics.core.Timer |
newTimer(Class<?> klass,
String name,
String scope,
TimeUnit durationUnit,
TimeUnit rateUnit) |
com.yammer.metrics.core.Timer |
newTimer(Class<?> klass,
String name,
TimeUnit durationUnit,
TimeUnit rateUnit) |
com.yammer.metrics.core.Timer |
newTimer(com.yammer.metrics.core.MetricName metricName,
TimeUnit durationUnit,
TimeUnit rateUnit) |
void |
removeListener(com.yammer.metrics.core.MetricsRegistryListener listener) |
void |
removeMetric(Class<?> klass,
String name) |
void |
removeMetric(Class<?> klass,
String name,
String scope) |
void |
removeMetric(com.yammer.metrics.core.MetricName name) |
void |
shutdown() |
public <T> com.yammer.metrics.core.Gauge<T> newGauge(Class<?> klass, String name, com.yammer.metrics.core.Gauge<T> metric)
newGauge
in class com.yammer.metrics.core.MetricsRegistry
public <T> com.yammer.metrics.core.Gauge<T> newGauge(Class<?> klass, String name, String scope, com.yammer.metrics.core.Gauge<T> metric)
newGauge
in class com.yammer.metrics.core.MetricsRegistry
public <T> com.yammer.metrics.core.Gauge<T> newGauge(com.yammer.metrics.core.MetricName metricName, com.yammer.metrics.core.Gauge<T> metric)
newGauge
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Counter newCounter(Class<?> klass, String name)
newCounter
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Counter newCounter(Class<?> klass, String name, String scope)
newCounter
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Counter newCounter(com.yammer.metrics.core.MetricName metricName)
newCounter
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Histogram newHistogram(Class<?> klass, String name, boolean biased)
newHistogram
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Histogram newHistogram(Class<?> klass, String name, String scope, boolean biased)
newHistogram
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Histogram newHistogram(Class<?> klass, String name)
newHistogram
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Histogram newHistogram(Class<?> klass, String name, String scope)
newHistogram
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Histogram newHistogram(com.yammer.metrics.core.MetricName metricName, boolean biased)
newHistogram
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Meter newMeter(Class<?> klass, String name, String eventType, TimeUnit unit)
newMeter
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Meter newMeter(Class<?> klass, String name, String scope, String eventType, TimeUnit unit)
newMeter
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Meter newMeter(com.yammer.metrics.core.MetricName metricName, String eventType, TimeUnit unit)
newMeter
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Timer newTimer(Class<?> klass, String name)
newTimer
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Timer newTimer(Class<?> klass, String name, TimeUnit durationUnit, TimeUnit rateUnit)
newTimer
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Timer newTimer(Class<?> klass, String name, String scope)
newTimer
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Timer newTimer(Class<?> klass, String name, String scope, TimeUnit durationUnit, TimeUnit rateUnit)
newTimer
in class com.yammer.metrics.core.MetricsRegistry
public com.yammer.metrics.core.Timer newTimer(com.yammer.metrics.core.MetricName metricName, TimeUnit durationUnit, TimeUnit rateUnit)
newTimer
in class com.yammer.metrics.core.MetricsRegistry
public Map<com.yammer.metrics.core.MetricName,com.yammer.metrics.core.Metric> allMetrics()
allMetrics
in class com.yammer.metrics.core.MetricsRegistry
public SortedMap<String,SortedMap<com.yammer.metrics.core.MetricName,com.yammer.metrics.core.Metric>> groupedMetrics()
groupedMetrics
in class com.yammer.metrics.core.MetricsRegistry
public SortedMap<String,SortedMap<com.yammer.metrics.core.MetricName,com.yammer.metrics.core.Metric>> groupedMetrics(com.yammer.metrics.core.MetricPredicate predicate)
groupedMetrics
in class com.yammer.metrics.core.MetricsRegistry
public void shutdown()
shutdown
in class com.yammer.metrics.core.MetricsRegistry
public ScheduledExecutorService newScheduledThreadPool(int poolSize, String name)
newScheduledThreadPool
in class com.yammer.metrics.core.MetricsRegistry
public void removeMetric(Class<?> klass, String name)
removeMetric
in class com.yammer.metrics.core.MetricsRegistry
public void removeMetric(Class<?> klass, String name, String scope)
removeMetric
in class com.yammer.metrics.core.MetricsRegistry
public void removeMetric(com.yammer.metrics.core.MetricName name)
removeMetric
in class com.yammer.metrics.core.MetricsRegistry
public void addListener(com.yammer.metrics.core.MetricsRegistryListener listener)
addListener
in class com.yammer.metrics.core.MetricsRegistry
public void removeListener(com.yammer.metrics.core.MetricsRegistryListener listener)
removeListener
in class com.yammer.metrics.core.MetricsRegistry
protected ConcurrentMap<com.yammer.metrics.core.MetricName,com.yammer.metrics.core.Metric> newMetricsMap()
newMetricsMap
in class com.yammer.metrics.core.MetricsRegistry
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.