diff options
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index cc698e12bfd..7602af622d0 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -186,6 +186,12 @@ public: _pos = n; } + /** + * Returns a generic cursor containing diagnostics about this cursor. + * The caller must either have this cursor pinned or hold a mutex from the cursor manager. + */ + GenericCursor toGenericCursor() const; + // // Timing. // |