Getting mongoStat through mongoDB Java driver Getting mongoStat through mongoDB Java driver mongodb mongodb

Getting mongoStat through mongoDB Java driver


You can use the Db.command("ServerStatus") function to get the Server Status and you can keep polling