xflminterface IF_DbRebuildStatus : public XF_RefCount


This class represents the database rebuild status interface. It extends XF_RefCount. XFLAIM does not provide an implementation of this interface.  It must be implemented by an application.  It allows an application to receive progress reports during a call to IF_DbSystem::dbRebuild.  The dbRebuild method calls methods on the IF_DbRebuildStatus object to report how much has been done and how much remains.  What the application does with this information is entirely up to the client.  (Some obvious examples would be to display the information on the screen, or email the administrator when the rebuild completes.)


Method Summary

RCODE  reportRebuild - Passes information about how far the rebuild has progressed and any problems that have been found so far.
RCODE

 reportRebuildErr - Passes information about a specific problem that has been found by the rebuild.

 

Method Detail

reportRebuild

    RCODE reportRebuild(

        XFLM_REBUILD_INFO *    pRebuild);

Passes information to the client about how far the rebuild has progressed and any problems that have been found so far.  Called on a regular basis while a rebuild is running.

    Parameters In: 

XFLM_REBUILD_INFO *    pRebuild

 

    Parameters Out: none

[Back to Top]


reportRebuildErr

    RCODE reportRebuildErr(

        XFLM_CORRUPT_INFO *    pCorruptInfo);

Passes information to the client about a specific problem that has been found by the rebuild.  Called only when a problem is found by the rebuild code.

    Parameters In:

XFLM_CORRUPT_INFO *    pCorruptInfo

 

    Parameters Out:  none

[Back to Top]