Tzu-Li (Gordon) Tai created FLINK-19096: -------------------------------------------
Summary: Simplify PersistedStateRegistry state registration methods Key: FLINK-19096 URL: https://issues.apache.org/jira/browse/FLINK-19096 Project: Flink Issue Type: Task Components: Stateful Functions Reporter: Tzu-Li (Gordon) Tai Assignee: Tzu-Li (Gordon) Tai Fix For: statefun-2.2.0 Currently, to register for example a {{PersistedValue}} with a {{PersistedStateRegistry}}, you create it by doing {{registry.registerValue(name, type, expiration)}}. This leads to duplicate signatures with the state class constructors, and therefore requires separate synchronization across the methods. We should change the syntax to accept a {{PersistedValue}} object directly, to simplify things. -- This message was sent by Atlassian Jira (v8.3.4#803005)