U kunt uw eigen MongoClient-instantie bouwen met de MongoClientOptions. Bouwer .
MongoClientOptions.Builder builder = new MongoClientOptions.Builder();
MongoClientOptions options = builder.connectionsPerHost(10).build();
MongoClient client = new MongoClient(listOfServers, options);