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

Method pin_count

be/src/runtime/bufferpool/buffer-pool.cc:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85int BufferPool::PageHandle::pin_count() const {
86 DCHECK(is_open());
87 // The pin count can only be modified via this PageHandle, which must not be
88 // concurrently accessed by multiple threads, so it is safe to access without locking
89 return page_->pin_count;
90}
91
92int64_t BufferPool::PageHandle::len() const {
93 DCHECK(is_open());

Callers 7

CheckPageConsistencyMethod · 0.45
CalcBytesPinnedMethod · 0.45
PinPageIfNeededMethod · 0.45
UnpinPageIfNeededMethod · 0.45
PinStreamMethod · 0.45
ExtractBufferMethod · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36