Class LruBlockCache.CacheStats

    • Constructor Detail

      • CacheStats

        public CacheStats()
    • Method Detail

      • miss

        public void miss()
      • hit

        public void hit()
      • evict

        public void evict()
      • duplicateReads

        public void duplicateReads()
      • evicted

        public void evicted()
      • requestCount

        public long requestCount()
        Description copied from interface: BlockCache.Stats
        Returns the number of times the lookup methods have returned either a cached or uncached value.
        Specified by:
        requestCount in interface BlockCache.Stats
        Returns:
        the number of lookups
      • getMissCount

        public long getMissCount()
      • hitCount

        public long hitCount()
        Description copied from interface: BlockCache.Stats
        Returns the number of lookups that have returned a cached value.
        Specified by:
        hitCount in interface BlockCache.Stats
        Returns:
        the number of lookups that have returned a cached value
      • getEvictionCount

        public long getEvictionCount()
      • getDuplicateReads

        public long getDuplicateReads()
      • getEvictedCount

        public long getEvictedCount()
      • getHitRatio

        public double getHitRatio()
      • getMissRatio

        public double getMissRatio()
      • evictedPerEviction

        public double evictedPerEviction()