coldbox.system.cache.providers.cf-lib

Class CFStats

lucee.Component
    extended by coldbox.system.cache.providers.cf-lib.CFStats
All Implemented Interfaces:
ICacheStats

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

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any cacheStats


    • access = public
    • returntype = any
    false false
    Constructor Summary
    init([any stats])
    Method Summary
    void clearStatistics()
    any getAverageGetTime()
         ehCache specific functions.
    any getCachePerformanceRatio()
    string getCacheStats()
    any getEvictionCount()
    any getGarbageCollections()
    any getHits()
    any getLastReapDatetime()
    any getMisses()
    any getObjectCount()
    any setCacheStats(any cacheStats)
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init([any stats])

    Parameters:
    stats

    Property Detail

    cacheStats

    property any cacheStats

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - false

    Method Detail

    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

    getCacheStats

    public string getCacheStats()


    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

    setCacheStats

    public any setCacheStats(any cacheStats)

    Parameters:
    cacheStats