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

    @Deprecated(since="8.8",
                forRemoval=true)
    public class FlushCacheAction
    extends ConfluenceActionSupport
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 8.8, use com.atlassian.confluence.cache.rest.CacheManagementResource instead
    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()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • setCache

        public void setCache​(String cacheName)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • execute

        public String execute()
        Deprecated, for removal: This API element is subject to removal in a future version.
        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)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • isShowDistributions

        public boolean isShowDistributions()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setShowDistributions

        public void setShowDistributions​(boolean showDistributions)
        Deprecated, for removal: This API element is subject to removal in a future version.