Skip to content

SetValueKVStoreRequest

Purpose

Add a piece of data to the KV store by adding its key and the corresponding value. If the key already exists, override the value.

Type

Reception:

SetValueKVStoreRequestV1

Records with fields:

The key that that identifies the piece of data in the KV-store.

The corresponding value that needs to be added to the KV-store.

Triggers

SetValueKVStoreResponseV1

Records with fields:

The key that that identifies the piece of data in the KV-store.

The success of the operation, indicating that the KV-pair was stored successfully or not.

Behaviour

Adds a piece of data to the KV store by inserting its key and the corresponding value. If the key already exists, it overrides the value.

Message Flow

sequenceDiagram

%% --8<-- [start:sequence]
Any Local Engine ->>+ Local KV Storage Engine: SetValueKVStoreRequest
Local KV Storage Engine -->>- Any Local Engine: SetValueKVStoreResponse
%% --8<-- [end:sequence]
(Wiki) links on this page