[
https://issues.apache.org/jira/browse/FLINK-3360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15142813#comment-15142813
]
Stephan Ewen commented on FLINK-3360:
-------------------------------------
I think the {{AbstractStateBackend}} should actually implement {{StateBackend}}.
Then we have something similar as for example the Java Collection Library:
- {{List}} is the basic interface
- {{AbstractList}} has all the shared methods (like "contains()" or"
toArray()")
- {{ArrayList}} is the specific implementation
> 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)