Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 3, 2012
  1. @jyemin

    Preparing for 2.10.1 release

    jyemin authored
Commits on Nov 30, 2012
  1. @jyemin

    Updated version in Mongo class

    jyemin authored
  2. @jyemin

    JAVA-706: Wrap command in $query field if sending to mongos and read …

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

    2.10.1 snapshot prep

    jyemin authored
Commits on Nov 26, 2012
  1. @jyemin

    Preparing for 2.10.0 release

    jyemin authored
  2. @jyemin

    Merge pull request #87 from iandaniel/master

    jyemin authored
    JAVA-682: Improved comment of new connectionsPerHost default
  3. @iandaniel

    Clarified comment on new default value of connectionsPerHost: specifi…

    iandaniel authored
    …ed the increase is from the value used by the superceded Mongo class.
Commits on Nov 19, 2012
  1. @jyemin

    Added more information to exception message when no member of the rep…

    jyemin authored
    …lica set have been found that match what was requested
  2. @jyemin

    JAVA-682: All MongoClient constructors now get default options from M…

    jyemin authored
    …ongoClientOptions instead of MongoOptions. So the job
    
    of setting the default writeConcern is now delegated to MongoClientOptions instead of handled explicitly by MongoClient
  3. @jyemin

    JAVA-682: Changed MongoURI.getOptions() to return a cached instance, …

    jyemin authored
    …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. @jyemin

    Modernized examples

    jyemin authored
Commits on Nov 16, 2012
  1. @jyemin
Commits on Nov 15, 2012
  1. @jyemin
  2. @jyemin
  3. @jyemin

    JAVA-436: If a database is not specified in the URI but credentials a…

    jyemin authored
    …re, authenticate to the admin database
  4. @jyemin

    JAVA-436: When a database and credentials are specified in the Mongo …

    jyemin authored
    …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.
  5. @jyemin
  6. @jyemin
  7. @jyemin
  8. @jyemin
  9. @jyemin

    JAVA-682: Added three new classes--MongoClient, MongoClientOptions, a…

    jyemin authored
    …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.
  10. @jyemin

    JAVA-649: Using connectTimeout from MongoOptions of the Mongo instanc…

    jyemin authored
    …e for all the timeouts in ReplicaSetStatus, MongosStatus, and DynamicConnectionStagtus
  11. @jyemin
  12. @rgnitz
Commits on Oct 27, 2012
  1. @jyemin

    JAVA-680: Fixing a regression introduced in the previous commit for t…

    jyemin authored
    …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. @jyemin

    JAVA-641: Updated exception error message for JMX registration to poi…

    jyemin authored
    …nt people to MongoOptions.alwaysUseMBeans property
  2. @jyemin
  3. @jyemin
  4. @jyemin
Commits on Oct 21, 2012
  1. @jyemin

    Updating to 2.10.0-SNAPSHOT

    jyemin authored
  2. @jyemin

    Updating to 2.10.0-SNAPSHOT

    jyemin authored
  3. @jyemin

    JAVA-666, JAVA-641: Created two subclasses of DBPortPool: MongoConnec…

    jyemin authored
    …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. @jyemin

    JAVA-660: Took call to OutMessage.doneWithMessage out of the recursiv…

    jyemin authored
    …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.
  5. @jyemin
Commits on Oct 20, 2012
  1. @jyemin
Something went wrong with that request. Please try again.