MCPcopy Create free account
hub / github.com/apache/kvrocks / DecrMonitorClientNum

Method DecrMonitorClientNum

src/server/server.cc:857–857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855int Server::IncrMonitorClientNum() { return monitor_clients_.fetch_add(1, std::memory_order_relaxed); }
856
857int Server::DecrMonitorClientNum() { return monitor_clients_.fetch_sub(1, std::memory_order_relaxed); }
858
859int Server::IncrBlockedClientNum() { return blocked_clients_.fetch_add(1, std::memory_order_relaxed); }
860

Callers 3

removeConnectionMethod · 0.80
FreeConnectionByIDMethod · 0.80
QuitMonitorConnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected