public class LuceneCorruptionChecker extends Object implements FeatureFlagProvider
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
Constructor and Description |
---|
LuceneCorruptionChecker(LuceneDirectoryUtils luceneDirectoryUtils,
FeatureManager featureManager,
ClusterInfo clusterInfo) |
Modifier and Type | Method and Description |
---|---|
void |
checkAndFixIndexes(Collection<String> allIndexPaths) |
Set<FeatureFlag> |
getFeatureFlags() |
boolean |
isIndexOpenable(String path) |
public LuceneCorruptionChecker(LuceneDirectoryUtils luceneDirectoryUtils, FeatureManager featureManager, ClusterInfo clusterInfo)
public void checkAndFixIndexes(Collection<String> allIndexPaths)
public boolean isIndexOpenable(String path)
public Set<FeatureFlag> getFeatureFlags()
getFeatureFlags
in interface FeatureFlagProvider
Copyright © 2002-2023 Atlassian. All Rights Reserved.