mongo::Snapshots Class Reference

#include <snapshots.h>

List of all members.

Public Member Functions

auto_ptr< SnapshotDeltacomputeDelta (int numBack=0)
const SnapshotDatagetPrev (int numBack=0)
int numDeltas () const
void outputLockInfoHTML (stringstream &ss)
 Snapshots (int n=100)
const SnapshotDatatakeSnapshot ()

Private Attributes

int _loc
mongo::mutex _lock
int _n
boost::scoped_array< SnapshotData_snapshots
int _stored

Detailed Description

Definition at line 83 of file snapshots.h.


Constructor & Destructor Documentation

mongo::Snapshots::Snapshots ( int  n = 100  ) 

Member Function Documentation

auto_ptr<SnapshotDelta> mongo::Snapshots::computeDelta ( int  numBack = 0  ) 
const SnapshotData& mongo::Snapshots::getPrev ( int  numBack = 0  ) 
int mongo::Snapshots::numDeltas (  )  const [inline]

Definition at line 89 of file snapshots.h.

void mongo::Snapshots::outputLockInfoHTML ( stringstream &  ss  ) 
const SnapshotData* mongo::Snapshots::takeSnapshot (  ) 

Member Data Documentation

int mongo::Snapshots::_loc [private]

Definition at line 100 of file snapshots.h.

Definition at line 97 of file snapshots.h.

int mongo::Snapshots::_n [private]

Definition at line 98 of file snapshots.h.

boost::scoped_array<SnapshotData> mongo::Snapshots::_snapshots [private]

Definition at line 99 of file snapshots.h.

Definition at line 101 of file snapshots.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:58 2013