Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Method and Description |
---|---|
private CreateIndexesOperation |
DBCollection.createIndexOperation(DBObject key,
DBObject options) |
Modifier and Type | Method and Description |
---|---|
CreateIndexesOperation |
CreateIndexesOperation.maxTime(long maxTime,
java.util.concurrent.TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|