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

Method AddProperty

be/src/util/metrics.h:417–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415
416 template<typename T>
417 LockedMetric<T, TMetricKind::PROPERTY>* AddProperty(const std::string& key,
418 const T& value, const std::string& metric_def_arg = "") {
419 return RegisterMetric(new LockedMetric<T, TMetricKind::PROPERTY>(
420 MetricDefs::Get(key, metric_def_arg), value));
421 }
422
423 IntCounter* AddCounter(const std::string& key, const int64_t value,
424 const std::string& metric_def_arg = "") {

Callers 6

StatestoreStubMethod · 0.80
StatestoreMethod · 0.80
SchedulerMethod · 0.80
RegisterMemoryMetricsMethod · 0.80
TEST_FFunction · 0.80
CatalogServerMethod · 0.80

Calls

no outgoing calls

Tested by 3

StatestoreStubMethod · 0.64
StatestoreMethod · 0.64
TEST_FFunction · 0.64