Class InitNewPageRecord

    • Field Detail

      • ioType

        protected int ioType
      • ioVer

        protected int ioVer
    • Constructor Detail

      • InitNewPageRecord

        public InitNewPageRecord​(int grpId,
                                 long pageId,
                                 int ioType,
                                 int ioVer,
                                 long newPageId)
        Parameters:
        grpId - Cache group ID.
        pageId - Page ID.
        ioType - IO type.
        ioVer - IO version.
        newPageId - New page ID.
      • InitNewPageRecord

        public InitNewPageRecord​(int grpId,
                                 long pageId,
                                 int ioType,
                                 int ioVer,
                                 long newPageId,
                                 @Nullable
                                 @Nullable IgniteLogger log)
        Parameters:
        grpId - Cache group ID.
        pageId - Page ID.
        ioType - IO type.
        ioVer - IO version.
        newPageId - New page ID.
        log - Logger for case data is invalid. Can be null, but is needed when processing existing storage.
    • Method Detail

      • applyDelta

        public void applyDelta​(PageMemory pageMem,
                               long pageAddr)
                        throws IgniteCheckedException
        Apply changes from this delta to the given page. It is assumed that the given buffer represents page state right before this update.
        Specified by:
        applyDelta in class PageDeltaRecord
        Parameters:
        pageMem - Page memory.
        pageAddr - Page address.
        Throws:
        IgniteCheckedException - If failed.
      • ioVersion

        public int ioVersion()
        Returns:
        IO Version.
      • ioType

        public int ioType()
        Returns:
        IO Type.
      • newPageId

        public long newPageId()
        Returns:
        New page ID.