summaryrefslogtreecommitdiffstats
path: root/src/mon/HealthMonitor.h
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2020-12-10 08:48:17 +0100
committerKefu Chai <kchai@redhat.com>2020-12-11 09:12:33 +0100
commitefbfad68b8f7452a0cb52939c4eea0ce2b3f7511 (patch)
tree9ba57983199621e54725a42e373cbeada5fb0803 /src/mon/HealthMonitor.h
parentMerge pull request #38480 from yician1000/fix_48488 (diff)
downloadceph-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.h17
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