pymongo::cursor_manager::CursorManager Class Reference

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

List of all members.

Public Member Functions

def __init__
def close

Private Attributes

 __connection

Detailed Description

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.


Member Function Documentation

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.


Member Data Documentation

Reimplemented in pymongo::cursor_manager::BatchCursorManager.

Definition at line 34 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