gossiper: convict: make private

It is used only internally in gossiper.

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
Benny Halevy
2023-07-11 09:56:39 +03:00
parent a6a66edc84
commit b324bf38ea

View File

@@ -269,11 +269,6 @@ public:
int64_t get_endpoint_downtime(inet_address ep) const noexcept;
/**
* @param endpoint end point that is convicted.
*/
future<> convict(inet_address endpoint);
/**
* Return either: the greatest heartbeat or application state
*
@@ -284,6 +279,11 @@ public:
private:
/**
* @param endpoint end point that is convicted.
*/
future<> convict(inet_address endpoint);
/**
* Removes the endpoint from gossip completely
*