int rowCount = 0;
LivelinkDocumentList docList =
(LivelinkDocumentList) mgr.startTraversal();
while (docList != null) {
rowCount += countResultSet(docList);
String checkpoint = docList.checkpoint();
docList = (LivelinkDocumentList) mgr.resumeTraversal(checkpoint);
}
long after = System.currentTimeMillis();
System.out.println("TIME: " + (after - before));
if (previousRowCount != 0) {