ColdBox Platform v3.8.0

coldbox.system.cache.providers.cf-lib
Class CFStats

WEB-INF.cftags.component
        extended by coldbox.system.cache.providers.cf-lib.CFStats
All Implemented Interfaces:
ICacheStats

public class CFStats
extends WEB-INF.cftags.component

******************************************************************************* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Author: Luis Majano Description: A coldfusion statistics object that communicates with the CF ehCache stats

Property Summary
Type Property & Description Default Serializable Required
 any cacheStats


Attributes:
false false
 
Constructor Summary
init([any stats])
 
Method Summary
 any GETCACHESTATS()
 CFStats SETCACHESTATS(any cacheStats)
 void clearStatistics()
 any getAverageGetTime()
          **************************************************** ehCache specific functions ******************************************************
 any getCachePerformanceRatio()
 any getEvictionCount()
 any getGarbageCollections()
 any getHits()
 any getLastReapDatetime()
 any getMisses()
 any getObjectCount()
 
Methods inherited from class WEB-INF.cftags.component
None
 

Constructor Detail

init

public init([any stats])

Parameters:
stats
Property Detail

cacheStats

any cacheStats

Attributes:
default -
serializable - false
required - false

Method Detail

GETCACHESTATS

public any GETCACHESTATS()


SETCACHESTATS

public CFStats SETCACHESTATS(any cacheStats)

Parameters:
cacheStats

clearStatistics

public void clearStatistics()

Specified by:
clearStatistics in interface ICacheStats

getAverageGetTime

public any getAverageGetTime()
**************************************************** ehCache specific functions ******************************************************


getCachePerformanceRatio

public any getCachePerformanceRatio()

Specified by:
getCachePerformanceRatio in interface ICacheStats

getEvictionCount

public any getEvictionCount()

Specified by:
getEvictionCount in interface ICacheStats

getGarbageCollections

public any getGarbageCollections()

Specified by:
getGarbageCollections in interface ICacheStats

getHits

public any getHits()

Specified by:
getHits in interface ICacheStats

getLastReapDatetime

public any getLastReapDatetime()

Specified by:
getLastReapDatetime in interface ICacheStats

getMisses

public any getMisses()

Specified by:
getMisses in interface ICacheStats

getObjectCount

public any getObjectCount()

Specified by:
getObjectCount in interface ICacheStats

ColdBox Platform v3.8.0