MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cpp-samples / Flush

Method Flush

getting-started/gke/index_gcs.cc:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168std::int64_t MutationBatcher::Flush() {
169 std::unique_lock lk(mu_);
170 Flush(lk);
171 std::int64_t n = 0;
172 std::swap(n, mutation_count_);
173 return n;
174}
175
176void MutationBatcher::ReapBackgroundTasks() {
177 std::unique_lock lk(mu_);

Callers 2

IndexGcsPrefixFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected