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.
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.