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

Method setNetworkOption

fdbclient/MultiVersionTransaction.actor.cpp:979–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

977}
978
979void DLApi::setNetworkOption(FDBNetworkOptions::Option option, Optional<StringRef> value) {
980 throwIfError(api->setNetworkOption(static_cast<FDBNetworkOption>(option),
981 value.present() ? value.get().begin() : nullptr,
982 value.present() ? value.get().size() : 0));
983}
984
985void DLApi::setupNetwork() {
986 networkSetup = true;

Callers 4

selectApiVersionMethod · 0.45
setupNetworkMethod · 0.45

Calls 5

throwIfErrorFunction · 0.70
getMethod · 0.65
presentMethod · 0.45
beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected