You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/31 08:12:00 UTC
[jira] [Updated] (FLINK-19096) Simplify PersistedStateRegistry
state registration methods
[ https://issues.apache.org/jira/browse/FLINK-19096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-19096:
-----------------------------------
Labels: pull-request-available (was: )
> 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)