mongo::ShardedClientCursor Class Reference

#include <cursors.h>

List of all members.

Public Member Functions

void accessed ()
long long getId ()
long long idleTime (long long now)
bool sendNextBatch (Request &r, int ntoreturn)
bool sendNextBatch (Request &r)
 ShardedClientCursor (QueryMessage &q, ClusteredCursor *cursor)
virtual ~ShardedClientCursor ()

Protected Attributes

ClusteredCursor_cursor
bool _done
long long _id
long long _lastAccessMillis
int _ntoreturn
int _skip
int _totalSent

Detailed Description

Definition at line 31 of file cursors.h.


Constructor & Destructor Documentation

mongo::ShardedClientCursor::ShardedClientCursor ( QueryMessage q,
ClusteredCursor cursor 
)
virtual mongo::ShardedClientCursor::~ShardedClientCursor (  )  [virtual]

Member Function Documentation

void mongo::ShardedClientCursor::accessed (  ) 
long long mongo::ShardedClientCursor::getId (  ) 
long long mongo::ShardedClientCursor::idleTime ( long long  now  ) 
Returns:
idle time in ms
bool mongo::ShardedClientCursor::sendNextBatch ( Request r,
int  ntoreturn 
)
bool mongo::ShardedClientCursor::sendNextBatch ( Request r  )  [inline]
Returns:
whether there is more data left

Definition at line 39 of file cursors.h.


Member Data Documentation

Definition at line 48 of file cursors.h.

Definition at line 54 of file cursors.h.

long long mongo::ShardedClientCursor::_id [protected]

Definition at line 56 of file cursors.h.

Definition at line 57 of file cursors.h.

Definition at line 51 of file cursors.h.

Definition at line 50 of file cursors.h.

Definition at line 53 of file cursors.h.


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