Package com.atlassian.jira.index
Class LuceneCorruptionChecker
java.lang.Object
com.atlassian.jira.index.LuceneCorruptionChecker
- All Implemented Interfaces:
FeatureFlagProvider
- Since:
- v7.2.10
-
Constructor Summary
ConstructorsConstructorDescriptionLuceneCorruptionChecker(LuceneDirectoryUtils luceneDirectoryUtils, FeatureManager featureManager, ClusterInfo clusterInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAndFixIndexes(Collection<String> allIndexPaths) booleanisIndexOpenable(String path)
-
Constructor Details
-
LuceneCorruptionChecker
public LuceneCorruptionChecker(LuceneDirectoryUtils luceneDirectoryUtils, FeatureManager featureManager, ClusterInfo clusterInfo)
-
-
Method Details
-
checkAndFixIndexes
-
isIndexOpenable
-
getFeatureFlags
- Specified by:
getFeatureFlagsin interfaceFeatureFlagProvider- Returns:
- a set of feature flags
-