MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / dumpKnobs

Method dumpKnobs

src/Knobs.cpp:50–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50bson::BSONObj DocLayerKnobs::dumpKnobs() const {
51 bson::BSONObjBuilder bob;
52 for (auto k : int_knobs) {
53 bob.appendIntOrLL(k.first, *k.second);
54 }
55 for (auto k : int64_knobs) {
56 bob.appendIntOrLL(k.first, *k.second);
57 }
58 for (auto k : double_knobs) {
59 bob.appendNumber(k.first, *k.second);
60 }
61 bob << "ok" << 1;
62 return bob.obj();
63}

Callers 1

callMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected