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

Method DeregisterClient

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

Source from the content-addressed store, hash-verified

133}
134
135void BufferPool::DeregisterClient(ClientHandle* client) {
136 if (!client->is_registered()) return;
137 client->impl_->Close(); // Will DCHECK if any remaining buffers or pinned pages.
138 delete client->impl_; // Will DCHECK if there are any remaining pages.
139 client->impl_ = NULL;
140}
141
142Status BufferPool::CreatePage(
143 ClientHandle* client, int64_t len, PageHandle* handle, const BufferHandle** buffer) {

Callers 15

TearDownMethod · 0.80
CloseMethod · 0.80
TearDownMethod · 0.80
CloseMethod · 0.80
TearDownMethod · 0.80
TearDownMethod · 0.80
CloseMethod · 0.80
TEST_FFunction · 0.80
SingleReaderTestBodyMethod · 0.80
CachedReadsTestBodyMethod · 0.80
RunMethod · 0.80
NewClientMethod · 0.80

Calls 2

is_registeredMethod · 0.80
CloseMethod · 0.45

Tested by 15

TearDownMethod · 0.64
TearDownMethod · 0.64
TearDownMethod · 0.64
TearDownMethod · 0.64
TEST_FFunction · 0.64
SingleReaderTestBodyMethod · 0.64
CachedReadsTestBodyMethod · 0.64
TearDownMethod · 0.64
TearDownMethod · 0.64
TEST_FFunction · 0.64
TestBufferAllocationMethod · 0.64