lucee.Component coldbox.system.cache.util.EventURLFacade
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- This cfc acts as an URL/FORM facade for event caching. The associated cache will have to implement the IColdboxApplicationCache in order to retrieve the right prefix keys.
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
cacheProvider
|
true
|
false
|
Constructor Summary | |
---|---|
init(any cacheProvider)
Constructor. |
Method Summary | |
---|---|
string
|
buildBasicCacheKey(any keySuffix, any targetEvent)
Builds a basic cache key without the hash component. |
string
|
buildEventKey(any keySuffix, any targetEvent, any targetContext)
Build an event key according to passed in params. |
string
|
buildEventKeyNoContext(any keySuffix, any targetEvent, any targetArgs)
Build an event key according to passed in params. |
any
|
buildHash(string args)
Build a unique hash according to an incoming query string, mostly used when calling the clear functions of. |
string
|
getCacheProvider()
|
string
|
getUniqueHash(any event)
Build a unique hash from an incoming request context. |
any
|
setCacheProvider(any cacheProvider)
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
cacheProvider
- Provider to connect toProperty Detail |
---|
access
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Builds a basic cache key without the hash component
keySuffix
- The key suffix usedtargetEvent
- The targetged ColdBox event stringBuild an event key according to passed in params
keySuffix
- The key suffix used in the cache keytargetEvent
- The targeted ColdBox event executedtargetContext
- The targeted request context objectBuild an event key according to passed in params
keySuffix
- The key suffix used in the cache keytargetEvent
- The targeted ColdBox event executedtargetArgs
- A query string based argument collection like a query stringBuild a unique hash according to an incoming query string, mostly used when calling the clear functions of cache providers
args
- A querystring based argument collectionBuild a unique hash from an incoming request context
event
- A request context objectcacheProvider