MongoDB  2.0.3
Classes | Static Public Member Functions
mongo::Future Class Reference

tools for doing asynchronous operations right now uses underlying sync network ops and uses another thread should be changed to use non-blocking io More...

#include <parallel.h>

List of all members.

Classes

class  CommandResult

Static Public Member Functions

static shared_ptr< CommandResultspawnCommand (const string &server, const string &db, const BSONObj &cmd, int options, DBClientBase *conn=0)

Detailed Description

tools for doing asynchronous operations right now uses underlying sync network ops and uses another thread should be changed to use non-blocking io


Member Function Documentation

shared_ptr< Future::CommandResult > mongo::Future::spawnCommand ( const string &  server,
const string &  db,
const BSONObj cmd,
int  options,
DBClientBase conn = 0 
) [static]
Parameters:
serverserver name
dbdb name
cmdcmd to exec
connoptional connection to use. will use standard pooled if non-specified

The documentation for this class was generated from the following files: