Class CacheStat

java.lang.Object
org.broadleafcommerce.common.cache.CacheStat

public class CacheStat extends Object
Author:
Jeff Fischer
  • Field Details

    • requestCount

      protected AtomicLong requestCount
    • cacheHitCount

      protected AtomicLong cacheHitCount
    • lastLogTime

      protected Long lastLogTime
  • Constructor Details

    • CacheStat

      public CacheStat()
  • Method Details

    • getCacheHitCount

      public Long getCacheHitCount()
    • getLastLogTime

      public Long getLastLogTime()
    • setLastLogTime

      public void setLastLogTime(Long lastLogTime)
    • getRequestCount

      public Long getRequestCount()
    • incrementRequest

      public void incrementRequest()
    • incrementHit

      public void incrementHit()
    • getHitRate

      public BigDecimal getHitRate()