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

Method getCounter

fe/src/main/java/org/apache/impala/common/Metrics.java:59–63  ·  view source on GitHub ↗

Returns a counter named 'name'. If the counter does not exist, it is registered in the metrics registry.

(String name)

Source from the content-addressed store, hash-verified

57 * the metrics registry.
58 */
59 public Counter getCounter(String name) {
60 Counter counter = registry_.getCounters().get(name);
61 if (counter == null) counter = registry_.counter(name);
62 return counter;
63 }
64
65 /**
66 * Returns a meter named 'name'. If the meter does not exist, it is registered in the

Callers 15

getFilteredEventsMethod · 0.45
createBatchEventsMethod · 0.45
processIfEnabledMethod · 0.45
isSelfEventMethod · 0.45
reloadPartitionsMethod · 0.45
isOlderEventMethod · 0.45
processTableEventMethod · 0.45
processTableInsertsMethod · 0.45

Calls 3

getCountersMethod · 0.80
counterMethod · 0.80
getMethod · 0.65