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

Method GetBufferBlockLock

be/src/runtime/io/disk-file.h:383–386  ·  view source on GitHub ↗

Return the lock of the read buffer block.

Source from the content-addressed store, hash-verified

381
382 // Return the lock of the read buffer block.
383 SpinLock* GetBufferBlockLock(int index) {
384 DCheckReadBufferIdx(index);
385 return read_buffer_->read_buffer_blocks_[index]->GetLock();
386 }
387
388 // Check if there is an available local memory buffer for the specific offset.
389 // Caller should hold the physical lock of the disk file in case the object is

Callers 1

DoFetchMethod · 0.80

Calls 1

GetLockMethod · 0.45

Tested by

no test coverage detected