We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5db1a52 commit da03eefCopy full SHA for da03eef
1 file changed
src/main/com/mongodb/DBCursor.java
@@ -19,6 +19,7 @@
19
package com.mongodb;
20
21
import com.mongodb.DBApiLayer.Result;
22
+import org.bson.util.annotations.NotThreadSafe;
23
24
import java.io.Closeable;
25
import java.util.ArrayList;
@@ -50,8 +51,10 @@
50
51
* List<DBObject> obj = collection.find( query ).skip( 1000 ).limit( 100 ).toArray();
52
* </pre></blockquote>
53
*
54
+ *
55
* @dochub cursors
56
*/
57
+@NotThreadSafe
58
public class DBCursor implements Iterator<DBObject> , Iterable<DBObject>, Closeable {
59
60
/**
0 commit comments