e.printStackTrace();
}
}
public void run() throws Exception {
Timer timer = null;
long count = 0;
timer = Timer.start();
count = fetchFullObject();
timer.finish();
report(this.getClass().getSimpleName(), "full", count, timer.getRate(count), getThroughput(charsRead, timer.getElapsedTimeMillis()));
timer.reset();
count = fetchOneLevelObject();
timer.finish();
report(this.getClass().getSimpleName(), "one-level", count, timer.getRate(count), getThroughput(charsRead, timer.getElapsedTimeMillis()));
timer.reset();
count = fetchTopLevelObject();
timer.finish();
report(this.getClass().getSimpleName(), "top-level", count, timer.getRate(count), getThroughput(charsRead, timer.getElapsedTimeMillis()));
}