MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / increment

Method increment

src/modules/keydb_modstatsd/modmain.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 void increment(const std::string& key, const bool prefixOnly = true) {
42 m_stats->increment(key);
43 if (!prefixOnly) m_stats_noprefix->increment(key);
44 }
45
46 void decrement(const std::string& key, const bool prefixOnly = true) {
47 m_stats->decrement(key);

Callers 6

handleStatItemFunction · 0.45
event_cron_handlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected