mco_rollback_buf_info

Obtain current usage statistics for rollback buffer

Prototype

 


    typedef struct mco_rollback_buf_info_t_ {
        uint4 n_pages;      // - total number of pages copied to the buffer
        uint4 n_free_pages; // - number of copied free pages
    } mco_rollback_buf_info_t;

    MCO_RET mco_rollback_buf_info(mco_trans_h t, mco_rollback_buf_info_t *rb_info);

 
 

Arguments

t Transaction handle
rb_info Address of the output statistics structure

Description

Obtains usage statistics (total number of pages copied to the buffer and number of copied free pages) for a real-time transaction

Return Codes

MCO_S_OK Statistics obtained successfully
MCO_E_INTERRUPTED Transaction was interrupted by timer, callback or another transaction