|
MongoDB
2.0.3
|
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>
Classes | |
| class | CommandResult |
Static Public Member Functions | |
| static shared_ptr< CommandResult > | spawnCommand (const string &server, const string &db, const BSONObj &cmd, int options, DBClientBase *conn=0) |
tools for doing asynchronous operations right now uses underlying sync network ops and uses another thread should be changed to use non-blocking io
| shared_ptr< Future::CommandResult > mongo::Future::spawnCommand | ( | const string & | server, |
| const string & | db, | ||
| const BSONObj & | cmd, | ||
| int | options, | ||
| DBClientBase * | conn = 0 |
||
| ) | [static] |
| server | server name |
| db | db name |
| cmd | cmd to exec |
| conn | optional connection to use. will use standard pooled if non-specified |
1.8.0