Class FinalizeSnapshotContext

All Implemented Interfaces:

public final class FinalizeSnapshotContext extends ActionListener.Delegating<Tuple<RepositoryData,SnapshotInfo>,Tuple<RepositoryData,SnapshotInfo>>
Context for finalizing a snapshot.
  • Constructor Details

    • FinalizeSnapshotContext

      public FinalizeSnapshotContext(ShardGenerations updatedShardGenerations, long repositoryStateId, Metadata clusterMetadata, SnapshotInfo snapshotInfo, Version repositoryMetaVersion, ActionListener<Tuple<RepositoryData,SnapshotInfo>> listener)
      updatedShardGenerations - updated shard generations
      repositoryStateId - the unique id identifying the state of the repository when the snapshot began
      clusterMetadata - cluster metadata
      snapshotInfo - SnapshotInfo instance to write for this snapshot
      repositoryMetaVersion - version of the updated repository metadata to write
      listener - listener to be invoked with the new RepositoryData and SnapshotInfo after completing the snapshot
  • Method Details