com.atlassian.confluence.search.lucene
Interface ConfluenceIndexManager

All Known Implementing Classes:
DefaultConfluenceIndexManager

public interface ConfluenceIndexManager

The Confluence Index Manager is the entry point to the Indexing Subsystem


Method Summary
 void flushQueue()
          Flush the index queue, processing all of the tasks.
 FlushStatistics getLastNonEmptyFlushStats()
           
 IndexingTask getLastReindexingTask()
           
 IndexTaskQueue getTaskQueue()
          Retrieve an instance of the systems index queue.
 boolean isFlushing()
          Returns true if the the index queue is currently being flushed.
 boolean isReIndexing()
          Returns true if the system is currently being reindexed.
 void optimizeIndex()
          Enqueues an Optimize Index Task
 void reIndex()
          Trigger a system wide reindex.
 void resetIndexQueue()
          Resetting the index queue removes all entries from the queue without processing them.
 void unIndexAll()
           
 

Method Detail

isFlushing

public boolean isFlushing()
Returns true if the the index queue is currently being flushed.

Returns:
true if flushing, false otherwise.

isReIndexing

public boolean isReIndexing()
Returns true if the system is currently being reindexed.

Returns:
true if flushing, false otherwise.

flushQueue

public void flushQueue()
Flush the index queue, processing all of the tasks.


reIndex

public void reIndex()
Trigger a system wide reindex.


unIndexAll

public void unIndexAll()

optimizeIndex

public void optimizeIndex()
Enqueues an Optimize Index Task


getTaskQueue

public IndexTaskQueue getTaskQueue()
Retrieve an instance of the systems index queue.


getLastReindexingTask

public IndexingTask getLastReindexingTask()

getLastNonEmptyFlushStats

public FlushStatistics getLastNonEmptyFlushStats()

resetIndexQueue

public void resetIndexQueue()
Resetting the index queue removes all entries from the queue without processing them.



Confluence is developed by Atlassian.