Interface ICacheStatistics


  • public interface ICacheStatistics
    Provides access to cache's statistics information.
    Since:
    4.0.11
    Version:
    $Revision: 7370 $ $Date: 2007-06-12 13:50:49 -0300 (Tue, 12 Jun 2007) $
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clear()
      Clears this cache statistics.
      long getHitCount()
      Returns the number of searchs that successfully found the entry in the cache.
      long getMissCount()
      Returns the number of searchs that did not found the entry in the cache.
    • Method Detail

      • getHitCount

        long getHitCount()
        Returns the number of searchs that successfully found the entry in the cache.
        Returns:
        the number of cache hits.
        Since:
        4.0.11
      • getMissCount

        long getMissCount()
        Returns the number of searchs that did not found the entry in the cache.
        Returns:
        the number of cache misses.
        Since:
        4.0.11
      • clear

        void clear()
        Clears this cache statistics.
        Since:
        4.0.11