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

Method Partition

be/src/runtime/io/data-cache.cc:632–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630}
631
632DataCache::Partition::Partition(
633 int32_t index, const string& path, int64_t capacity, int max_opened_files,
634 bool trace_replay)
635 : index_(index),
636 path_(path),
637 capacity_(max<int64_t>(capacity, PAGE_SIZE)),
638 max_opened_files_(max_opened_files),
639 trace_replay_(trace_replay),
640 meta_cache_(NewCache(GetCacheEvictionPolicy(FLAGS_data_cache_eviction_policy),
641 capacity_, path_)) {}
642
643DataCache::Partition::~Partition() {
644 if (!closed_) ReleaseResources();

Callers

nothing calls this directly

Calls 2

NewCacheFunction · 0.85
GetCacheEvictionPolicyFunction · 0.85

Tested by

no test coverage detected