Jon Kessler created NIFI-4992:
---------------------------------

             Summary: RedisStateManager/RedisStateProvider: Add get/set with 
key method
                 Key: NIFI-4992
                 URL: https://issues.apache.org/jira/browse/NIFI-4992
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
    Affects Versions: 1.5.0
            Reporter: Jon Kessler


So that you don't have to serialize/deserialize a map with each getState and 
setState, provide methods to allow a key to be provided as well. Make use of 
redis's concept of keyspace rather than storing the entire map with each 
operation. The existing getState and setState methods would still appear to 
work the same way they previously did but would also need to be updated to be 
consistent with the new methods.

This would also require updates to the StateManager and StateProvider 
interfaces as well as all of their implementations or perhaps an extension that 
Redis* could then extend.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to