Class AbstractViewIndexQueueAction<T extends IndexTask>

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
com.atlassian.confluence.core.AbstractI18nActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.impl.admin.actions.AbstractViewIndexQueueAction<T>
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, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable
Direct Known Subclasses:
ViewChangeIndexQueueAction, ViewContentIndexQueueAction

public abstract class AbstractViewIndexQueueAction<T extends IndexTask> extends ConfluenceActionSupport
Base class for actions that view index queues
Since:
7.9.0
See Also:
  • Field Details

  • Constructor Details

    • AbstractViewIndexQueueAction

      public AbstractViewIndexQueueAction()
  • Method Details

    • getIndex

      public abstract Index getIndex()
    • isPermitted

      public boolean isPermitted()
      Description copied from class: ConfluenceActionSupport
      Overrides:
      isPermitted in class ConfluenceActionSupport
    • execute

      public String execute()
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
    • getLastNonEmptyFlushStats

      public FlushStatistics getLastNonEmptyFlushStats()
    • isFlushing

      public boolean isFlushing()
    • getQueue

      public List<T> getQueue()
      Retrieve the currently queued entries.
    • getQueueFirstHundred

      public Collection<T> getQueueFirstHundred()
      Retrieve the first 100 currently queued entries.