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