coldbox.system.cache.util

Interface ICacheStats

coldbox.system.cache.util.ICacheStats
Class Attributes:
None
All Known Implementing Classes:
CFStats , RailoStats , CacheStats

The main interface for a CacheBox cache provider statistics object

Method Summary
void clearStatistics()
     Clear the stats.
any<numeric> getCachePerformanceRatio()
     Get the cache's performance ratio.
any<numeric> getEvictionCount()
     Get the total cache's eviction count.
any<numeric> getGarbageCollections()
     Get the total cache's garbage collections.
any<numeric> getHits()
     Get the total cache's hits.
any getLastReapDatetime()
     Get the date/time of the last reap the cache did.
any<numeric> getMisses()
     Get the total cache's misses.
any<numeric> getObjectCount()
     Get the associated cache's live object count.

Method Detail

clearStatistics

public void clearStatistics()

Clear the stats


getCachePerformanceRatio

public any<numeric> getCachePerformanceRatio()

Get the cache's performance ratio


getEvictionCount

public any<numeric> getEvictionCount()

Get the total cache's eviction count


getGarbageCollections

public any<numeric> getGarbageCollections()

Get the total cache's garbage collections


getHits

public any<numeric> getHits()

Get the total cache's hits


getLastReapDatetime

public any getLastReapDatetime()

Get the date/time of the last reap the cache did


getMisses

public any<numeric> getMisses()

Get the total cache's misses


getObjectCount

public any<numeric> getObjectCount()

Get the associated cache's live object count