company logo

Database :: recoveryType - Recovery type

The recovery type defines whether recovery is enabled or not and which recovery strategy is used. When recovery is disabled, the recovery type is set to NoneRecovery.

// check recovery before getting path

  if ( recoveryType() != NoneRecovery )  

    output(recoveryPath());

Return value:  Type of recovery support ( odaba::RecoveryTypes  )

Implementation details

odaba::RecoveryTypes Database  :: recoveryType (  )