Commits on Oct 30, 2012
  1. Preparing for 2.9.3 release

    jyemin committed Oct 30, 2012
Commits on Oct 26, 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 23, 2012
  1. Preparing for 2.9.2 release

    jyemin committed Oct 23, 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. JAVA-641: Added MongoOptions property to control whether driver alway…

    …s uses MBeans. The default is false, in which case the driver will use MXBeans on Java 6 or greater
    jyemin committed Oct 21, 2012
Commits on Oct 20, 2012
  1. 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
  2. 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 9, 2012
  1. JAVA-658: Making ReadPreference.primary == ReadPreference.primary() s…

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

    jyemin committed Oct 1, 2012
Commits on Sep 7, 2012
  1. Preparing for 2.9.1 release

    jyemin committed Sep 7, 2012
  2. JAVA-635: Added MongoInterruptedException, a runtime exception that w…

    …raps an InterruptedException. An instance of this class is thrown in cases where the driver is sleeping or waiting on a condition, and has to catch InterruptedException and do something besides swallowing it. Since InterruptedException is checked and so can't be thrown from methods that don't declare it, best thing to do it throw a runtime exception that can be handled in the application
    jyemin committed Sep 4, 2012
Commits on Sep 5, 2012
Commits on Aug 29, 2012
Commits on Aug 28, 2012
  1. Release 2.9.0

    jyemin committed Aug 28, 2012
Commits on Aug 22, 2012
  1. fixed javadoc

    stevebriskin committed Aug 22, 2012
  2. 2.9.0-RC2

    jyemin committed Aug 22, 2012
Commits on Aug 21, 2012
  1. JAVA-381: Partially reverted last change. The synchronization does ha…

    …ve to be outside the null check, otherwise it's a race condition and the notification may never be received
    jyemin committed Aug 21, 2012
Commits on Aug 20, 2012
Commits on Aug 16, 2012
  1. JAVA-621: added hashCode()

    stevebriskin committed Aug 16, 2012
  2. JAVA-381: Improved the Javadoc

    jyemin committed Aug 16, 2012
  3. JAVA-613: Added some Javadoc

    jyemin committed Aug 16, 2012
Commits on Aug 14, 2012
  1. Updating version to 2.9.0-RC1

    jyemin committed Aug 14, 2012
  2. JAVA-619: throwing IllegalArgumentException from all public update me…

    …thods that take a write concern if the write concern is null
    jyemin committed Aug 14, 2012
  3. JAVA-381: Removed over-synchronized methods. Thanks to Franklin Nwank…

    …wo for pointing it out.
    jyemin committed Aug 14, 2012
Commits on Aug 7, 2012
  1. JAVA-616: To fix issue with the Semaphore overflowing, made SimplePoo…

    …l class a lot... simpler.
      1. Removed support for unlimited pool size.  Now there is a single maximum size of the pool, representing the total number of potentially available and in-use members
      2. Semaphore now has one permit for each pool member that are potentially available (either in available list or could be created).
      3. Synchronized on this.  Only enter synchronization block in get method if a permit has been acquired
      4. Keeping track of list of available members (_avail) and set of checked out members (_out).
        Get method removes from _avail or creates new member, and adds to _out.  Done method removes from _out and adds to _avail.
      5. Removed debug and track leaks support
      6. Updated JMX monitoring interface to reflect the new structure.
    jyemin committed Aug 7, 2012