Page History
Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Using the Memory adapter, you can remove data elements from memory that have been stored to a dedicated key, or you can wipe the complete memory used by the service.
Multiexcerpt include | ||||||||
---|---|---|---|---|---|---|---|---|
|
Removing Stored Data
Using the remove operation from the Memory adapter, you can remove data elements from memory that have been stored to a dedicated key. Provide the following parameters:
Name | Type | Direction | Description |
---|---|---|---|
key | String | in | Provide the key of the value that has been stored to memory with store. If no value with this key can be found, the Memory adapter throws error MEMADSM/12 . |
Parameter oldValue returns the value that has been removed. If no data with the given key can be found, the Memory adapter throws an error (MEMADSM/12
, see also the list of system errors).
Name | Type | Direction | Description |
---|---|---|---|
oldValue | Any | out | Returns the value of the memory item that has been removed. In case value contains a hash map, oldValue returns the complete previously stored hash map. |
Related Error Codes
Find a list of all persistent state error codes on System Errors of the Memory Adapter.
Error Code | Description |
---|---|
| The message is not stored here. |
Clearing the Memory
Using the clear operation from the Memory adapter, you can you can wipe the complete memory used by the service. This operation has no parameters.