Public Member Functions | |
def | __del__ |
def | __init__ |
def | close |
Private Attributes | |
__connection | |
__dying_cursors | |
__max_dying_cursors |
A cursor manager that kills cursors in batches.
Definition at line 50 of file cursor_manager.py.
def pymongo::cursor_manager::BatchCursorManager::__del__ | ( | self | ) |
Cleanup - be sure to kill any outstanding cursors.
Definition at line 66 of file cursor_manager.py.
def pymongo::cursor_manager::BatchCursorManager::__init__ | ( | self, | ||
connection | ||||
) |
Instantiate the manager. :Parameters: - `connection`: a Mongo Connection
Reimplemented from pymongo::cursor_manager::CursorManager.
Definition at line 54 of file cursor_manager.py.
def pymongo::cursor_manager::BatchCursorManager::close | ( | self, | ||
cursor_id | ||||
) |
Close a cursor by killing it in a batch. Raises TypeError if cursor_id is not an instance of (int, long). :Parameters: - `cursor_id`: cursor id to close
Reimplemented from pymongo::cursor_manager::CursorManager.
Definition at line 71 of file cursor_manager.py.
Reimplemented from pymongo::cursor_manager::CursorManager.
Definition at line 62 of file cursor_manager.py.
Definition at line 60 of file cursor_manager.py.
Definition at line 61 of file cursor_manager.py.