mongo::_MultiCommandJob Class Reference

#include <multicmd.h>

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

List of all members.

Public Member Functions

 _MultiCommandJob (BSONObj &_cmd, Target &_d)

Public Attributes

BSONObjcmd
Targetd

Private Member Functions

string name () const
void run ()

Detailed Description

Definition at line 35 of file multicmd.h.


Constructor & Destructor Documentation

mongo::_MultiCommandJob::_MultiCommandJob ( BSONObj _cmd,
Target _d 
) [inline]

Definition at line 39 of file multicmd.h.


Member Function Documentation

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

Implements mongo::BackgroundJob.

Definition at line 42 of file multicmd.h.

void mongo::_MultiCommandJob::run (  )  [inline, private, 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.

Definition at line 43 of file multicmd.h.


Member Data Documentation

Definition at line 37 of file multicmd.h.

Definition at line 38 of file multicmd.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:53 2013