Commits on Nov 26, 2012
  1. Preparing for 2.10.0 release

    jyemin committed Nov 26, 2012
  2. Merge pull request #87 from iandaniel/master

    jyemin committed Nov 26, 2012
    JAVA-682: Improved comment of new connectionsPerHost default
  3. Clarified comment on new default value of connectionsPerHost: specifi…

    iandaniel committed Nov 26, 2012
    …ed the increase is from the value used by the superceded Mongo class.
Commits on Nov 19, 2012
  1. Added more information to exception message when no member of the rep…

    jyemin committed Nov 19, 2012
    …lica set have been found that match what was requested
  2. JAVA-682: All MongoClient constructors now get default options from M…

    jyemin committed Nov 19, 2012
    …ongoClientOptions instead of MongoOptions. So the job
    of setting the default writeConcern is now delegated to MongoClientOptions instead of handled explicitly by MongoClient
  3. JAVA-682: Changed MongoURI.getOptions() to return a cached instance, …

    jyemin committed Nov 19, 2012
    …so as not to break clients that are mutating that instance before passing the MongoURI to a Mongo constructor
Commits on Nov 18, 2012
  1. Modernized examples

    jyemin committed Nov 18, 2012
Commits on Nov 16, 2012
Commits on Nov 15, 2012
  1. JAVA-436: If a database is not specified in the URI but credentials a…

    jyemin committed Nov 13, 2012
    …re, authenticate to the admin database
  2. JAVA-436: When a database and credentials are specified in the Mongo …

    jyemin committed Nov 12, 2012
    …URI, automatically authenticate the database. This is done lazily on first use of the database by just setting the credentials on the DB instance. Care is taken to make sure that DB.authenticate and DB.authenticateCommand still work correctly even if credentials are on the URI, so long as the same credentials are used in all cases. Otherwise clients who were working around this by calling those methods explicitly would break.
  3. JAVA-682: Added three new classes--MongoClient, MongoClientOptions, a…

    jyemin committed Oct 31, 2012
    …nd MongoClientURI, all of which have a default write concern that waits
    for acknowledgement of the write from the server.  MongoClient extends Mongo so that it's easy to switch to it just by changing which class
    is constructed.  MongoClientOptions, unlike MongoOptions, is immutable and has a static inner Builder class for construction.
  4. JAVA-649: Using connectTimeout from MongoOptions of the Mongo instanc…

    jyemin committed Nov 14, 2012
    …e for all the timeouts in ReplicaSetStatus, MongosStatus, and DynamicConnectionStagtus
  5. changed Master to Primary in log statement.

    Ryan committed Nov 15, 2012
Commits on Oct 27, 2012
  1. JAVA-680: Fixing a regression introduced in the previous commit for t…

    jyemin committed Oct 25, 2012
    …his issue. In the case where the driver
    is not connected to a replica set, like in mongos HA, still may need to ensure there is a master
Commits on Oct 22, 2012
  1. JAVA-641: Updated exception error message for JMX registration to poi…

    jyemin committed Oct 22, 2012
    …nt people to MongoOptions.alwaysUseMBeans property
Commits on Oct 21, 2012
  1. Updating to 2.10.0-SNAPSHOT

    jyemin committed Oct 21, 2012
  2. Updating to 2.10.0-SNAPSHOT

    jyemin committed Oct 21, 2012
  3. JAVA-666, JAVA-641: Created two subclasses of DBPortPool: MongoConnec…

    jyemin committed Oct 19, 2012
    …tionPool and Java5MongoConnectionPool. The former is an MBean and the latter is an MXBean. When creating a DBPortPool, conditionally create one or the other depending on whether java.version system property indicates that this is a 1.5 virtual machine. This should avoid JXM registration errors when running on Java 5 VMs. Also, by using MongoConnectionPool as the name of the MXBean, avoids incompatibilities in JMX implementations that require the MXBean name to be the same as the MXBean interface that it implements (minus the MXBean suffix).
  4. JAVA-660: Took call to OutMessage.doneWithMessage out of the recursiv…

    jyemin committed Oct 20, 2012
    …ely-called method, to avoid having it called more than once. Protected OutMessage by setting the buffer to null and checking for null everywhere it's used.
Commits on Oct 20, 2012
Commits on Oct 9, 2012
  1. JAVA-658: Making ReadPreference.primary == ReadPreference.primary() s…

    jyemin committed Oct 1, 2012
    …o that it's safe to do equality comparision
Commits on Oct 2, 2012