Interface RestorableSnapshotStore

All Known Implementing Classes:
FileBasedSnapshotStore

public interface RestorableSnapshotStore
  • Method Summary

    Modifier and Type
    Method
    Description
    Restore a PersistedSnapshot using the actor context in order to be thread safe
    void
    restore(String snapshotId, Map<String,Path> snapshotFiles)
    Restores the snapshot by moving the snapshotFiles to the snapshotDirectory.
  • Method Details

    • restore

      void restore(String snapshotId, Map<String,Path> snapshotFiles) throws IOException
      Restores the snapshot by moving the snapshotFiles to the snapshotDirectory.

      WARN. Implementation of this method can be not thread safe.

      Parameters:
      snapshotId -
      snapshotFiles -
      Throws:
      IOException
    • restore

      ActorFuture<Void> restore(PersistedSnapshot snapshot)
      Restore a PersistedSnapshot using the actor context in order to be thread safe