Interface Snapshot.State
- All Superinterfaces:
 Serializable
- All Known Implementing Classes:
 EmptyState,ShardSnapshotState
- Enclosing class:
 Snapshot
Implementations of this interface are used as the state payload for a snapshot.
- Author:
 - Thomas Pantelis
 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault booleanIndicate whether the snapshot requires migration, i.e. a new snapshot should be created after recovery. 
- 
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.
 
 
 -