Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
QueryProtocol<T> |
QueryProtocol.awaitData(boolean awaitData)
Sets if the cursor should await for data.
|
QueryProtocol<T> |
QueryProtocol.noCursorTimeout(boolean noCursorTimeout)
Sets if the cursor timeout should be turned off.
|
QueryProtocol<T> |
QueryProtocol.oplogReplay(boolean oplogReplay)
Internal replication use only.
|
QueryProtocol<T> |
QueryProtocol.partial(boolean partial)
Sets if partial results from a mongos if some shards are down are allowed
|
QueryProtocol<T> |
QueryProtocol.slaveOk(boolean slaveOk)
Sets if allowed to query non-primary replica set members.
|
QueryProtocol<T> |
QueryProtocol.tailableCursor(boolean tailableCursor)
Sets whether the cursor should be a tailable cursor.
|