virtual qBool ApproveFaultRecovery();
None.
Value | Description |
---|---|
true |
Returned when migration is triggered. |
false |
Returned when migration is not triggered. |
Returns whether to use fault recovery for duplicated objects.
This virtual function is called by the system when a fault (such as power interruption) occurs, and it returns whether the duplicated objects continue to exist in the session. This function is called for all duplicated object instances (both duplication masters and duplicas), but all instances of the same class are required to return the same value.
The application can override this function and modify the behavior of each duplicated object class. By default, this system callback always returns false
(no migration).
This feature is only enabled for use against faults such as power interruption. To preserve duplicated objects in the event of a station leaving the session as part of a normal sequence, override not this function but the AttemptEmigration
function.
Note: This function is provided so that it can be called by the system. Do not call it from the application.
CONFIDENTIAL