stat("tcommit").update(time, info.getCommitCount());
stat("troll").update(time, info.getRollbackCount());
}
private void updateIOStatistics(final Management management, final long time) throws Exception {
final IOMeterMXBean ioMeter = _persistit.getIOMeter();
final String[] items = IOMeterMXBean.SUMMARY_ITEMS;
long size = 0;
for (final String item : items) {
stat(item).update(time, ioMeter.totalOperations(item));
size += ioMeter.totalBytes(item);
}
stat("IOkbytes").update(time, (size + 600) / 1000);
}