org.hibernate.search.store.optimization
Interface OptimizerStrategy

All Known Implementing Classes:
IncrementalOptimizerStrategy, NoOpOptimizerStrategy

public interface OptimizerStrategy

Author:
Emmanuel Bernard

Method Summary
 void addTransaction(long operations)
          has to be called in a thread safe way
 void initialize(DirectoryProvider directoryProvider, java.util.Properties indexProperties, SearchFactoryImplementor searchFactoryImplementor)
           
 boolean needOptimization()
          has to be called in a thread safe way
 void optimizationForced()
          has to be called in a thread safe way
 void optimize(Workspace workspace)
          has to be called in a thread safe way
 

Method Detail

initialize

void initialize(DirectoryProvider directoryProvider,
                java.util.Properties indexProperties,
                SearchFactoryImplementor searchFactoryImplementor)

optimizationForced

void optimizationForced()
has to be called in a thread safe way


needOptimization

boolean needOptimization()
has to be called in a thread safe way


addTransaction

void addTransaction(long operations)
has to be called in a thread safe way


optimize

void optimize(Workspace workspace)
has to be called in a thread safe way



Copyright © 2006-2010 Hibernate. All Rights Reserved.