|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for Recovery manager plug-in module. RecoveryModules are registered via the properties mechanisms. The periodicWorkFirstPass of each module is called, then RecoveryManager waits for the time interval RECOVERY_BACKOFF_PERIOD (seconds), then the periodicWorkSecondPass of each module are called. The RecoveryManager then waits for period PERIODIC_RECOVERY_PERIOD (seconds) before starting the first pass again The backoff period between the first and second pass is intended to allow transactions that were in-flight during the first pass to be completed normally, without requiring the status of each one to be checked. The recovery period will typically be appreciably longer.
Method Summary | |
void |
periodicWorkFirstPass()
Called by the RecoveryManager at start up, and then PERIODIC_RECOVERY_PERIOD seconds after the completion, for all RecoveryModules, of the second pass |
void |
periodicWorkSecondPass()
Called by the RecoveryManager RECOVERY_BACKOFF_PERIOD seconds after the completion of the first pass |
Method Detail |
public void periodicWorkFirstPass()
public void periodicWorkSecondPass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |