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

Method GetCounterMetric

be/src/util/memory-metrics.cc:267–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267int64_t JvmMetricCache::GetCounterMetric(
268 int64_t(*accessor)(const TGetJvmMemoryMetricsResponse&)) {
269 GrabMetricsIfNecessary();
270 shared_lock<shared_mutex> shared_l(lock_);
271 return accessor(last_response_);
272}
273
274int64_t JvmMetricCache::GetPoolMetric(const std::string& mempool_name,
275 JvmMemoryMetricType type) {

Callers 1

GetValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected