mongo::PeriodicTask Class Reference

these run "roughly" every minute instantiate statically class MyTask : public PeriodicTask { public: virtual string name() const { return "MyTask; " } virtual void doWork() { log() << "hi" << endl; } } myTask; More...

#include <background.h>

Inheritance diagram for mongo::PeriodicTask:
mongo::DBConnectionPool

List of all members.

Classes

class  Runner

Public Member Functions

virtual void taskDoWork ()=0
virtual string taskName () const =0

Static Public Attributes

static RunnertheRunner = 0

Detailed Description

these run "roughly" every minute instantiate statically class MyTask : public PeriodicTask { public: virtual string name() const { return "MyTask; " } virtual void doWork() { log() << "hi" << endl; } } myTask;


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 01:46:41 2011 for MongoDB by  doxygen 1.6.3