Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.0, 1.3.0
-
None
Description
AtomicDistributedMapCacheClient interface defines fetch and replace method to atomically replace cache value. To do so, it currently uses a long revision value. This can be a limitation when other implementation is written against a cache engine that doesn't have revision concept.
This JIRA proposes to refactor that interface by using generics to specify what type of revision is used by an implementation class.
If the underlying cache engine doesn't have revision concept, the revision field can be used to store current cached value, and to check if the key is not updated at 'replace' method.
Attachments
Issue Links
- is required by
-
NIFI-4043 Implement a DistributedMapCacheClient backed by Redis
- Resolved
- links to