lucee.Componentcoldbox.system.cache.providers.lucee-lib.LuceeStats
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 lucee cache stats
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
cacheProvider
|
false
|
false
|
Constructor Summary | |
---|---|
init(any<ICacheProvider> cacheProvider)
Constructor. |
Method Summary | |
---|---|
any
|
clearStatistics()
Clear the stats. |
numeric
|
getCachePerformanceRatio()
Get the cache's performance ratio. |
string
|
getCacheProvider()
|
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
|
setCacheProvider(any cacheProvider)
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
cacheProvider
- The associated cache manager/provider of type: coldbox.system.cache.providers.ICacheProviderProperty Detail |
---|
access
- publicrequired
- falsereturntype
- anyserializable
- falseMethod Detail |
---|
Clear the stats
clearStatistics
in interface
IStats
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
cacheProvider