StefanRRichter commented on a change in pull request #7188: [FLINK-10473][State 
TTL] TTL state incremental cleanup for heap backend
URL: https://github.com/apache/flink/pull/7188#discussion_r246428260
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/state/KeyedStateBackend.java
 ##########
 @@ -106,4 +106,23 @@
 
        @Override
        void dispose();
+
+       /** State backend will call {@link KeyChangeListener#keyChanged} when 
key context changes if supported. */
+       default void registerKeyChangeListener(KeyChangeListener<K> listener) {
 
 Review comment:
   Again, I would suggest not to use `default` methods

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to