Interface OptimizerStrategy
- All Known Implementing Classes:
IncrementalOptimizerStrategy,NoOpOptimizerStrategy
public interface OptimizerStrategy
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTransaction(long operations) has to be called in a thread safe wayvoidinitialize(DirectoryProvider directoryProvider, Properties indexProperties, BuildContext initContext) booleanhas to be called in a thread safe wayvoidhas to be called in a thread safe wayvoidhas to be called in a thread safe way
-
Method Details
-
initialize
void initialize(DirectoryProvider directoryProvider, Properties indexProperties, BuildContext initContext) -
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
has to be called in a thread safe way
-