pymongo::cursor_manager::BatchCursorManager Class Reference

Inheritance diagram for pymongo::cursor_manager::BatchCursorManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __del__
def __init__
def close

Private Attributes

 __connection
 __dying_cursors
 __max_dying_cursors

Detailed Description

A cursor manager that kills cursors in batches.

Definition at line 50 of file cursor_manager.py.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


pymongo
Author(s): Bhaskara Marthi
autogenerated on Fri Jan 11 10:09:06 2013