title: MongoDB Java driver 3.2: parallel scan
body: <p>the mongo java driver has an old (and through deprecation of MongoClient.getDB essentially deprecated) method to explicitly perform a parallel scan on a collection.</p>
  
  <p>As far as I can see, this is something along the lines of:</p>
  
  <pre><code>DB db = mongoClient.getDB("mydb");
  DBCollection coll = db.getCollection("testCollection");
  ParallelScanOptions parallelScanOptions = ParallelScanOptions
              .builder()
              .numCursors(4)
              .batchSize(1000)
              .build();
  List&lt;Cursor&gt; cursors = coll.parallelScan(parallelScanOptions);
  ...
  </code></pre>
  
  <p>The question is: is there a new alternative in driver 3.2 (<strong>without</strong> using the deprecated DB API)?</p>