You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gyula Fora (JIRA)" <ji...@apache.org> on 2018/09/21 09:42:00 UTC

[jira] [Created] (FLINK-10387) StateBackend create methods should return interface not abstract KeyedStateBackend classes

Gyula Fora created FLINK-10387:
----------------------------------

             Summary: StateBackend create methods should return interface not abstract KeyedStateBackend classes
                 Key: FLINK-10387
                 URL: https://issues.apache.org/jira/browse/FLINK-10387
             Project: Flink
          Issue Type: Improvement
          Components: State Backends, Checkpointing
    Affects Versions: 1.6.0
            Reporter: Gyula Fora


Currently the createKeyedStateBackend(...) methods return AbstractKeyedStateBackend instead of an interface.

This makes it virtually impossible to write nice extensions to StateBackends that add additional functionality to existing backends while delegating other method calls.

It should be easy enough to add a new interface that extends everything that the AbstractKeyedStateBackend does and the method should return that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)