Versions Compared

Key

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

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:

NameTypeDirectionDescription
keyStringinProvide 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).

NameTypeDirectionDescription
oldValueAnyoutReturns 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

MEMADSM/12

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.

Panel
titleOn this Page:
Table of Contents
OtpFloatingfalse

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameMemoryAdapter_GuessingGame_Example
PageWithExcerptINTERNAL:_designer_examples
shouldDisplayInlineCommentsInIncludesfalse

rp
Panel
titleRelated Pages: