MCPcopy Create free account
hub / github.com/Tencent/phxqueue / KeepMasterThread

Class KeepMasterThread

phxqueue/store/keepmasterthread.h:26–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26class KeepMasterThread {
27 public:
28 KeepMasterThread(Store *const store);
29 virtual ~KeepMasterThread();
30
31 void Run();
32 void Stop();
33
34 private:
35 void DoRun();
36 void InitMasterRate();
37 void AdjustMasterRate();
38 void KeepMaster();
39 void UpdatePaxosArgs();
40
41 class KeepMasterThreadImpl;
42 std::unique_ptr<KeepMasterThreadImpl> impl_;
43};
44
45
46} // namespace store

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected