lucee.Component cachebox.system.cache.policies.AbstractEvictionPolicy
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com ---- This is an AbstractEviction Policy object for usage in a CacheBox provider
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
cacheProvider
Associated cache provider.
|
true
|
false
|
|
any
|
logger
A logbox logger.
|
true
|
false
|
Constructor Summary | |
---|---|
init(any<ICacheProvider> cacheProvider)
Constructor. |
Method Summary | |
---|---|
void
|
execute()
Execute the eviction policy on the associated cache. |
any
|
getAssociatedCache()
Get the Associated Cache Provider of type: cachebox. |
string
|
getCacheProvider()
|
string
|
getLogger()
|
private any
|
getUtil()
Get utiliy object. |
private any
|
processEvictions(any index)
Abstract processing of evictions. |
any
|
setCacheProvider(any cacheProvider)
|
any
|
setLogger(any logger)
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
cacheProvider
- The associated cache providerProperty Detail |
---|
Associated cache provider
access
- publicrequired
- falsereturntype
- anyserializable
- trueA logbox logger
access
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Execute the eviction policy on the associated cache
execute
in interface
IEvictionPolicy
Get the Associated Cache Provider of type: cachebox.system.cache.ICacheProvider
getAssociatedCache
in interface
IEvictionPolicy
Get utiliy object
Abstract processing of evictions
index
- The array of metadata keys used for processing evictionscacheProvider
logger