Class ShardSnapshotsService
java.lang.Object
org.elasticsearch.indices.recovery.plan.ShardSnapshotsService
-
Constructor Summary
ConstructorDescriptionShardSnapshotsService(Client client, RepositoriesService repositoriesService, ThreadPool threadPool, ClusterService clusterService)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fetchLatestSnapshotsForShard(ShardId shardId, ActionListener<Optional<org.elasticsearch.indices.recovery.plan.ShardSnapshot>> listener)
protected boolean
-
Constructor Details
-
ShardSnapshotsService
public ShardSnapshotsService(Client client, RepositoriesService repositoriesService, ThreadPool threadPool, ClusterService clusterService)
-
-
Method Details
-
fetchLatestSnapshotsForShard
public void fetchLatestSnapshotsForShard(ShardId shardId, ActionListener<Optional<org.elasticsearch.indices.recovery.plan.ShardSnapshot>> listener) -
masterSupportsFetchingLatestSnapshots
protected boolean masterSupportsFetchingLatestSnapshots()
-