|
ColdBox Platform Version 3.0.0 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
coldbox.system.cache.archive.util.CacheStats
public class CacheStats
This object keeps the cache statistics
| Constructor Summary | |
|---|---|
init(any cacheManager)
Constructor |
|
| Method Summary | |
|---|---|
void |
GCHit()
Record a garbage collection hit |
void |
clearStats()
Clear the stats |
void |
evictionHit()
Record an eviction hit |
CacheManager |
getAssociatedCacheManager()
Get the associated Cache Manager for this stats object |
numeric |
getCachePerformanceRatio()
Get the cache's performance ratio |
numeric |
getEvictionCount()
|
numeric |
getGarbageCollections()
Get GarbageCollections |
numeric |
getHits()
|
string |
getLastReapDatetime()
|
any |
getMemento()
Get the instance memento |
numeric |
getMisses()
|
numeric |
getObjectCount()
Get the cache's object count |
void |
hit()
Record a hit |
void |
miss()
Record a miss |
void |
setEvictionCount(numeric evictionCount)
|
void |
setGarbageCollections(numeric GarbageCollections)
Set GarbageCollections |
void |
setHits(numeric hits)
|
void |
setLastReapDatetime(string lastReapDatetime)
|
void |
setMisses(numeric misses)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(any cacheManager)
cacheManager - The associated cache manager| Method Detail |
|---|
public void GCHit()
public void clearStats()
public void evictionHit()
public CacheManager getAssociatedCacheManager()
public numeric getCachePerformanceRatio()
public numeric getEvictionCount()
public numeric getGarbageCollections()
public numeric getHits()
public string getLastReapDatetime()
public any getMemento()
public numeric getMisses()
public numeric getObjectCount()
public void hit()
public void miss()
public void setEvictionCount(numeric evictionCount)
evictionCountpublic void setGarbageCollections(numeric GarbageCollections)
GarbageCollectionspublic void setHits(numeric hits)
hitspublic void setLastReapDatetime(string lastReapDatetime)
lastReapDatetimepublic void setMisses(numeric misses)
misses
|
ColdBox Platform Version 3.0.0 | ||||
| FRAMES | |||||