Real-Time Java AOCS Framework v1.0 API Specification

RtjAocsFramework.FailureRecovery
Interface FailureRecoveryModeManager

All Known Implementing Classes:
FollowerFailureRecoveryModeManager

public interface FailureRecoveryModeManager

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:

Copyright: see the Copyright Notice.

Version:
1.1
Author:
Alessandro Pasetti (University of Konstanz)
See Also:
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

loadRecoveryStrategy

public void loadRecoveryStrategy(int mode,
                                 RecoveryStrategy r)
Method to configure the failure detection mode manager. It associates the recovery strategy r to operational mode 'mode'.


setRecoveryStrategy

public void setRecoveryStrategy(int mode,
                                RecoveryStrategy r)
This method is identical to method loadRecoveryStrategy.


getRecoveryStrategy

public RecoveryStrategy getRecoveryStrategy()
Method called by the failure recovery manager to retrieve the recovery strategy to be used in the current activation cycle.


Real-Time Java AOCS Framework v1.0 API Specification

Real-Time Java AOCS Framework project home page

Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland