import java.util.UUID; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.DBObject; import com.mongodb.Mongo; import com.mongodb.ServerAddress; import com.mongodb.WriteConcern; public class foo { foo() throws Exception { Mongo mongo = new Mongo(); _db = mongo.getDB( "test" ); _collection = _db.getCollection("test"); _collection.drop(); _repairer = new Repairer(); } void run() { _repairer.start(); final int start = 0; final int max = start + 5000; while (true) { System.out.println("Inserting"); for (int i = start; i