Package org.ametys.site
Class ResetSiteCacheAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.site.ResetSiteCacheAction
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,ThreadSafe,Action
Clear the
SiteInformationCache informations.-
Field Summary
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CacheAccessCounterGet the cache access counterprotected SiteInformationCacheGet the site information cacheact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) Methods inherited from class org.apache.cocoon.acting.ServiceableAction
serviceMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
ResetSiteCacheAction
public ResetSiteCacheAction()
-
-
Method Details
-
_getCacheAccessCounter
Get the cache access counter- Returns:
- the CacheAccessCounter
-
_getSiteInformationCache
Get the site information cache- Returns:
- the SiteInformationCache
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
-