[JAVA-682] Add MongoClient class, to supersede existing Mongo class, with a default WriteConcern.ACKNOWLEDGED Created: 29/Oct/12 Updated: 27/Nov/12 Resolved: 16/Nov/12 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 2.10.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Description |
|
Add a new class MongoClient with a default write concern of WriteConcern.ACKNOWLEDGED. Users of the Java driver should construct MongoClient instances in preference to Mongo instances. To ease migration, MongoClient will extend the existing Mongo class. In order to ensure that the default write concern is always ACKNOWLEDGED, new companion classes, MongoClientOptions and MongoClientURI, will also be added. MongoClientOptions differs from MongoOptions in that all fields will be final (and private), making it immutable. Instances of MongoClientOptions will be constructed with a static inner Builder class. MongoClientOptions will have a default write concern of WriteConcern.ACKNOWLEDGED. |
| Comments |
| Comment by auto [ 26/Nov/12 ] |
|
Author: {u'date': u'2012-11-26T12:58:14Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}Message: Merge pull request #87 from iandaniel/master
|
| Comment by auto [ 19/Nov/12 ] |
|
Author: {u'date': u'2012-11-19T19:50:43Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}Message: |
| Comment by auto [ 19/Nov/12 ] |
|
Author: {u'date': u'2012-11-19T16:34:52Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}Message: |
| Comment by auto [ 15/Nov/12 ] |
|
Author: {u'date': u'2012-11-14T19:59:40Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}Message: |
| Comment by auto [ 15/Nov/12 ] |
|
Author: {u'date': u'2012-11-13T22:30:35Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}Message: |
| Comment by auto [ 15/Nov/12 ] |
|
Author: {u'date': u'2012-11-11T17:37:43Z', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |
| Comment by auto [ 15/Nov/12 ] |
|
Author: {u'date': u'2012-11-11T17:19:51Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}Message: |
| Comment by auto [ 15/Nov/12 ] |
|
Author: {u'date': u'2012-10-31T21:35:13Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}Message: |