Class TrackingPageDeltaRecord

    • Constructor Detail

      • TrackingPageDeltaRecord

        public TrackingPageDeltaRecord​(int grpId,
                                       long pageId,
                                       long pageIdToMark,
                                       long nextSnapshotTag,
                                       long lastSuccessfulSnapshotTag)
        Parameters:
        grpId - Cache group id.
        pageId - Page id.
        nextSnapshotTag - Next snapshot tag.
        lastSuccessfulSnapshotTag - Last successful snapshot tag.
    • Method Detail

      • pageIdToMark

        public long pageIdToMark()
        Page Id which should be marked as changed
      • nextSnapshotTag

        public long nextSnapshotTag()
      • lastSuccessfulSnapshotTag

        public long lastSuccessfulSnapshotTag()
      • 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.