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

Method setAndPersistConnectionString

fdbclient/ClusterConnectionFile.actor.cpp:54–58  ·  view source on GitHub ↗

Sets the connections string held by this object and persists it.

Source from the content-addressed store, hash-verified

52
53// Sets the connections string held by this object and persists it.
54Future<Void> ClusterConnectionFile::setAndPersistConnectionString(ClusterConnectionString const& conn) {
55 ASSERT(filename.size());
56 cs = conn;
57 return success(persist());
58}
59
60// Get the connection string stored in the file.
61Future<ClusterConnectionString> ClusterConnectionFile::getStoredConnectionString() {

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected