|
ColdBox Platform v3.8.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.cache.util.CacheStats
public class CacheStats
This object keeps the cache statistics
Constructor Summary | |
---|---|
init(any<ICacheProvider> cacheProvider)
Constructor |
Method Summary | |
---|---|
void |
GCHit()
Record a garbage collection hit |
void |
clearStatistics()
Clear the stats |
void |
evictionHit()
Record an eviction hit |
any<ICacheProvider> |
getAssociatedCache()
Get the associated cache provider/manager of type: coldbox |
any |
getCachePerformanceRatio()
Get the cache's performance ratio |
any |
getEvictionCount()
Get the total cache eviction counts |
any |
getGarbageCollections()
Get the cache garbage collections |
any |
getHits()
Get the cache hits |
any |
getLastReapDatetime()
Get the last reaping date of the cache |
any |
getMemento()
Get the stats memento |
any |
getMisses()
Get the cache misses |
any |
getObjectCount()
Get the associated cache's live object count |
void |
hit()
Record a hit |
void |
miss()
Record a miss |
void |
setLastReapDatetime(string lastReapDatetime)
Set when the last reaping date of the cache was done |
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init(any<ICacheProvider> cacheProvider)
cacheProvider
- The associated cache manager/provider of type: coldbox.system.cache.ICacheProviderMethod Detail |
---|
public void GCHit()
public void clearStatistics()
clearStatistics
in interface
ICacheStats
public void evictionHit()
public any<ICacheProvider> getAssociatedCache()
public any getCachePerformanceRatio()
getCachePerformanceRatio
in interface
ICacheStats
public any getEvictionCount()
getEvictionCount
in interface
ICacheStats
public any getGarbageCollections()
getGarbageCollections
in interface
ICacheStats
public any getHits()
getHits
in interface
ICacheStats
public any getLastReapDatetime()
getLastReapDatetime
in interface
ICacheStats
public any getMemento()
public any getMisses()
getMisses
in interface
ICacheStats
public any getObjectCount()
getObjectCount
in interface
ICacheStats
public void hit()
public void miss()
public void setLastReapDatetime(string lastReapDatetime)
lastReapDatetime
|
ColdBox Platform v3.8.0 | ||||
FRAMES |