Class LuceneInitializerHelper
java.lang.Object
org.apache.jackrabbit.oak.plugins.index.lucene.util.LuceneInitializerHelper
- All Implemented Interfaces:
RepositoryInitializer
-
Field Summary
Fields inherited from interface org.apache.jackrabbit.oak.spi.lifecycle.RepositoryInitializer
DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionLuceneInitializerHelper(String name, Boolean storageEnabled) LuceneInitializerHelper(String name, Set<String> propertyTypes) LuceneInitializerHelper(String name, Set<String> propertyTypes, String filePath) LuceneInitializerHelper(String name, Set<String> propertyTypes, Set<String> excludes, String filePath, Boolean storageEnabled) -
Method Summary
Modifier and TypeMethodDescriptionasync()set theasyncproperty to "async".will set theasyncproperty to the provided valuevoidinitialize(@NotNull NodeBuilder builder) Initializes repository content.
-
Constructor Details
-
LuceneInitializerHelper
-
LuceneInitializerHelper
-
LuceneInitializerHelper
-
LuceneInitializerHelper
-
LuceneInitializerHelper
-
LuceneInitializerHelper
-
-
Method Details
-
async
set theasyncproperty to "async".- Returns:
-
async
will set theasyncproperty to the provided value- Parameters:
async-- Returns:
-
initialize
Description copied from interface:RepositoryInitializerInitializes repository content. This method is called as soon as a repository becomes available. Note that the repository may already have been initialized, so the implementation of this method should check for that before blindly adding new content.- Specified by:
initializein interfaceRepositoryInitializer- Parameters:
builder- builder for accessing and modifying repository content
-