ColdBox Platform Version 2.6.3

coldbox.system.cache.util
Class EventURLFacade

WEB-INF.cftags.component
        extended by coldbox.system.cache.util.EventURLFacade

public class EventURLFacade
extends WEB-INF.cftags.component

This object acts as an url facade for event caching


Constructor Summary
init(CacheManager cacheManager)
          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, string targetArgs)
          Build an event key according to passed in params and no Context
 string buildHash(string args)
          build a unique hash according to event and args
 string getUniqueHash(any event)
          Get's the unique incoming URL hash
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(CacheManager cacheManager)

Method Detail

buildBasicCacheKey

public any buildBasicCacheKey(any keySuffix, any targetEvent)
Builds a basic cache key

Parameters:
keySuffix - A handler key suffix if used.
targetEvent - The target event string

buildEventKey

public any buildEventKey(any keySuffix, any targetEvent, any targetContext)
Build an event key according to passed in params

Parameters:
keySuffix - A handler key suffix if used.
targetEvent - The target event string
targetContext - The target event context to test.

buildEventKeyNoContext

public any buildEventKeyNoContext(any keySuffix, any targetEvent, string targetArgs)
Build an event key according to passed in params and no Context

Parameters:
keySuffix - A handler key suffix if used.
targetEvent - The target event string
targetArgs - The string of args to incorporate into the hash

buildHash

public string buildHash(string args)
build a unique hash according to event and args

Parameters:
args - The string of args to incorporate into the hash

getUniqueHash

public string getUniqueHash(any event)
Get's the unique incoming URL hash

Parameters:
event - The event request context to incorporate into the hash

ColdBox Platform Version 2.6.3