![]() |
OTX Reference
|
|
Persistent storage and restore values at runtime More...
Namespaces | |
| namespace | Actions |
| Lists all ActionRealisation extensions. | |
| namespace | Exceptions |
| Error handling. | |
Classes | |
| class | CheckerRule |
| Comprehensive checker rule listing, see also Core checker rules. More... | |
Persistent storage and restore values at runtime
The OTX Persistence extension is used to store and retrieve runtime information for example information about ECU variants. ‘Persistent’ means that the value can be stored in non-volatile storage (for example a hard drive) and can be retrieved in a different process from the one that created it.
The OTX Persistence extension is used for sessions of the same runtime system and not for exchange between different runtimes. The save and load activities can only be performed by the same OTX runtime system.
Each variable can store and recover its own value. The runtime system guarantees the data consistency and is responsible for storing this value. It is also responsible for ensuring that a variable can only be restored with a value previously stored of the same identical variable. To be identical the variable has to be the same data type, package name, document name, procedure name (if applicable) and variable name.
The OTX Persistence extension does not provide a mechanism to delete persisted data - it is the responsibility of the runtime system to provide a mechanism (for example by a user action or a timed expiry).