Module org.elasticsearch.server
Package org.elasticsearch.snapshots
Interface SnapshotDeleteListener
public interface SnapshotDeleteListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDone()
Invoked once a snapshot has been fully deleted from the repository.void
Invoked if writing updatedRepositoryData
to the repository failed.void
onRepositoryDataWritten
(RepositoryData repositoryData) Invoked once the updatedRepositoryData
has been written to the repository.
-
Method Details
-
onDone
void onDone()Invoked once a snapshot has been fully deleted from the repository. -
onRepositoryDataWritten
Invoked once the updatedRepositoryData
has been written to the repository.- Parameters:
repositoryData
- updated repository data
-
onFailure
Invoked if writing updatedRepositoryData
to the repository failed. OnceonRepositoryDataWritten(RepositoryData)
has been invoked this method will never be invoked.- Parameters:
e
- exception during metadata steps of snapshot delete
-