mongo::NetworkCounter Class Reference

#include <counters.h>

List of all members.

Public Member Functions

void append (BSONObjBuilder &b)
void hit (long long bytesIn, long long bytesOut)
 NetworkCounter ()

Private Attributes

long long _bytesIn
long long _bytesOut
SpinLock _lock
long long _overflows
long long _requests

Detailed Description

Definition at line 140 of file counters.h.


Constructor & Destructor Documentation

mongo::NetworkCounter::NetworkCounter (  )  [inline]

Definition at line 142 of file counters.h.


Member Function Documentation

void mongo::NetworkCounter::append ( BSONObjBuilder b  ) 
void mongo::NetworkCounter::hit ( long long  bytesIn,
long long  bytesOut 
)

Member Data Documentation

long long mongo::NetworkCounter::_bytesIn [private]

Definition at line 146 of file counters.h.

long long mongo::NetworkCounter::_bytesOut [private]

Definition at line 147 of file counters.h.

Definition at line 152 of file counters.h.

long long mongo::NetworkCounter::_overflows [private]

Definition at line 150 of file counters.h.

long long mongo::NetworkCounter::_requests [private]

Definition at line 148 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