[JAVA-1774] Javadoc that MongoClientOptions.Builder is not thread-safe Created: 21/Apr/15 Updated: 07/Oct/15 Resolved: 05/May/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Documentation |
| Affects Version/s: | 2.12.1 |
| Fix Version/s: | 3.1.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Alexander Komyagin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
MongoClientOptions.Builder is not immutable and can be modified by the MongoClientURI constructor. It's not thread-safe. The javadoc for MongoClientOptions.Builder should be explicit on that. |
| Comments |
| Comment by Jeffrey Yemin [ 07/Oct/15 ] |
|
Released in 3.1.0 |
| Comment by Githook User [ 05/May/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Updated MongoClientURI javadoc to emphasize that the constructor that takes a MongoClientOptions.Builder instance takes ownership of that instance. |
| Comment by Githook User [ 05/May/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Annotated all static inner Builder classes with @NotThreadSafe |