|
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 reconfiguration managers.
A reconfiguration manager is the object responsible for controlling reconfigurations within a reconfiguration group. A reconfiguration group is a set of objects offering a redundant functionality.
Copyright: see the Copyright Notice.
| Method Summary | |
void |
addReconfigurationListener(ReconfigurationListener l)
Register a listener to reconfiguration events |
boolean |
canReconfigure()
Return true if a reconfiguration is possible |
void |
disableConfiguration(short n)
Disable the n-th configuration. |
void |
disableReconfiguration()
Disable all configurations |
void |
enableConfiguration(short n)
Enable the n-th configuration. |
void |
enableReconfiguration()
Enable all configurations. |
AocsObject |
getAocsObject()
Return the reconfiguration manager as an instance of type AocsObject. |
short |
getConfiguration()
Return current configuration. |
short |
getConfigurationRank(short n)
Return the rank of configuration n |
RecoveryAction |
getReconfigurationErrorRecoveryAction()
Getter method for the recovery action associated to a failed reconfiguration request |
int |
getReconfigurationOrder()
Return the reconfiguration order |
boolean |
isConfigurationHealthy(short n)
Return true if configuration n is healthy |
void |
markConfiguration(short n,
boolean mark)
Mark configuration n healthy (true) or unhealthy (false). |
void |
rankConfiguration(short n,
short r)
Set the rank of configuration n to r. |
void |
reconfigure()
Perform a reconfiguration, if one is possible. |
void |
removeReconfigurationListener(ReconfigurationListener l)
Unregister a listener to reconfiguration events |
void |
restoreConfiguration(ConfigurationState s)
Restore the internal configuration of the reconfiguration manager to the value stored in s. |
void |
saveConfiguration(ConfigurationState s)
Save the internal configuration of the reconfiguration manager in the parameter s. |
void |
setConfiguration(short n)
Force the current configuration to n. |
void |
setReconfigurationErrorRecoveryAction(RecoveryAction r)
Setter method for the recovery action associated to a failed reconfiguration request |
| Method Detail |
public AocsObject getAocsObject()
public short getConfiguration()
public void setConfiguration(short n)
public void markConfiguration(short n,
boolean mark)
public void rankConfiguration(short n,
short r)
public void enableConfiguration(short n)
public void disableConfiguration(short n)
public void enableReconfiguration()
public void disableReconfiguration()
public void reconfigure()
public boolean canReconfigure()
public boolean isConfigurationHealthy(short n)
public int getReconfigurationOrder()
public short getConfigurationRank(short n)
public void restoreConfiguration(ConfigurationState s)
In the framework, configuration state objects are stored in the System Manager.
ConfigurationState,
SystemManagerpublic void saveConfiguration(ConfigurationState s)
In the framework, configuration state objects are stored in the System Manager.
ConfigurationState,
SystemManagerpublic void setReconfigurationErrorRecoveryAction(RecoveryAction r)
public RecoveryAction getReconfigurationErrorRecoveryAction()
public void addReconfigurationListener(ReconfigurationListener l)
public void removeReconfigurationListener(ReconfigurationListener l)
|
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 | ||||||||||