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

Method stop

fdbserver/TLogServer.actor.cpp:762–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760 bool stopped() const { return stoppedPromise.isSet(); }
761
762 void stop() {
763 if (stoppedPromise.canBeSet()) {
764 TraceEvent(SevDebug, "StoppingTLog", tLogData->dbgid).detail("LogId", logId);
765 stoppedPromise.send(Void());
766 }
767 }
768};
769
770template <class T>

Callers 13

doCloseMethod · 0.45
Future<Void> stopOnErrorFunction · 0.45
doCloseFunction · 0.45
Future<Void> tLogLockFunction · 0.45
removeLogFunction · 0.45
stopAllTLogsFunction · 0.45
doCloseMethod · 0.45
setupAndRunFunction · 0.45
doCloseMethod · 0.45
onBackupChangesFunction · 0.45

Calls 5

TraceEventClass · 0.85
detailMethod · 0.80
VoidClass · 0.50
canBeSetMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected