Interface BlockCache.Stats

Enclosing interface:
BlockCache

public static interface BlockCache.Stats
Cache statistics.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the number of lookups that have returned a cached value.
    long
    Returns the number of times the lookup methods have returned either a cached or uncached value.
  • Method Details

    • hitCount

      long hitCount()
      Returns the number of lookups that have returned a cached value.
      Returns:
      the number of lookups that have returned a cached value
    • requestCount

      long requestCount()
      Returns the number of times the lookup methods have returned either a cached or uncached value.
      Returns:
      the number of lookups