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
public class ResetSiteCacheAction extends ServiceableAction implements ThreadSafe
Clear theSiteInformationCacheinformations.
-
-
Field Summary
Fields Modifier and Type Field Description private CacheAccessCounter_cacheAccessCounterprivate org.slf4j.Logger_loggerprivate SiteInformationCache_siteCache-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description ResetSiteCacheAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CacheAccessCounter_getCacheAccessCounter()Get the cache access counterprotected SiteInformationCache_getSiteInformationCache()Get the site information cacheMapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)-
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_siteCache
private SiteInformationCache _siteCache
-
_cacheAccessCounter
private CacheAccessCounter _cacheAccessCounter
-
_logger
private org.slf4j.Logger _logger
-
-
Constructor Detail
-
ResetSiteCacheAction
public ResetSiteCacheAction()
-
-
Method Detail
-
_getCacheAccessCounter
protected CacheAccessCounter _getCacheAccessCounter()
Get the cache access counter- Returns:
- the CacheAccessCounter
-
_getSiteInformationCache
protected SiteInformationCache _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
-
-