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

Method PinAll

be/src/runtime/bufferpool/buffer-pool-test.cc:278–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 }
277
278 Status PinAll(BufferPool* pool, ClientHandle* client, vector<PageHandle>* pages) {
279 for (auto& page : *pages) RETURN_IF_ERROR(pool->Pin(client, &page));
280 return Status::OK();
281 }
282
283 /// Unpin all of 'pages'. If 'delay_between_unpins_ms' > 0, sleep between unpins.
284 void UnpinAll(BufferPool* pool, ClientHandle* client, vector<PageHandle>* pages,

Callers

nothing calls this directly

Calls 2

OKFunction · 0.85
PinMethod · 0.45

Tested by

no test coverage detected