Class IdCacheStats

  • All Implemented Interfaces:
    StatsListener

    public class IdCacheStats
    extends Object
    implements StatsListener
    IdCacheStats implements the StatsListener and provides the information of the total number of entry in cache table and the number of hits and total number of reads.
    • Constructor Detail

      • IdCacheStats

        public IdCacheStats​(String name)
        Creates a new IdRepo Stats
        Parameters:
        name - Name of Cache
    • Method Detail

      • updateGetHitCount

        public void updateGetHitCount​(int sizeOfCache)
      • incrementGetRequestCount

        public void incrementGetRequestCount​(int sizeOfCache)
      • updateSearchHitCount

        public void updateSearchHitCount​(int sizeOfCache)
      • incrementSearchRequestCount

        public void incrementSearchRequestCount​(int sizeOfCache)
      • printStats

        public void printStats()
        Prints the session statistics for the given session table.
        Specified by:
        printStats in interface StatsListener