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:
Records with fields:
Storage Key
: StorageKeyV1
The key that that identifies the piece of data in the KV-store.
Storage Value
: StorageValueV1
The corresponding value that needs to be added to the KV-store.
Triggers
Records with fields:
Storage Key
: StorageKeyV1
The key that that identifies the piece of data in the KV-store.
Success Operation
: SuccessOperationV1
The success of the operation, indicating that the KV-pair was stored successfully or not.
Behavior¶
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]