Class GridCacheDatabaseSharedManager.RestoreLogicalState
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.RestoreLogicalState
-
- Enclosing class:
- GridCacheDatabaseSharedManager
public class GridCacheDatabaseSharedManager.RestoreLogicalState extends Object
Restore logical state context. Tracks the safety of logical recovery.
-
-
Constructor Summary
Constructors Constructor Description RestoreLogicalState(CheckpointStatus status, WALIterator iterator, long lastArchivedSegment, IgnitePredicate<Integer> cacheGroupsPredicate, Map<GroupPartitionId,Integer> partitionRecoveryStates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<GroupPartitionId,Integer>partitionRecoveryStates()
-
-
-
Constructor Detail
-
RestoreLogicalState
public RestoreLogicalState(CheckpointStatus status, WALIterator iterator, long lastArchivedSegment, IgnitePredicate<Integer> cacheGroupsPredicate, Map<GroupPartitionId,Integer> partitionRecoveryStates)
- Parameters:
lastArchivedSegment- Last archived segment index.partitionRecoveryStates- Initial partition recovery states.
-
-
Method Detail
-
partitionRecoveryStates
public Map<GroupPartitionId,Integer> partitionRecoveryStates()
- Returns:
- Map of restored partition states for cache groups.
-
-