parallel.h | parallel.h | |||
---|---|---|---|---|
skipping to change at line 266 | skipping to change at line 266 | |||
class DBClientCursor; | class DBClientCursor; | |||
typedef shared_ptr<DBClientCursor> DBClientCursorPtr; | typedef shared_ptr<DBClientCursor> DBClientCursorPtr; | |||
class ParallelConnectionState { | class ParallelConnectionState { | |||
public: | public: | |||
ParallelConnectionState() : | ParallelConnectionState() : | |||
count( 0 ), done( false ) { } | count( 0 ), done( false ) { } | |||
// Please do not reorder. cursor destructor can use conn. | ||||
// On a related note, never attempt to cleanup these pointers manua | ||||
lly. | ||||
ShardConnectionPtr conn; | ShardConnectionPtr conn; | |||
DBClientCursorPtr cursor; | DBClientCursorPtr cursor; | |||
// Version information | // Version information | |||
ChunkManagerPtr manager; | ChunkManagerPtr manager; | |||
ShardPtr primary; | ShardPtr primary; | |||
// Cursor status information | // Cursor status information | |||
long long count; | long long count; | |||
bool done; | bool done; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added | |||