The memory add-on allows to store and retrieve values to respectively from the memory.

Memory Scope

By default, the memory is in scope of the service composite (server process), but it is also possible to store values in a request session context. Basically, the memory adapter is a thread-safe hash list allowing to

Storing Data to Memory

To store data to memory, provide the Memory adapter with the following:

Figure: Storing a Data to memory

Retrieving Data From Memory

To retrieve data that has been stored to memory, provide the Memory adapter with the following:

Figure: Retrieving Data from Memory

If no data with the given key can be found, the Memory adapter throws an error.

Removing Stored Data

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

Figure: Removing Data from Memory

If no data with the given key can be found, the Memory adapter throws an error.

Clearing the Memory

To clear the complete used memory, provide the Memory adapter with the following:

  • the Memory Adapter action clear

Figure: Clearing the Memory