Class GridCacheDatabaseSharedManager.RestoreBinaryState

  • Enclosing class:
    GridCacheDatabaseSharedManager

    public class GridCacheDatabaseSharedManager.RestoreBinaryState
    extends Object
    Restore memory context. Tracks the safety of binary recovery.
    • Constructor Detail

      • RestoreBinaryState

        public RestoreBinaryState​(CheckpointStatus status,
                                  WALIterator iterator,
                                  long lastArchivedSegment,
                                  IgnitePredicate<Integer> cacheGroupsPredicate)
        Parameters:
        status - Checkpoint status.
        iterator - WAL iterator.
        lastArchivedSegment - Last archived segment index.
        cacheGroupsPredicate - Cache groups predicate.
    • Method Detail

      • needApplyBinaryUpdate

        public boolean needApplyBinaryUpdate()
        Returns:
        Flag indicates need apply binary record or not.
      • throwsCRCError

        public boolean throwsCRCError()
        Returns:
        Flag indicates need throws CRC exception or not.