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

Method set

fdbserver/ConfigDatabaseUnitTests.actor.cpp:249–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 Future<Void> getError() const { return Never(); }
248 Future<Void> clear(Optional<KeyRef> configClass, KeyRef knobName) { return addMutation(configClass, knobName, {}); }
249 Future<Void> set(Optional<KeyRef> configClass, KeyRef knobName, int64_t value) {
250 auto knobValue = KnobValueRef::create(value);
251 return addMutation(configClass, knobName, knobValue.contents());
252 }
253 template <class T, class V, class E>
254 void check(V T::*member, Optional<E> value) const {
255 return readFrom.checkImmediate(member, value);

Callers

nothing calls this directly

Calls 1

addMutationFunction · 0.70

Tested by

no test coverage detected