Commits on Dec 3, 2012
  1. Preparing for 2.10.1 release

    jyemin committed Dec 3, 2012
Commits on Nov 30, 2012
  1. Updated version in Mongo class

    jyemin committed Nov 30, 2012
  2. JAVA-706: Wrap command in $query field if sending to mongos and read …

    …preference is not primary or secondaryPreferred (primary is the default and
    secondaryPreferred is already covered by slaveOk bit).
    jyemin committed Nov 29, 2012
Commits on Nov 29, 2012
  1. 2.10.1 snapshot prep

    jyemin committed Nov 29, 2012
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

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

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

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

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

    …so as not to break clients that are mutating that instance before passing the MongoURI to a Mongo constructor
    jyemin committed Nov 19, 2012
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…

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

    …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.
    jyemin committed Nov 12, 2012
  3. JAVA-682: Added three new classes--MongoClient, MongoClientOptions, a…

    …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.
    jyemin committed Oct 31, 2012
  4. JAVA-649: Using connectTimeout from MongoOptions of the Mongo instanc…

    …e for all the timeouts in ReplicaSetStatus, MongosStatus, and DynamicConnectionStagtus
    jyemin committed Nov 14, 2012
Commits on Oct 27, 2012
  1. JAVA-680: Fixing a regression introduced in the previous commit for t…

    …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
    jyemin committed Oct 25, 2012
Commits on Oct 22, 2012
  1. JAVA-641: Updated exception error message for JMX registration to poi…

    …nt people to MongoOptions.alwaysUseMBeans property
    jyemin committed Oct 22, 2012
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…

    …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).
    jyemin committed Oct 19, 2012
  4. JAVA-660: Took call to OutMessage.doneWithMessage out of the recursiv…

    …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.
    jyemin committed Oct 20, 2012
Commits on Oct 20, 2012