[JAVA-1649] maxWaitTime documentation should specify valid range and behavior Created: 10/Feb/15 Updated: 10/Feb/15 Resolved: 10/Feb/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Ryder (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
This page: http://api.mongodb.org/java/2.6/com/mongodb/MongoOptions.html#maxWaitTime The documentation should say what the default is, and the range of valid values. Empirically (and code seems to agree), the default is 120000, and a setting of zero means infinite. |
| Comments |
| Comment by Ross Lawley [ 10/Feb/15 ] |
|
This information was added in the 2.8 series of the driver and is in the latest version: http://api.mongodb.org/java/current/com/mongodb/MongoOptions.html#maxWaitTime All the available api versions are available from the java root: http://api.mongodb.org/java/ |