mongo::OpCounters Class Reference

#include <counters.h>

List of all members.

Public Member Functions

AtomicUIntgetCommand ()
AtomicUIntgetDelete ()
AtomicUIntgetGetMore ()
AtomicUIntgetInsert ()
BSONObjgetObj ()
AtomicUIntgetQuery ()
AtomicUIntgetUpdate ()
void gotCommand ()
void gotDelete ()
void gotGetMore ()
void gotInsert ()
void gotOp (int op, bool isCommand)
void gotQuery ()
void gotUpdate ()
void incInsertInWriteLock (int n)
 OpCounters ()

Private Attributes

AtomicUInt_command
AtomicUInt_delete
AtomicUInt_getmore
AtomicUInt_insert
BSONObj _obj
AtomicUInt_query
AtomicUInt_update

Detailed Description

for storing operation counters note: not thread safe. ok with that for speed

Definition at line 30 of file counters.h.


Constructor & Destructor Documentation

mongo::OpCounters::OpCounters (  ) 

Member Function Documentation

AtomicUInt* mongo::OpCounters::getCommand (  )  [inline]

Definition at line 34 of file counters.h.

AtomicUInt* mongo::OpCounters::getDelete (  )  [inline]

Definition at line 32 of file counters.h.

AtomicUInt* mongo::OpCounters::getGetMore (  )  [inline]

Definition at line 33 of file counters.h.

AtomicUInt* mongo::OpCounters::getInsert (  )  [inline]

Definition at line 29 of file counters.h.

BSONObj& mongo::OpCounters::getObj (  ) 
AtomicUInt* mongo::OpCounters::getQuery (  )  [inline]

Definition at line 30 of file counters.h.

AtomicUInt* mongo::OpCounters::getUpdate (  )  [inline]

Definition at line 31 of file counters.h.

void mongo::OpCounters::gotCommand (  )  [inline]

Definition at line 42 of file counters.h.

void mongo::OpCounters::gotDelete (  )  [inline]

Definition at line 40 of file counters.h.

void mongo::OpCounters::gotGetMore (  )  [inline]

Definition at line 41 of file counters.h.

void mongo::OpCounters::gotInsert (  )  [inline]

Definition at line 37 of file counters.h.

void mongo::OpCounters::gotOp ( int  op,
bool  isCommand 
)
void mongo::OpCounters::gotQuery (  )  [inline]

Definition at line 38 of file counters.h.

void mongo::OpCounters::gotUpdate (  )  [inline]

Definition at line 39 of file counters.h.

void mongo::OpCounters::incInsertInWriteLock ( int  n  )  [inline]

Definition at line 36 of file counters.h.


Member Data Documentation

Definition at line 58 of file counters.h.

Definition at line 56 of file counters.h.

Definition at line 57 of file counters.h.

Definition at line 53 of file counters.h.

Definition at line 49 of file counters.h.

Definition at line 54 of file counters.h.

Definition at line 55 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:56 2013