@Override public void txSuccess(long opTime, long txLifeTime, int txChanges) { stats.incInt(txCommitsId, 1); stats.incInt(txCommitChangesId, txChanges); stats.incLong(txCommitTimeId, opTime); stats.incLong(txSuccessLifeTimeId, txLifeTime); this.cachePerfStats.txSuccess(opTime, txLifeTime, txChanges); } @Override
@Override public void txSuccess(long opTime, long txLifeTime, int txChanges) { stats.incInt(txCommitsId, 1); stats.incInt(txCommitChangesId, txChanges); stats.incLong(txCommitTimeId, opTime); stats.incLong(txSuccessLifeTimeId, txLifeTime); this.cachePerfStats.txSuccess(opTime, txLifeTime, txChanges); } @Override
final void noteCommitSuccess(long opStart, long lifeTime, TXStateInterface tx) { long opEnd = CachePerfStats.getStatTime(); this.cachePerfStats.txSuccess(opEnd - opStart, lifeTime, tx.getChanges()); TransactionListener[] listeners = getListeners();
cachePerfStats.txSuccess(CachePerfStats.getStatTime() - testStartTime, testStartTime, 1); cachePerfStats.txRollback(CachePerfStats.getStatTime() - testStartTime, testStartTime,
this.cachePerfStats.txSuccess(opEnd - opStart, lifeTime, tx.getChanges());