/** {@inheritDoc} */ public long getOnDiskMisses() { updateIfNeeded(); return statistics.getOnDiskMisses(); }
public Long call() { try { return cache.getStatistics() .getOnDiskMisses(); } catch (NoSuchMethodError e) { return UNAVAILABLE_VALUE; } } }));
/** * {@inheritDoc} */ public double getOnDiskHitPercentage() { updateIfNeeded(); long hits = statistics.getOnDiskHits(); long misses = statistics.getOnDiskMisses(); long total = hits + misses; return getPercentage(hits, total); } }