railo-context.Component coldbox.system.cache.policies.AbstractEvictionPolicy
An abstract CacheBox eviction policy
Constructor Summary | |
---|---|
init(any<ICacheProvider> cacheProvider)
Constructor. |
Method Summary | |
---|---|
void
|
execute()
Execute the eviction policy on the associated cache. |
any<ICacheProvider>
|
getAssociatedCache()
Get the Associated Cache Provider of type: coldbox. |
private any
|
getLogger()
Get a logbox logger for the policy. |
private any
|
getUtil()
Create and return a ColdBox utility object. |
private void
|
processEvictions(any index)
Abstract processing of evictions. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
cacheProvider
- The associated cache provider of type: coldbox.system.cache.ICacheProviderMethod Detail |
---|
Execute the eviction policy on the associated cache
execute
in interface
IEvictionPolicy
Get the Associated Cache Provider of type: coldbox.system.cache.ICacheProvider
getAssociatedCache
in interface
IEvictionPolicy
Get a logbox logger for the policy
Create and return a ColdBox utility object
Abstract processing of evictions
index
- The array of metadata keys used for processing evictions