mongo::SnapshotThread Class Reference

#include <snapshots.h>

Inheritance diagram for mongo::SnapshotThread:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual string name () const
void run ()

Detailed Description

Definition at line 104 of file snapshots.h.


Member Function Documentation

virtual string mongo::SnapshotThread::name (  )  const [inline, virtual]

Implements mongo::BackgroundJob.

Definition at line 106 of file snapshots.h.

void mongo::SnapshotThread::run (  )  [virtual]

define this to do your work. after this returns, state is set to done. after this returns, deleted if deleteSelf true.

NOTE: if run() throws, the exception will be caught within 'this' object and will ultimately lead to the BackgroundJob's thread being finished, as if run() returned.

Implements mongo::BackgroundJob.


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