com.atlassian.confluence.search.lucene.tasks
Class OptimizeIndexTask

java.lang.Object
  extended by com.atlassian.confluence.search.lucene.tasks.OptimizeIndexTask
All Implemented Interfaces:
com.atlassian.bonnie.ILuceneConnection.WriterAction, IndexTask, ConfluenceIndexTask

Deprecated. since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098

public class OptimizeIndexTask
extends java.lang.Object
implements ConfluenceIndexTask

Optimizes the index.


Method Summary
 boolean equals(java.lang.Object other)
          Deprecated.  
 java.lang.String getDescription()
          Deprecated. A description of the task that can be presented to the user via the UI.
static OptimizeIndexTask getInstance()
          Deprecated.  
 int hashCode()
          Deprecated.  
 void perform(org.apache.lucene.index.IndexWriter writer)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static OptimizeIndexTask getInstance()
Deprecated. 

getDescription

public java.lang.String getDescription()
Deprecated. 
Description copied from interface: IndexTask
A description of the task that can be presented to the user via the UI.

Specified by:
getDescription in interface IndexTask
Returns:
an readable message.

perform

public void perform(org.apache.lucene.index.IndexWriter writer)
             throws java.io.IOException
Deprecated. 
Specified by:
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterAction
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object other)
Deprecated. 
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.