Github user aljoscha commented on the issue:

    https://github.com/apache/flink/pull/2768
  
    In fact, my original suggestion was to add a new interface `ReadableState`:
    ```
    interface ReadableState<T> {
      T get();
    }
    ```
    
    and leave all the existing interfaces as they are. That way we would have 
the least amount of changes in existing code and still have a common interface 
for state that can be read. (Note that `ReadableState` does not extends `State` 
on purpose, because of `State.clear()`.)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to