MCPcopy Create free account
hub / github.com/apache/impala / addGauge

Method addGauge

fe/src/main/java/org/apache/impala/common/Metrics.java:50–53  ·  view source on GitHub ↗
(String name, T gauge)

Source from the content-addressed store, hash-verified

48 public void addTimer(String name) { registry_.timer(name); }
49
50 @SuppressWarnings("rawtypes")
51 public <T extends Gauge> void addGauge(String name, T gauge) {
52 registry_.register(name, gauge);
53 }
54
55 /**
56 * Returns a counter named 'name'. If the counter does not exist, it is registered in

Callers 5

NoOpEventProcessorMethod · 0.95
initMetricsMethod · 0.80
initMetricsMethod · 0.80
initMetricsMethod · 0.80
initMetricsMethod · 0.80

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected