org.broadleafcommerce.common.cache
Class CacheStat
java.lang.Object
org.broadleafcommerce.common.cache.CacheStat
public class CacheStat
- extends Object
- Author:
- Jeff Fischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
requestCount
protected AtomicLong requestCount
cacheHitCount
protected AtomicLong cacheHitCount
lastLogTime
protected Long lastLogTime
CacheStat
public CacheStat()
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()
Copyright © 2013. All Rights Reserved.