Package org.elasticsearch.snapshots
Class RepositoryIntegrityHealthIndicatorService
java.lang.Object
org.elasticsearch.snapshots.RepositoryIntegrityHealthIndicatorService
- All Implemented Interfaces:
HealthIndicatorService
public class RepositoryIntegrityHealthIndicatorService
extends Object
implements HealthIndicatorService
This indicator reports health for snapshot repositories.
Indicator will report RED status when any of snapshot repositories is marked as corrupted.
Data might not be backed up in such cases.
Corrupted repository most likely need to be manually cleaned and a new snapshot needs to be created from scratch.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.health.HealthIndicatorService
createIndicator
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
RepositoryIntegrityHealthIndicatorService
-
-
Method Details
-
name
- Specified by:
name
in interfaceHealthIndicatorService
-
component
- Specified by:
component
in interfaceHealthIndicatorService
-
calculate
- Specified by:
calculate
in interfaceHealthIndicatorService
-