Class FlushCacheAction

  • All Implemented Interfaces:
    WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

    public class FlushCacheAction
    extends ConfluenceActionSupport
    This action allows you to trigger a flush for the system cache. It supports two modes of operation. A) Flush a specific cache, triggered by specifying a cache to flush. B) Flush all caches, indicated by not specifying a cache to flush.
    See Also:
    Serialized Form
    • Constructor Detail

      • FlushCacheAction

        public FlushCacheAction()
    • Method Detail

      • setCache

        public void setCache​(String cacheName)
      • execute

        public String execute()
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
      • setCacheManager

        public void setCacheManager​(com.atlassian.cache.CacheManager cacheManager)
      • isShowDistributions

        public boolean isShowDistributions()
      • setShowDistributions

        public void setShowDistributions​(boolean showDistributions)