}
if (docCount % 2000 == 0) {
thirdReference.add(db.getDocumentByUNID(doc.getUniversalID()));
System.out.println("Created second reference for " + doc.getUniversalID());
}
DateTime toxic = doc.getLastModified();
String busyWork = toxic.getGMTTime();
DateTime toxic2 = doc.getLastModified();
String busyWork2 = toxic2.getDateOnly();
// System.out.println("LastMod: " + toxic.getGMTTime());
dateCount++;
}
System.out.println("ENDING ITERATION of Documents");
for (Document doc : secondReference) {
DateTime created = doc.getCreated();
String busyWork3 = created.getDateOnly();
}
System.out.println("ENDING ITERATION of Documents");
for (Document doc : thirdReference) {
DateTime initMod = doc.getInitiallyModified();
String busyWork4 = initMod.getDateOnly();
System.out.println(busyWork4);
}
System.out.println("Thread " + Thread.currentThread().getName() + " processed " + nameCount + " names, " + docCount
+ " docs, and " + dateCount + " datetimes without recycling.");