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

Method Clear

be/src/common/object-pool.h:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 void Clear() {
46 std::lock_guard<SpinLock> l(lock_);
47 for (Element& elem : objects_) elem.delete_fn(elem.obj);
48 objects_.clear();
49 }
50
51 private:
52 DISALLOW_COPY_AND_ASSIGN(ObjectPool);

Callers 2

StatusToProtoFunction · 0.45
TearDownMethod · 0.45

Calls 1

clearMethod · 0.65

Tested by 1

TearDownMethod · 0.36