[ https://issues.apache.org/jira/browse/FLINK-19096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tzu-Li (Gordon) Tai closed FLINK-19096. --------------------------------------- Resolution: Fixed flink-statefun/master: dd095c8236f7e0a0b8548ea3dc6b40b5728210d8 > 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 > Priority: Major > Labels: pull-request-available > 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)