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

Method getConnectionRecord

fdbclient/NativeAPI.actor.cpp:2154–2159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2152}
2153
2154Reference<IClusterConnectionRecord> DatabaseContext::getConnectionRecord() {
2155 if (connectionRecord) {
2156 return connectionRecord->get();
2157 }
2158 return Reference<IClusterConnectionRecord>();
2159}
2160
2161Future<Void> DatabaseContext::switchConnectionRecord(Reference<IClusterConnectionRecord> standby) {
2162 ASSERT(switchable);

Callers 15

killRegionMethod · 0.80
registerClusterMethod · 0.80
Future<Void> getClusterFunction · 0.80
startMethod · 0.80
Future<Void> doSwitchFunction · 0.80
DatabaseContextMethod · 0.80
getMethod · 0.80

Calls 1

getMethod · 0.65