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

Method toString

fdbserver/LogSystemConfig.cpp:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include "fdbserver/LogSystemConfig.h"
22
23std::string TLogSet::toString() const {
24 return format("anti: %d replication: %d local: %d routers: %d tLogs: %s backupWorkers: %s locality: %d",
25 tLogWriteAntiQuorum,
26 tLogReplicationFactor,
27 isLocal,
28 logRouters.size(),
29 describe(tLogs).c_str(),
30 describe(backupWorkers).c_str(),
31 locality);
32}
33
34bool TLogSet::operator==(const TLogSet& rhs) const {
35 if (tLogWriteAntiQuorum != rhs.tLogWriteAntiQuorum || tLogReplicationFactor != rhs.tLogReplicationFactor ||

Callers 15

LogDataMethod · 0.45
Future<Void> tLogPopCoreFunction · 0.45
Future<Void> tLogPopFunction · 0.45
whenFunction · 0.45
Future<Void> tLogCoreFunction · 0.45
Future<Void> tLogStartFunction · 0.45

Calls 4

describeFunction · 0.70
formatFunction · 0.50
sizeMethod · 0.45
c_strMethod · 0.45

Tested by 7

testKeyToDoubleFunction · 0.36
getOptionFunction · 0.36
checkAllOptionsConsumedFunction · 0.36
printSimulatedTopologyFunction · 0.36
Future<Void> runTestsFunction · 0.36