A persistent store for idempotency entries.
Implementors must guarantee:
setIfAbsent
get
Atomically set value for key only if absent. Returns true if this call created the entry.
value
key
Unconditionally overwrite value for key.
Read the entry for key. Returns null if missing or expired.
Delete the entry for key. No-op if missing.
A persistent store for idempotency entries.
Implementors must guarantee:
setIfAbsentis atomic — concurrent calls with the same key do not both succeed.getreturns null for expired or non-existent keys.