class MetaPageUpdatePartitionDataRecordV3 extends MetaPageUpdatePartitionDataRecordV2 {
    /** Index of the last reencrypted page. */
    private int encryptedPageIdx;

    /** Total pages to be reencrypted. */
    private int encryptedPageCnt;

    /**
     * @param grpId Group id.
     * @param pageId Page id.
     * @param updateCntr Update counter.
     * @param globalRmvId Global remove id.
     * @param partSize Partition size.
     * @param cntrsPageId Cntrs page id.
     * @param state State.
     * @param allocatedIdxCandidate Allocated index candidate.
     * @param link Link.
     * @param encryptedPageIdx Index of the last reencrypted page.
     * @param encryptedPageCnt Total pages to be reencrypted.
     */
    public MetaPageUpdatePartitionDataRecordV3(
        int grpId,
        long pageId,
        long updateCntr,
        long globalRmvId,
        int partSize,
        long cntrsPageId,
        byte state,
        int allocatedIdxCandidate,
        long link,
        int encryptedPageIdx,
        int encryptedPageCnt) {
        super(grpId, pageId, updateCntr, globalRmvId, partSize, cntrsPageId, state, allocatedIdxCandidate, link);

        this.encryptedPageIdx = encryptedPageIdx;
        this.encryptedPageCnt = encryptedPageCnt;
    }

    /**
     * @param in Input.
     */
    public MetaPageUpdatePartitionDataRecordV3(DataInput in) throws IOException {
        super(in);

        encryptedPageIdx = in.readInt();
        encryptedPageCnt = in.readInt();
    }

    /** {@inheritDoc} */
    @Override public void applyDelta(PageMemory pageMem, long pageAddr) throws IgniteCheckedException {<FILL_FUNCTION_BODY>}

    /**
     * @return Index of the last reencrypted page.
     */
    public int encryptedPageIndex() {
        return encryptedPageIdx;
    }

    /**
     * @return Total pages to be reencrypted.
     */
    public int encryptedPageCount() {
        return encryptedPageCnt;
    }

    /** {@inheritDoc} */
    @Override public void toBytes(ByteBuffer buf) {
        super.toBytes(buf);

        buf.putInt(encryptedPageIndex());
        buf.putInt(encryptedPageCount());
    }

    /** {@inheritDoc} */
    @Override public RecordType type() {
        return RecordType.PARTITION_META_PAGE_DELTA_RECORD_V3;
    }

    /** {@inheritDoc} */
    @Override public String toString() {
        return S.toString(MetaPageUpdatePartitionDataRecordV3.class, this, "partId",
            PageIdUtils.partId(pageId()), "super", super.toString());
    }
}

        super.applyDelta(pageMem, pageAddr);

        PagePartitionMetaIOV3 io = (PagePartitionMetaIOV3)PagePartitionMetaIO.VERSIONS.forPage(pageAddr);

        io.setEncryptedPageIndex(pageAddr, encryptedPageIdx);
        io.setEncryptedPageCount(pageAddr, encryptedPageCnt);
    
<methods>public void <init>(int, long, long, long, int, long, byte, int, long) ,public void <init>(java.io.DataInput) throws java.io.IOException,public void applyDelta(org.apache.ignite.internal.pagemem.PageMemory, long) throws org.apache.ignite.IgniteCheckedException,public long link() ,public void toBytes(java.nio.ByteBuffer) ,public java.lang.String toString() ,public org.apache.ignite.internal.pagemem.wal.record.WALRecord.RecordType type() <variables>private long link