org.compass.core.lucene.engine.optimizer
Class AbstractIndexInfoOptimizer

java.lang.Object
  extended by org.compass.core.lucene.engine.optimizer.AbstractOptimizer
      extended by org.compass.core.lucene.engine.optimizer.AbstractIndexInfoOptimizer
All Implemented Interfaces:
LuceneSearchEngineOptimizer

public abstract class AbstractIndexInfoOptimizer
extends AbstractOptimizer

Author:
kimchy

Field Summary
 
Fields inherited from class org.compass.core.lucene.engine.optimizer.AbstractOptimizer
log
 
Constructor Summary
AbstractIndexInfoOptimizer()
           
 
Method Summary
protected  void doForceOptimize(String subIndex)
           
protected abstract  void doForceOptimize(String subIndex, LuceneSubIndexInfo indexInfo)
           
protected  LuceneSubIndexInfo doGetIndexInfo(String subIndex)
           
protected  void doOptimize(String subIndex)
           
protected abstract  void doOptimize(String subIndex, LuceneSubIndexInfo indexInfo)
           
 
Methods inherited from class org.compass.core.lucene.engine.optimizer.AbstractOptimizer
doStart, doStop, forceOptimize, forceOptimize, getSearchEngineFactory, isRunning, optimize, optimize, setSearchEngineFactory, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.compass.core.lucene.engine.optimizer.LuceneSearchEngineOptimizer
canBeScheduled, optimize, optimize
 

Constructor Detail

AbstractIndexInfoOptimizer

public AbstractIndexInfoOptimizer()
Method Detail

doOptimize

protected void doOptimize(String subIndex)
                   throws SearchEngineException
Specified by:
doOptimize in class AbstractOptimizer
Throws:
SearchEngineException

doForceOptimize

protected void doForceOptimize(String subIndex)
                        throws SearchEngineException
Specified by:
doForceOptimize in class AbstractOptimizer
Throws:
SearchEngineException

doGetIndexInfo

protected LuceneSubIndexInfo doGetIndexInfo(String subIndex)

doOptimize

protected abstract void doOptimize(String subIndex,
                                   LuceneSubIndexInfo indexInfo)
                            throws SearchEngineException
Throws:
SearchEngineException

doForceOptimize

protected abstract void doForceOptimize(String subIndex,
                                        LuceneSubIndexInfo indexInfo)
                                 throws SearchEngineException
Throws:
SearchEngineException


Copyright (c) 2004-2009 The Compass Project.