public class TaskMetricRepo extends Object
Metric repository to allow reporting of task-specific metrics.
Constructor and Description |
---|
TaskMetricRepo() |
Modifier and Type | Method and Description |
---|---|
void |
addCounter(String name,
com.codahale.metrics.Counter counter) |
void |
addGauge(String name,
com.codahale.metrics.Gauge gauge) |
void |
addHistogram(String name,
com.codahale.metrics.Histogram histogram) |
void |
addMeter(String name,
com.codahale.metrics.Meter meter) |
void |
addTimer(String name,
com.codahale.metrics.Timer timer) |
void |
report(com.codahale.metrics.ScheduledReporter reporter,
com.codahale.metrics.MetricFilter filter) |
public void addCounter(String name, com.codahale.metrics.Counter counter)
public void addGauge(String name, com.codahale.metrics.Gauge gauge)
public void addMeter(String name, com.codahale.metrics.Meter meter)
public void addHistogram(String name, com.codahale.metrics.Histogram histogram)
public void addTimer(String name, com.codahale.metrics.Timer timer)
public void report(com.codahale.metrics.ScheduledReporter reporter, com.codahale.metrics.MetricFilter filter)
Copyright © 2022 The Apache Software Foundation. All rights reserved.