diff options
author | Kefu Chai <kchai@redhat.com> | 2020-12-10 08:48:17 +0100 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2020-12-11 09:12:33 +0100 |
commit | efbfad68b8f7452a0cb52939c4eea0ce2b3f7511 (patch) | |
tree | 9ba57983199621e54725a42e373cbeada5fb0803 /src/mon/HealthMonitor.h | |
parent | Merge pull request #38480 from yician1000/fix_48488 (diff) | |
download | ceph-efbfad68b8f7452a0cb52939c4eea0ce2b3f7511.tar.xz ceph-efbfad68b8f7452a0cb52939c4eea0ce2b3f7511.zip |
mon/HealthMonitor: mark non-public methods "private"
these methods are not public visible, so mark them "private".
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/mon/HealthMonitor.h')
-rw-r--r-- | src/mon/HealthMonitor.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/mon/HealthMonitor.h b/src/mon/HealthMonitor.h index 10debe51871..9697ba86bf9 100644 --- a/src/mon/HealthMonitor.h +++ b/src/mon/HealthMonitor.h @@ -37,15 +37,6 @@ public: bool preprocess_query(MonOpRequestRef op) override; bool prepare_update(MonOpRequestRef op) override; - bool preprocess_command(MonOpRequestRef op); - bool prepare_command(MonOpRequestRef op); - - bool prepare_health_checks(MonOpRequestRef op); - - bool check_leader_health(); - bool check_member_health(); - bool check_mutes(); - void create_initial() override; void update_from_paxos(bool *need_bootstrap) override; void create_pending() override; @@ -67,6 +58,14 @@ public: /** * @} // HealthMonitor_Inherited_h */ +private: + bool preprocess_command(MonOpRequestRef op); + + bool prepare_command(MonOpRequestRef op); + bool prepare_health_checks(MonOpRequestRef op); + bool check_leader_health(); + bool check_member_health(); + bool check_mutes(); }; #endif // CEPH_HEALTH_MONITOR_H |