@Override public Long getValue() { return cache.getStatistics().localHeapMissCount(); } });
/** {@inheritDoc} */ public long getInMemoryMisses() { return statistics.localHeapMissCount(); }
/** * {@inheritDoc} */ @Override public long getInMemoryMissCount() { try { return cache.getStatistics().localHeapMissCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
/** * {@inheritDoc} */ public double getInMemoryHitPercentage() { long hits = statistics.localHeapHitCount(); long misses = statistics.localHeapMissCount(); long total = hits + misses; return getPercentage(hits, total); }
/** {@inheritDoc} */ public long getInMemoryMisses() { return statistics.localHeapMissCount(); }
/** {@inheritDoc} */ public long getInMemoryMisses() { return statistics.localHeapMissCount(); }
@Override public Long getValue() { return cache.getStatistics().localHeapMissCount(); } });
/** * {@inheritDoc} */ public double getInMemoryHitPercentage() { long hits = statistics.localHeapHitCount(); long misses = statistics.localHeapMissCount(); long total = hits + misses; return getPercentage(hits, total); }
/** * {@inheritDoc} */ @Override public long getInMemoryMissCount() { try { return cache.getStatistics().localHeapMissCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
/** * {@inheritDoc} */ public double getInMemoryHitPercentage() { long hits = statistics.localHeapHitCount(); long misses = statistics.localHeapMissCount(); long total = hits + misses; return getPercentage(hits, total); }
/** * {@inheritDoc} */ @Override public long getInMemoryMissCount() { try { return cache.getStatistics().localHeapMissCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
cacheStats.put("LocalHeapSize", statisticsGateway.getLocalHeapSize()); cacheStats.put("LocalHeapHitCount", statisticsGateway.localHeapHitCount()); cacheStats.put("LocalHeapMissCount", statisticsGateway.localHeapMissCount()); cacheStats.put("LocalDiskHitCount", statisticsGateway.localDiskHitCount()); cacheStats.put("LocalDiskMissCount", statisticsGateway.localDiskMissCount());
(Gauge<Long>) () -> cache.getStatistics().localHeapMissCount());