title: How can I check for MongoDB's active connections status using Java driver
body: <p>I have a requirement to publish (to Graphite) the 'number of active connection available' status of a Mongo db instance when a REST service is called. I know we can use db.serverStatus() to know the details of connections on the server side. 
  I am looking to get the 'number of active connections available' information on the client side using JAVA API. The MongoDB Java Driver API documentation doesn't help much on it. </p>