Class SnapshotsRecoveryPlannerService
java.lang.Object
org.elasticsearch.indices.recovery.plan.SnapshotsRecoveryPlannerService
- All Implemented Interfaces:
RecoveryPlannerService
-
Constructor Summary
ConstructorDescriptionSnapshotsRecoveryPlannerService
(ShardSnapshotsService shardSnapshotsService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
computeRecoveryPlan
(ShardId shardId, String shardStateIdentifier, Store.MetadataSnapshot sourceMetadata, Store.MetadataSnapshot targetMetadata, long startingSeqNo, int translogOps, Version targetVersion, boolean useSnapshots, ActionListener<ShardRecoveryPlan> listener)
-
Constructor Details
-
SnapshotsRecoveryPlannerService
-
-
Method Details
-
computeRecoveryPlan
public void computeRecoveryPlan(ShardId shardId, @Nullable String shardStateIdentifier, Store.MetadataSnapshot sourceMetadata, Store.MetadataSnapshot targetMetadata, long startingSeqNo, int translogOps, Version targetVersion, boolean useSnapshots, ActionListener<ShardRecoveryPlan> listener) - Specified by:
computeRecoveryPlan
in interfaceRecoveryPlannerService
-