| 24 | |
| 25 | |
| 26 | class 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 |
nothing calls this directly
no outgoing calls
no test coverage detected