@Override
public void close() {
log.trace("txid: {} close()", txid);
if (summaryLog.isTraceEnabled()) {
TxStats stats = tx.getStats();
String className = "N/A";
if (clazz != null) {
className = clazz.getSimpleName();
}
summaryLog.trace(
"txid: {} thread : {} time: {} ({} {} {}) #ret: {} #set: {} #collisions: {} "
+ "waitTime: {} committed: {} class: {}", txid, Thread.currentThread().getId(),
stats.getTime(), stats.getPrecommitTime(), stats.getCommitPrimaryTime(),
stats.getFinishCommitTime(), stats.getEntriesReturned(), stats.getEntriesSet(),
stats.getCollisions(), stats.getLockWaitTime(), committed, className);
}
tx.close();
}