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

Method NumberOfAvailableObjects

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

Source from the content-addressed store, hash-verified

226
227template <typename KeyType, typename ValueType>
228size_t LruMultiCache<KeyType, ValueType>::NumberOfAvailableObjects() {
229 std::lock_guard<SpinLock> g(lock_);
230 return lru_list_.size();
231}
232
233template <typename KeyType, typename ValueType>
234void LruMultiCache<KeyType, ValueType>::Rehash() {

Callers 1

TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64