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

Method Insert

be/src/kudu/util/cache.cc:604–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602 }
603
604 UniqueHandle Insert(UniquePendingHandle handle,
605 Cache::EvictionCallback* eviction_callback) override {
606 RLHandle* h = reinterpret_cast<RLHandle*>(DCHECK_NOTNULL(handle.release()));
607 return UniqueHandle(
608 shards_[Shard(h->hash)]->Insert(h, eviction_callback),
609 Cache::HandleDeleter(this));
610 }
611
612 UniquePendingHandle Allocate(Slice key, int val_len, int charge) override {
613 int key_len = key.size();

Callers

nothing calls this directly

Calls 3

HandleDeleterClass · 0.70
releaseMethod · 0.45
InsertMethod · 0.45

Tested by

no test coverage detected