~IsUpOracle() = default;
int isUp(const ComboAddress& remote, const opts_t& opts);
int isUp(const ComboAddress& remote, const std::string& url, const opts_t& opts);
- //NOLINT(readability-identifier-length)
+ //NOLINTNEXTLINE(readability-identifier-length)
int isUp(const CheckDesc& cd);
private:
void setDown(const ComboAddress& rem, const std::string& url=std::string(), const opts_t& opts = opts_t())
{
- //NOLINT(readability-identifier-length)
+ //NOLINTNEXTLINE(readability-identifier-length)
CheckDesc cd{rem, url, opts};
setStatus(cd, false);
}
}
};
-//NOLINT(readability-identifier-length)
+//NOLINTNEXTLINE(readability-identifier-length)
int IsUpOracle::isUp(const CheckDesc& cd)
{
if (!d_checkerThreadStarted.test_and_set()) {