mongodb/mongo-java-driver — pull request #234 by luketn (2014-08-13 12:05:29+00:00)
Title: Expose the ServerType and ClusterType enumerations for public consumption

Expose the ServerType and ClusterType enumerations for public consumption. Re-use the private method that was used by the ServerMonitor class to determine the ServerType for a DB or MongoClient.

The motivation for this request is discussed in the support ticket here:
https://jira.mongodb.org/browse/CS-14347