[JAVA-178] Expose cursorId, and kill() method on DBCursor Created: 09/Oct/10  Updated: 29/Oct/10  Resolved: 25/Oct/10

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 2.2
Fix Version/s: 2.3

Type: New Feature Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Expose the cursorId so people can close/reuse cursors (like with NOTIMEOUT, or as needed). Also add a kill() method to kill the cursor on the server.



 Comments   
Comment by auto [ 27/Oct/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: fix cursor pinning to server, clean DBCursor.close() JAVA-183 JAVA-178
http://github.com/mongodb/mongo-java-driver/commit/f553a18247b5a28e6d554e000e3d4ad063f81d12

Comment by auto [ 25/Oct/10 ]

Author:

{'login': 'scotthernandez', 'name': 'Scott Hernandez', 'email': 'scotthernandez@hotmail.com'}

Message: expose cursorId/kill() for JAVA-178
http://github.com/mongodb/mongo-java-driver/commit/21a82addf1932d5d5e988be895cd15b5e5af63bb

Comment by Scott Hernandez (Inactive) [ 09/Oct/10 ]

http://github.com/scotthernandez/mongo-java-driver/commit/22d8edf7d157b7f75a57e9afa3fdc437a27f7769

Now resets the current response so the cursor doesn't get killed again on finalize.

Comment by Scott Hernandez (Inactive) [ 09/Oct/10 ]

http://github.com/scotthernandez/mongo-java-driver/commit/1fcce4b8a7de72c200fb3eed6058fc44ab5272ee

Generated at Thu Feb 08 08:51:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.