|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface characterizing the mode manager for the failure recovery manager.
The type of failure recovery strategy may depend on operational conditions. This dependency is modelled by endowing the failure recovery manager with operational mode. The mode manager is constructed in accordance with the mode management pattern as an interface and a concrete class. The failure detection mode manager must be able to supply to the failure recovery manager the failure recovery strategy. This class defines the abstract interface characterizing all failure recovery mode managers. Concrete failure recovery mode managers are defined by the mechanism that they use to decide which particular recovery strategy should be returned at any given point in time.
Change Record:
setRecoveryStrategy that is semantically identical to the
loadRecoveryStrategy method but has a signature that complies with the JavaBeans indexed
property naming pattern. Done by A. Pasetti on 23.03.03
ModeManager,
The Failure Detection Management Framelet Document.| Method Summary | |
RecoveryStrategy |
getRecoveryStrategy()
Method called by the failure recovery manager to retrieve the recovery strategy to be used in the current activation cycle. |
void |
loadRecoveryStrategy(int mode,
RecoveryStrategy r)
Method to configure the failure detection mode manager. |
void |
setRecoveryStrategy(int mode,
RecoveryStrategy r)
This method is identical to method loadRecoveryStrategy. |
| Method Detail |
public void loadRecoveryStrategy(int mode,
RecoveryStrategy r)
public void setRecoveryStrategy(int mode,
RecoveryStrategy r)
loadRecoveryStrategy.
public RecoveryStrategy getRecoveryStrategy()
|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||