/** {@inheritDoc} */ @Override public long getCacheTxRollbacks() { return cache.clusterMetrics().getCacheTxRollbacks(); }
assertEquals(TX_CNT, cacheMetrics.getCacheTxRollbacks()); assertEquals(0, cacheMetrics.getCacheTxRollbacks());
assertEquals(TX_CNT, cacheMetrics.getCacheTxRollbacks()); assertEquals(0, cacheMetrics.getCacheTxRollbacks());
assertEquals(0, cacheMetrics.getCacheTxRollbacks());
txRollbacks = m.getCacheTxRollbacks();
misses += e.getCacheMisses(); txCommits += e.getCacheTxCommits(); txRollbacks += e.getCacheTxRollbacks(); evicts += e.getCacheEvictions(); removes += e.getCacheRemovals();
misses += e.getCacheMisses(); txCommits += e.getCacheTxCommits(); txRollbacks += e.getCacheTxRollbacks(); evicts += e.getCacheEvictions(); removes += e.getCacheRemovals();
/** {@inheritDoc} */ @Override public long getCacheTxRollbacks() { return cache.clusterMetrics().getCacheTxRollbacks(); }
writer.writeFloat(metrics.getAverageTxRollbackTime()); writer.writeLong(metrics.getCacheTxCommits()); writer.writeLong(metrics.getCacheTxRollbacks()); writer.writeString(metrics.name()); writer.writeLong(metrics.getOffHeapGets());
txRollbacks = m.getCacheTxRollbacks();
misses += e.getCacheMisses(); txCommits += e.getCacheTxCommits(); txRollbacks += e.getCacheTxRollbacks(); evicts += e.getCacheEvictions(); removes += e.getCacheRemovals();
writer.writeFloat(metrics.getAverageTxRollbackTime()); writer.writeLong(metrics.getCacheTxCommits()); writer.writeLong(metrics.getCacheTxRollbacks()); writer.writeString(metrics.name()); writer.writeLong(metrics.getOffHeapGets());