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

Method EvictedEntry

be/src/kudu/util/cache-test.cc:78–81  ·  view source on GitHub ↗

Implementation of the EvictionCallback interface.

Source from the content-addressed store, hash-verified

76
77 // Implementation of the EvictionCallback interface.
78 void EvictedEntry(Slice key, Slice val) override {
79 evicted_keys_.push_back(DecodeInt(key));
80 evicted_values_.push_back(DecodeInt(val));
81 }
82
83 int Lookup(int key) {
84 auto handle(cache_->Lookup(EncodeInt(key), Cache::EXPECT_IN_CACHE));

Callers 2

FreeEntryMethod · 0.45
FreeEntryMethod · 0.45

Calls 2

push_backMethod · 0.80
DecodeIntFunction · 0.70

Tested by

no test coverage detected