Package com.atlassian.jira.index
Class LuceneCorruptionChecker
java.lang.Object
com.atlassian.jira.index.LuceneCorruptionChecker
- All Implemented Interfaces:
FeatureFlagProvider
- Since:
- v7.2.10
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLuceneCorruptionChecker
(LuceneDirectoryUtils luceneDirectoryUtils, FeatureManager featureManager, ClusterInfo clusterInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAndFixIndexes
(Collection<String> allIndexPaths) boolean
isIndexOpenable
(String path)
-
Field Details
-
log
public static final org.slf4j.Logger log
-
-
Constructor Details
-
LuceneCorruptionChecker
public LuceneCorruptionChecker(LuceneDirectoryUtils luceneDirectoryUtils, FeatureManager featureManager, ClusterInfo clusterInfo)
-
-
Method Details
-
checkAndFixIndexes
-
isIndexOpenable
-
getFeatureFlags
- Specified by:
getFeatureFlags
in interfaceFeatureFlagProvider
- Returns:
- a set of feature flags
-