railo-context.Component coldbox.system.cache.util.EventURLFacade
This object acts as an url/form facade for CacheBox event caching
Constructor Summary | |
---|---|
init(any<IColdboxApplicationCache> cacheProvider)
Constructor. |
Method Summary | |
---|---|
any
|
buildBasicCacheKey(any keySuffix, any targetEvent)
Builds a basic cache key. |
any
|
buildEventKey(any keySuffix, any targetEvent, any targetContext)
Build an event key according to passed in params. |
any
|
buildEventKeyNoContext(any keySuffix, any targetEvent, any targetArgs)
Build an event key according to passed in params and no Context. |
any
|
buildHash(any args)
build a unique hash according to event and args. |
any
|
getUniqueHash(any event)
Get's the unique incoming URL hash. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
cacheProvider
- The cache provider/manager this utility will be associated with as type: coldbox.system.cache.IColdboxApplicationCacheMethod Detail |
---|
Builds a basic cache key
keySuffix
- A handler key suffix if used.targetEvent
- The target event stringBuild an event key according to passed in params
keySuffix
- A handler key suffix if used.targetEvent
- The target event stringtargetContext
- The target event context to test.Build an event key according to passed in params and no Context
keySuffix
- A handler key suffix if used.targetEvent
- The target event stringtargetArgs
- The string of args to incorporate into the hashbuild a unique hash according to event and args
args
- The string of args to incorporate into the hashGet's the unique incoming URL hash
event
- The event request context to incorporate into the hash