Save This Page
Home » hibernate-search-src-20081106 » org.hibernate » search » store » optimization » [javadoc | source]
org.hibernate.search.store.optimization
public interface: OptimizerStrategy [javadoc | source]

All Known Implementing Classes:
    NoOpOptimizerStrategy, IncrementalOptimizerStrategy

Method from org.hibernate.search.store.optimization.OptimizerStrategy Summary:
addTransaction,   initialize,   needOptimization,   optimizationForced,   optimize
Method from org.hibernate.search.store.optimization.OptimizerStrategy Detail:
 public  void addTransaction(long operations)
    has to be called in a thread safe way
 public  void initialize(DirectoryProvider directoryProvider,
    Properties indexProperties,
    SearchFactoryImplementor searchFactoryImplementor)
 public boolean needOptimization()
    has to be called in a thread safe way
 public  void optimizationForced()
    has to be called in a thread safe way
 public  void optimize(Workspace workspace)
    has to be called in a thread safe way