[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() |
| Comment by auto [ 25/Oct/10 ] |
|
Author: {'login': 'scotthernandez', 'name': 'Scott Hernandez', 'email': 'scotthernandez@hotmail.com'}Message: expose cursorId/kill() for |
| 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 |