Class DropwizardTaggedMetricSet
- java.lang.Object
-
- com.palantir.tritium.metrics.registry.DropwizardTaggedMetricSet
-
- All Implemented Interfaces:
TaggedMetricSet
public final class DropwizardTaggedMetricSet extends java.lang.Object implements TaggedMetricSet
-
-
Constructor Summary
Constructors Constructor Description DropwizardTaggedMetricSet(com.codahale.metrics.MetricSet metricSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforEachMetric(java.util.function.BiConsumer<MetricName,com.codahale.metrics.Metric> consumer)java.util.Map<MetricName,com.codahale.metrics.Metric>getMetrics()Returns a map of metrics.
-
-
-
Method Detail
-
getMetrics
public java.util.Map<MetricName,com.codahale.metrics.Metric> getMetrics()
Description copied from interface:TaggedMetricSetReturns a map of metrics.- Specified by:
getMetricsin interfaceTaggedMetricSet- Returns:
- map of metrics
-
forEachMetric
public void forEachMetric(java.util.function.BiConsumer<MetricName,com.codahale.metrics.Metric> consumer)
- Specified by:
forEachMetricin interfaceTaggedMetricSet
-
-