Package com.linkedin.venice.tehuti
Class MockTehutiReporter
- java.lang.Object
-
- com.linkedin.venice.tehuti.MockTehutiReporter
-
- All Implemented Interfaces:
io.tehuti.Configurable
,io.tehuti.metrics.MetricsReporter
public class MockTehutiReporter extends java.lang.Object implements io.tehuti.metrics.MetricsReporter
-
-
Constructor Summary
Constructors Constructor Description MockTehutiReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMetric(io.tehuti.metrics.TehutiMetric tehutiMetric)
void
close()
void
configure(java.util.Map<java.lang.String,?> config)
java.util.Map<java.lang.String,io.tehuti.metrics.TehutiMetric>
getAllMetrics()
void
init(java.util.List<io.tehuti.metrics.TehutiMetric> metrics)
void
metricChange(io.tehuti.metrics.TehutiMetric metric)
io.tehuti.metrics.TehutiMetric
query(java.lang.String name)
void
removeMetric(io.tehuti.metrics.TehutiMetric tehutiMetric)
-
-
-
Method Detail
-
init
public void init(java.util.List<io.tehuti.metrics.TehutiMetric> metrics)
- Specified by:
init
in interfaceio.tehuti.metrics.MetricsReporter
-
metricChange
public void metricChange(io.tehuti.metrics.TehutiMetric metric)
- Specified by:
metricChange
in interfaceio.tehuti.metrics.MetricsReporter
-
addMetric
public void addMetric(io.tehuti.metrics.TehutiMetric tehutiMetric)
- Specified by:
addMetric
in interfaceio.tehuti.metrics.MetricsReporter
-
removeMetric
public void removeMetric(io.tehuti.metrics.TehutiMetric tehutiMetric)
- Specified by:
removeMetric
in interfaceio.tehuti.metrics.MetricsReporter
-
close
public void close()
- Specified by:
close
in interfaceio.tehuti.metrics.MetricsReporter
-
configure
public void configure(java.util.Map<java.lang.String,?> config)
- Specified by:
configure
in interfaceio.tehuti.Configurable
-
query
public io.tehuti.metrics.TehutiMetric query(java.lang.String name)
-
getAllMetrics
public java.util.Map<java.lang.String,io.tehuti.metrics.TehutiMetric> getAllMetrics()
-
-