#include <snapshots.h>
Public Member Functions | |
virtual string | name () const |
void | run () |
Definition at line 104 of file snapshots.h.
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.