
Public Member Functions | |
| def | __init__ |
| def | close |
Private Attributes | |
| __connection | |
The default cursor manager. This manager will kill cursors one at a time as they are closed.
Definition at line 22 of file cursor_manager.py.
| def pymongo::cursor_manager::CursorManager::__init__ | ( | self, | ||
| connection | ||||
| ) |
Instantiate the manager. :Parameters: - `connection`: a Mongo Connection
Reimplemented in pymongo::cursor_manager::BatchCursorManager.
Definition at line 28 of file cursor_manager.py.
| def pymongo::cursor_manager::CursorManager::close | ( | self, | ||
| cursor_id | ||||
| ) |
Close a cursor by killing it immediately. Raises TypeError if cursor_id is not an instance of (int, long). :Parameters: - `cursor_id`: cursor id to close
Reimplemented in pymongo::cursor_manager::BatchCursorManager.
Definition at line 36 of file cursor_manager.py.
Reimplemented in pymongo::cursor_manager::BatchCursorManager.
Definition at line 34 of file cursor_manager.py.