*/
@Override
public void run() {
long start = System.nanoTime();
Session s = Factory.getSession();
RunContext rc = Factory.getRunContext();
System.out.println("RunContext: " + rc.toString());
Name sname = s.getUserNameObject();
DateFormat df = new SimpleDateFormat("yyyyMMddhhmmss");
System.out.println(df.format(new Date()) + " Name: " + sname.getCanonical());
Database db = s.getDatabase("", "OneMillion.nsf");
if (INCLUDE_FORMS) {
iterateForms(db);
}
Set<Document> secondReference = new HashSet<Document>();
iterateAllDocuments(db, secondReference);