coldbox.system.cache.providers.cf-lib

Class CFStats

WEB-INF.cftags.component
        extended by coldbox.system.cache.providers.cf-lib.CFStats
Class Attributes:
  • accessors : true
  •  
    All Implemented Interfaces:
    cachebox.build-coldbox.coldbox.system.cache.util.ICacheStats

    ******************************************************************************* 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 default serializable required
    any cacheStats


    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

    property any cacheStats

    Attributes:
    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 cachebox.build-coldbox.coldbox.system.cache.util.ICacheStats

    getAverageGetTime

    public any getAverageGetTime()

    **************************************************** ehCache specific functions ******************************************************


    getCachePerformanceRatio

    public any getCachePerformanceRatio()

    Specified by:
    getCachePerformanceRatio in interface cachebox.build-coldbox.coldbox.system.cache.util.ICacheStats

    getEvictionCount

    public any getEvictionCount()

    Specified by:
    getEvictionCount in interface cachebox.build-coldbox.coldbox.system.cache.util.ICacheStats

    getGarbageCollections

    public any getGarbageCollections()

    Specified by:
    getGarbageCollections in interface cachebox.build-coldbox.coldbox.system.cache.util.ICacheStats

    getHits

    public any getHits()

    Specified by:
    getHits in interface cachebox.build-coldbox.coldbox.system.cache.util.ICacheStats

    getLastReapDatetime

    public any getLastReapDatetime()

    Specified by:
    getLastReapDatetime in interface cachebox.build-coldbox.coldbox.system.cache.util.ICacheStats

    getMisses

    public any getMisses()

    Specified by:
    getMisses in interface cachebox.build-coldbox.coldbox.system.cache.util.ICacheStats

    getObjectCount

    public any getObjectCount()

    Specified by:
    getObjectCount in interface cachebox.build-coldbox.coldbox.system.cache.util.ICacheStats