|
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 | ||||||||||
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--RtjAocsFramework.FailureRecovery.RecoveryStrategy
|
+--RtjAocsFramework.FailureRecovery.LocalRecoveryActions
This recovery strategy retrieves from the event repository the failure events generated since the last call to doRecovery() and performs the recovery actions associated to each event. Copyright: see the Copyright Notice.
| Field Summary |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
LocalRecoveryActions()
|
|
| Method Summary | |
void |
doRecovery()
Calling this method will cause the recovery strategy to be executed. |
int |
getTelemetryImageLength()
Return the length (in bits) of the telemetry image of the object. |
void |
localReset()
|
void |
reset()
Set the state of the recovery strategy to 'enabled'. |
void |
setFailureEventRepository(FailureEventRepository r)
This is an initialization method to load the failure event repository and to initialize the internal counter of failure events. |
void |
writeToTelemetry(TelemetryStream tmStream)
Direct the object to write its own state to the telemetry stream. |
| Methods inherited from class RtjAocsFramework.FailureRecovery.RecoveryStrategy |
addRecoveryListener, fireModeEvent, getFailureEventRepository, getNextRecoveryStrategy, isConfigured, isEnabled, removeRecoveryListener, resetConfiguration, setEnabled, setMaxNumberOfRecoveryListeners, setNextRecoveryStrategy |
| Methods inherited from class RtjAocsFramework.BasicObjects.RootObject |
getClassId, getInstanceId, setClassId |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LocalRecoveryActions()
| Method Detail |
public void localReset()
public void setFailureEventRepository(FailureEventRepository r)
setFailureEventRepository in class RecoveryStrategypublic void doRecovery()
RecoveryStrategy
doRecovery in class RecoveryStrategypublic void reset()
RecoveryStrategy
reset in interface Resettablereset in class RecoveryStrategypublic void writeToTelemetry(TelemetryStream tmStream)
Telemeterable
writeToTelemetry in interface TelemeterablewriteToTelemetry in class RecoveryStrategypublic int getTelemetryImageLength()
Telemeterable
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class RecoveryStrategy
|
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 | ||||||||||