Changeset 2956
Affected files
coldbox/trunk/testing/StandAloneTests/EventCachingLoad/config/coldbox.xml.cfm (Quick diff)
coldbox/trunk/testing/StandAloneTests/EventCachingLoad/handlers/general.cfc (Quick diff)
coldbox/trunk/testing/StandAloneTests/EventCachingLoad/runTest.cfm
coldbox/trunk/testing/StandAloneTests/EventCachingLoad/temp1.cfm
coldbox/trunk/testing/StandAloneTests/EventCachingLoad/temp2.cfm
coldbox/trunk/testing/StandAloneTests/EventCachingLoad/config/coldbox.xml.cfm
| 2955 | 2956 | ||
|---|---|---|---|
113 | <InfoPanel show="false" expanded="true" /> | 113 | <InfoPanel show="false" expanded="true" /> |
114 | <CachePanel show="false" expanded="false" /> | 114 | <CachePanel show="false" expanded="false" /> |
115 | <RCPanel show="false" expanded="false" /> | 115 | <RCPanel show="false" expanded="false" /> |
116 | <ModulesPanel show="false" expanded="false" /> | ||
116 | </DebuggerSettings> | 117 | </DebuggerSettings> |
117 | 118 | ||
118 | <!--Optional,if blank it will use the CFMX administrator settings.--> | 119 | <!--Optional,if blank it will use the CFMX administrator settings.--> |
coldbox/trunk/testing/StandAloneTests/EventCachingLoad/handlers/general.cfc
| 2955 | 2956 | ||
|---|---|---|---|
36 | <cfset Event.setView("slowEvent")> | 36 | <cfset Event.setView("slowEvent")> |
37 | </cffunction> | 37 | </cffunction> |
38 | 38 | ||
39 | <cffunction name="ClearEvents" returntype="void" output="false" hint="I run the clear all events coldbox setting to get events out of cache"> | ||
40 | <cfargument name="event" required="true" type="any"> | ||
41 | <cfscript> | ||
42 | var rc = event.getCollection(); | ||
43 | //Clear all events from cache | ||
44 | getColdBoxOCM().clearAllEvents(); | ||
45 | |||
46 | event.renderData(type="Plain",data="Events have been cleared from cache"); | ||
47 | </cfscript> | ||
48 | </cffunction> | ||
49 | |||
39 | </cfcomponent> | 50 | </cfcomponent> |

Download diff