mongo::Future Class Reference

#include <parallel.h>

List of all members.

Classes

class  CommandResult

Static Public Member Functions

static void commandThread (shared_ptr< CommandResult > res)
static shared_ptr< CommandResultspawnCommand (const string &server, const string &db, const BSONObj &cmd, 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

Definition at line 244 of file parallel.h.


Member Function Documentation

static void mongo::Future::commandThread ( shared_ptr< CommandResult res  )  [static]
static shared_ptr<CommandResult> mongo::Future::spawnCommand ( const string &  server,
const string &  db,
const BSONObj cmd,
DBClientBase conn = 0 
) [static]
Parameters:
server server name
db db name
cmd cmd to exec
conn optional connection to use. will use standard pooled if non-specified

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:55 2013