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

Method getTimer

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

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

(String name)

Source from the content-addressed store, hash-verified

87 * metrics registry.
88 */
89 public Timer getTimer(String name) {
90 Timer timer = registry_.getTimers().get(name);
91 if (timer == null) timer = registry_.timer(name);
92 return timer;
93 }
94
95 @SuppressWarnings("rawtypes")
96 public Gauge getGauge(String name) { return registry_.getGauges().get(name); }

Callers 15

processMethod · 0.80
alterTableMethod · 0.80
updateCatalogImplMethod · 0.80
loadMethod · 0.80
reloadTableMethod · 0.80
loadMethod · 0.80
loadFileMetadataMethod · 0.80
loadMethod · 0.80
loadAllPartitionsMethod · 0.80
loadMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected