Interface Snapshot.State

All Superinterfaces:
Serializable
All Known Implementing Classes:
EmptyState, ShardSnapshotState
Enclosing class:
Snapshot

public static interface Snapshot.State extends Serializable
Implementations of this interface are used as the state payload for a snapshot.
Author:
Thomas Pantelis
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Indicate whether the snapshot requires migration, i.e.
  • Method Details

    • needsMigration

      default boolean needsMigration()
      Indicate whether the snapshot requires migration, i.e. a new snapshot should be created after recovery. Default implementation returns false, i.e. do not re-snapshot.
      Returns:
      True if complete recovery based upon this snapshot should trigger a new snapshot.