MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / flushPending

Method flushPending

pj_datastore/src/plugin_data_host.cpp:834–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832 }
833
834 void flushPending() {
835 auto lock = engine.lockEngine();
836 auto flushed = writer.flushAll();
837 if (!flushed.empty()) {
838 engine.commitChunks(std::move(flushed));
839 }
840 }
841};
842
843struct CatalogSnapshotState {

Callers

nothing calls this directly

Calls 4

lockEngineMethod · 0.80
flushAllMethod · 0.45
emptyMethod · 0.45
commitChunksMethod · 0.45

Tested by

no test coverage detected