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
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
needsMigration()
Indicate whether the snapshot requires migration, i.e.
-
-
-
Method Detail
-
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.
-
-