public class

ViewIndexQueueAction

extends ConfluenceActionSupport
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.admin.actions.ViewIndexQueueAction

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
ViewIndexQueueAction()
Public Methods
String doReindexStatus()
This method handles a simple ping from a browser for the latest indexing status.
Date getFlushStarted()
FlushStatistics getLastNonEmptyFlushStats()
IndexingTask getLastReindexTask()
List getQueue()
Retrieve the currently queued entries.
Collection getQueueFirstHundred()
Retrieve the first 100 currently queued entries.
boolean isFlushing()
boolean isPermitted()
boolean isReIndexing()
String reIndex()
Trigger a full reindex of the system.
void setIndexManager(ConfluenceIndexManager indexManager)
The IndexManager is a required resource.
[Expand]
Inherited Methods
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Public Constructors

public ViewIndexQueueAction ()

Public Methods

public String doReindexStatus ()

This method handles a simple ping from a browser for the latest indexing status. This action being autowired provides that status information.

Returns
  • SUCCESS

public Date getFlushStarted ()

public FlushStatistics getLastNonEmptyFlushStats ()

public IndexingTask getLastReindexTask ()

public List getQueue ()

Retrieve the currently queued entries.

public Collection getQueueFirstHundred ()

Retrieve the first 100 currently queued entries.

public boolean isFlushing ()

public boolean isPermitted ()

public boolean isReIndexing ()

public String reIndex ()

Trigger a full reindex of the system. If a reindex is already in progress, then nothing is done.

public void setIndexManager (ConfluenceIndexManager indexManager)

The IndexManager is a required resource.