docs: public int getMaxToClaim(int nodeCount) {
         synchronized (cluster.allWorkUnits) {
             final int total = cluster.allWorkUnits.size();
             if (total <= 1) {
                 return total;
             }
             return (int) Math.ceil(total / (double) nodeCount);
         }
     }