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

Method Release

be/src/util/lru-multi-cache.inline.h:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77template <typename KeyType, typename ValueType>
78void LruMultiCache<KeyType, ValueType>::Accessor::Release() {
79 /// Nullptr check as it has to be dereferenced to get the cache reference
80 /// No nullptr check is needed inside LruMultiCache::Release()
81 if (p_value_internal_) {
82 LruMultiCache& cache = p_value_internal_->cache;
83 cache.Release(p_value_internal_);
84 p_value_internal_ = nullptr;
85 }
86}
87
88template <typename KeyType, typename ValueType>
89void LruMultiCache<KeyType, ValueType>::Accessor::Destroy() {

Callers

nothing calls this directly

Calls 4

MonotonicSecondsFunction · 0.85
IsAvailableMethod · 0.80
frontMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected