Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WBRIDGE and version 7.4.1

...

The figure above illustrates how to store map customerMap (containing some customer data) to memory. The map is stored using key "customerMap".
If a map with the given key already exists in memory, it will be overwritten by the Memory Adapter.

Retrieving Data from the Map

...

If there is no map element with the given key, the Memory adapter throws an error.

Related Error Codes

Find a list of all persistent state error codes on System Errors of the Memory Adapter.

Error CodeDescription
MEMASDM/9The message is not stored here.

Adding or Changing Data in the Map

...

A has map containing some customer data has been stored to memory using the key "customerMap" (see Storing a Map to Memory further above). Individual map elements from this map can be accessed via their key customerID.
If there is no map element with the given key, the Memory adapter throws an error.

Related Error Codes

Find a list of all persistent state error codes on System Errors of the Memory Adapter.

Error CodeDescription
MEMASDM/12The message is not stored here.

Removing the Whole Map

To remove the whole map from memory, provide the Memory adapter with the following:

...

The example above shows how the map that has been stored under key "customerMap" can be removed.
If there is no map with the given key, the Memory adapter throws an error(MEMASDM/12, see also the list of system errors).

Clearing the Memory

Multiexcerpt include
MultiExcerptNameclear_memory
PageWithExcerptMemory Adapter