MCPcopy Create free account
hub / github.com/apple/foundationdb / CacheWorkload

Method CacheWorkload

fdbserver/workloads/Cache.actor.cpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 Key keyPrefix;
28
29 CacheWorkload(WorkloadContext const& wcx) : TestWorkload(wcx) {
30 keyPrefix = unprintable(getOption(options, LiteralStringRef("keyPrefix"), LiteralStringRef("")).toString());
31 }
32
33 std::string description() const override { return "CacheWorkload"; }
34 Future<Void> setup(Database const& cx) override {

Callers

nothing calls this directly

Calls 3

unprintableFunction · 0.85
getOptionFunction · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected