mongo::GenericCounter Class Reference

#include <counters.h>

List of all members.

Public Member Functions

 GenericCounter ()
BSONObj getObj ()
void hit (const string &name, int count=0)

Private Attributes

map< string, long long > _counts
mongo::mutex _mutex

Detailed Description

Definition at line 130 of file counters.h.


Constructor & Destructor Documentation

mongo::GenericCounter::GenericCounter (  )  [inline]

Definition at line 132 of file counters.h.


Member Function Documentation

BSONObj mongo::GenericCounter::getObj (  ) 
void mongo::GenericCounter::hit ( const string &  name,
int  count = 0 
)

Member Data Documentation

map<string,long long> mongo::GenericCounter::_counts [private]

Definition at line 136 of file counters.h.

Definition at line 137 of file counters.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:55 2013