[jira] [Created] (FLINK-3360) Clear up StateBackend, AbstractStateBackend abstractions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-3360) Clear up StateBackend, AbstractStateBackend abstractions

Shang Yuanchun (Jira)
Gyula Fora created FLINK-3360:
---------------------------------

             Summary: Clear up StateBackend, AbstractStateBackend abstractions
                 Key: FLINK-3360
                 URL: https://issues.apache.org/jira/browse/FLINK-3360
             Project: Flink
          Issue Type: Improvement
          Components: Streaming
            Reporter: Gyula Fora
            Priority: Minor


Currently there is a StateBackend interface and an AbstractStateBackend class which are not very closely related to each other. I think this should be cleared up before the 1.0 release a little bit.

The KvState for instance requires an AbstractStateBackend which does not implement the StateBackend. On the other hand the StateDescriptors bind to StateBackends

I think we could get rid of the StateBackend interface and rename the AbstractStateBackend -> StateBackend. We only need to modify the bind method of the descriptors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)