lucee.Component coldbox.system.cache.providers.cf-lib.CFStats
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
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
cacheStats
|
false
|
false
|
Constructor Summary | |
---|---|
init([any stats])
Constructor. |
Method Summary | |
---|---|
any
|
clearStatistics()
Clear the stats. |
any
|
getAverageGetTime()
ehCache specific functions. |
numeric
|
getCachePerformanceRatio()
Get the cache's performance ratio. |
string
|
getCacheStats()
|
numeric
|
getEvictionCount()
Get the total cache's eviction count. |
numeric
|
getGarbageCollections()
Get the total cache's garbage collections. |
numeric
|
getHits()
Get the total cache's hits. |
any
|
getLastReapDatetime()
Get the date/time of the last reap the cache did. |
numeric
|
getMisses()
Get the total cache's misses. |
numeric
|
getObjectCount()
Get the associated cache's live object count. |
any
|
setCacheStats(any cacheStats)
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
stats
- Cache session statsProperty Detail |
---|
access
- publicrequired
- falsereturntype
- anyserializable
- falseMethod Detail |
---|
Clear the stats
clearStatistics
in interface
IStats
ehCache specific functions
Get the cache's performance ratio
getCachePerformanceRatio
in interface
IStats
Get the total cache's eviction count
getEvictionCount
in interface
IStats
Get the total cache's garbage collections
getGarbageCollections
in interface
IStats
Get the total cache's hits
getHits
in interface
IStats
Get the date/time of the last reap the cache did
getLastReapDatetime
in interface
IStats
Get the total cache's misses
getMisses
in interface
IStats
Get the associated cache's live object count
getObjectCount
in interface
IStats
cacheStats