Public Member Functions | List of all members
util::VarzMapCount Class Reference

#include <varz_stats.h>

+ Inheritance diagram for util::VarzMapCount:
+ Collaboration diagram for util::VarzMapCount:

Public Member Functions

 VarzMapCount (const char *varname)
 
void IncBy (StringPiece key, int32 delta)
 
void Inc (StringPiece key)
 
void Set (StringPiece key, int32 value)
 
- Public Member Functions inherited from util::VarzListNode
 VarzListNode (const char *name)
 

Additional Inherited Members

- Public Types inherited from util::VarzListNode
typedef util::VarzValue AnyValue
 
- Static Public Member Functions inherited from util::VarzListNode
static void Iterate (std::function< void(const char *, AnyValue &&)> f)
 
static void IterateValues (std::function< void(const std::string &, const std::string &)> cb)
 
- Static Protected Member Functions inherited from util::VarzListNode
static std::string Format (const AnyValue &av)
 
- Protected Attributes inherited from util::VarzListNode
const char * name_
 

Detailed Description

Represents a family (map) of counters. Each counter has its own key name.

Definition at line 25 of file varz_stats.h.


The documentation for this class was generated from the following files: