class CachePerfStats {

  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);
  }

  public  CachePerfStats(StatisticsFactory factory, StatisticsClock clock);
  public  CachePerfStats(StatisticsFactory factory, String textId, StatisticsClock clock);

}