mongo::Future Class Reference
#include <parallel.h>
List of all members.
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: