diff options
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index 356c33f2bc0..8174efab5ab 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -43,8 +43,8 @@ namespace mongo { typedef boost::recursive_mutex::scoped_lock recursive_scoped_lock; class ClientCursor; class Collection; - class CollectionCursorCache; class CurOp; + class CursorManager; class Database; class NamespaceDetails; class ParsedQuery; @@ -62,7 +62,7 @@ namespace mongo { /** * This ClientCursor constructor creates a cursorid that can be getMore'd */ - ClientCursor(CollectionCursorCache* cursorCache, + ClientCursor(CursorManager* cursorManager, PlanExecutor* exec, int qopts = 0, const BSONObj query = BSONObj(), @@ -71,7 +71,7 @@ namespace mongo { /** * This ClientCursor is used to track sharding state. */ - ClientCursor(CollectionCursorCache* cursorCache); + ClientCursor(CursorManager* cursorManager); // // Basic accessors @@ -79,7 +79,7 @@ namespace mongo { CursorId cursorid() const { return _cursorid; } std::string ns() const { return _ns; } - CollectionCursorCache* cursorCache() const { return _cursorCache; } + CursorManager* cursorManager() const { return _cursorManager; } bool isAggCursor() const { return _isAggCursor; } // @@ -197,7 +197,7 @@ namespace mongo { RecoveryUnit* releaseOwnedRecoveryUnit(); private: - friend class CollectionCursorCache; + friend class CursorManager; friend class ClientCursorPin; /** @@ -221,7 +221,7 @@ namespace mongo { // The namespace we're operating on. std::string _ns; - CollectionCursorCache* _cursorCache; + CursorManager* _cursorManager; // if we've added it to the total open counter yet bool _countedYet; @@ -289,7 +289,7 @@ namespace mongo { */ class ClientCursorPin : boost::noncopyable { public: - ClientCursorPin( CollectionCursorCache* cursorCache, long long cursorid ); + ClientCursorPin( CursorManager* cursorManager, long long cursorid ); ~ClientCursorPin(); // This just releases the pin, does not delete the underlying // unless ownership has passed to us after kill |