Skip to content

MemoryStore

This docs was updated at: 2026-02-23

com.paragon.responses.tools.memory.MemoryStore  ยท  Interface


Interface for memory storage operations.

Methods

store

String store(@NonNull String key, @NonNull String value)

Stores a value associated with a key.

Parameters

Name Description
key The key to store
value The value to store

Returns

A message indicating the result of the operation


retrieve

String retrieve(@NonNull String key)

Retrieves a value associated with a key.

Parameters

Name Description
key The key to retrieve

Returns

The value, or null if not found


delete

String delete(@NonNull String key)

Deletes a value associated with a key.

Parameters

Name Description
key The key to delete

Returns

A message indicating the result of the operation