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

Method IncrMonitorClientNum

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

Source from the content-addressed store, hash-verified

853int Server::DecrClientNum() { return connected_clients_.fetch_sub(1, std::memory_order_relaxed); }
854
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

Callers 1

BecomeMonitorConnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected