|
ColdBox Platform - CacheBox Version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
cachebox.system.cache.AbstractCacheBoxProvider
cachebox.system.cache.providers.CacheBoxProvider
cachebox.system.cache.providers.CacheBoxColdBoxProvider
public class CacheBoxColdBoxProvider
| Constructor Summary | |
|---|---|
init()
Constructor |
|
| Method Summary | |
|---|---|
void |
clearAllEvents([boolean async])
Clears all events from the cache |
void |
clearAllViews([boolean async])
Clears all views from the cache |
void |
clearEvent(string eventsnippet, [string queryString=''])
Clears all the event permutations from the cache according to snippet and querystring |
void |
clearEventMulti(any eventsnippets, [string queryString=''])
Clears all the event permutations from the cache according to the list of snippets and querystrings |
void |
clearView(string viewSnippet)
Clears all view name permutations from the cache according to the view name |
void |
clearViewMulti(any viewSnippets)
Clears all view name permutations from the cache according to the view name |
any<cachebox.system.web.Controller> |
getColdbox()
Get the coldbox application reference as cachebox |
string |
getCustomPluginCacheKeyPrefix()
Get the custom plugin cache key prefix |
string |
getEventCacheKeyPrefix()
Get the event cache key prefix |
EventURLFacade |
getEventURLFacade()
Get the event caching URL facade utility |
string |
getHandlerCacheKeyPrefix()
Get the handler cache key prefix |
string |
getInterceptorCacheKeyPrefix()
Get the interceptor cache key prefix |
ItemTypeCount |
getItemTypes()
Get the item types counts of the cache |
string |
getPluginCacheKeyPrefix()
Get the plugin cache key prefix |
string |
getViewCacheKeyPrefix()
Get the cached view key prefix |
void |
setColdbox(any<cachebox.system.web.Controller> coldbox)
Set the coldbox application reference |
| Methods inherited from class cachebox.system.cache.AbstractCacheBoxProvider |
|---|
clearStatistics, getCacheFactory, getCacheID, getConfiguration, getEventManager, getMemento, getName, getStats, getUtil, isEnabled, isReportingEnabled, setCacheFactory, setConfiguration, setEventManager, setName, statusCheck
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init()
| Method Detail |
|---|
public void clearAllEvents([boolean async])
clearAllEvents
in interface
IColdboxApplicationCache
async - Run command asynchronously or notpublic void clearAllViews([boolean async])
clearAllViews
in interface
IColdboxApplicationCache
async - Run command asynchronously or notpublic void clearEvent(string eventsnippet, [string queryString=''])
clearEvent
in interface
IColdboxApplicationCache
eventsnippet - The event snippet to clear on. Can be partial or fullqueryString - If passed in, it will create a unique hash out of it. For purging purposespublic void clearEventMulti(any eventsnippets, [string queryString=''])
clearEventMulti
in interface
IColdboxApplicationCache
eventsnippets - The comma-delimmitted list event snippet to clear on. Can be partial or fullqueryString - The comma-delimmitted list of queryStrings passed in. If passed in, it will create a unique hash out of it. For purging purposes. If passed in the list length must be equal to the list length of the event snippets passed in.public void clearView(string viewSnippet)
clearView
in interface
IColdboxApplicationCache
viewSnippet - The view name snippet to purge from the cachepublic void clearViewMulti(any viewSnippets)
clearViewMulti
in interface
IColdboxApplicationCache
viewSnippets - The comma-delimmitted list or array of view snippet to clear on. Can be partial or fullpublic any<cachebox.system.web.Controller> getColdbox()
getColdbox
in interface
IColdboxApplicationCache
public string getCustomPluginCacheKeyPrefix()
getCustomPluginCacheKeyPrefix
in interface
IColdboxApplicationCache
public string getEventCacheKeyPrefix()
getEventCacheKeyPrefix
in interface
IColdboxApplicationCache
public EventURLFacade getEventURLFacade()
getEventURLFacade
in interface
IColdboxApplicationCache
public string getHandlerCacheKeyPrefix()
getHandlerCacheKeyPrefix
in interface
IColdboxApplicationCache
public string getInterceptorCacheKeyPrefix()
getInterceptorCacheKeyPrefix
in interface
IColdboxApplicationCache
public ItemTypeCount getItemTypes()
getItemTypes
in interface
IColdboxApplicationCache
public string getPluginCacheKeyPrefix()
getPluginCacheKeyPrefix
in interface
IColdboxApplicationCache
public string getViewCacheKeyPrefix()
getViewCacheKeyPrefix
in interface
IColdboxApplicationCache
public void setColdbox(any<cachebox.system.web.Controller> coldbox)
setColdbox
in interface
IColdboxApplicationCache
coldbox - The coldbox application reference as cachebox.system.web.Controller
|
ColdBox Platform - CacheBox Version 1.1 | ||||
| FRAMES | |||||