railo-context.Component coldbox.system.cache.AbstractCacheBoxProvider
An abstract CacheBox Provider with basic/boring functionality built
Constructor Summary | |
---|---|
init()
Simple Constructor. |
Method Summary | |
---|---|
void
|
clearStatistics()
Clear the cache statistics. |
any<CacheFactory>
|
getCacheFactory()
Get the cache factory reference this cache provider belongs to. |
any
|
getCacheID()
The unique cache ID number. |
any<struct>
|
getConfiguration()
Get the structure of configuration parameters for the cache. |
any
|
getEventManager()
Get this cache managers event listner manager. |
any
|
getMemento()
Return the cache provider's instance memento. |
any
|
getName()
Get the name of this cache. |
any<ICacheStats>
|
getStats()
Get the cache statistics object as coldbox. |
private any
|
getUtil()
Create and return a util object. |
any<boolean>
|
isEnabled()
Returns a flag indicating if the cache is ready for operation. |
any<boolean>
|
isReportingEnabled()
Returns a flag indicating if the cache has reporting enabled. |
void
|
setCacheFactory(any<CacheFactory> cacheFactory)
Set the cache factory reference for this cache. |
void
|
setConfiguration(any configuration)
Override the entire configuration structure for this cache. |
void
|
setEventManager(any eventManager)
Set the event manager for this cache. |
void
|
setName(any name)
Set the cache name. |
private void
|
statusCheck()
Check if the cache is operational, else throw exception. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Simple Constructor
Method Detail |
---|
Clear the cache statistics
Get the cache factory reference this cache provider belongs to
The unique cache ID number
Get the structure of configuration parameters for the cache
Get this cache managers event listner manager
Return the cache provider's instance memento
Get the name of this cache
Get the cache statistics object as coldbox.system.cache.util.ICacheStats
Create and return a util object
Returns a flag indicating if the cache is ready for operation
Returns a flag indicating if the cache has reporting enabled
Set the cache factory reference for this cache
cacheFactory
Override the entire configuration structure for this cache
configuration
- The configuration structureSet the event manager for this cache
eventManager
- The event manager classSet the cache name
name
- The cache nameCheck if the cache is operational, else throw exception