NicoK commented on a change in pull request #6698: [FLINK-8581][network] Move 
flushing remote subpartitions from OutputFlusher to netty
URL: https://github.com/apache/flink/pull/6698#discussion_r222015562
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/BufferAvailabilityListener.java
 ##########
 @@ -24,8 +24,14 @@
  */
 public interface BufferAvailabilityListener {
 
+       default boolean isLocal() {
+               return false;
+       }
+
        /**
         * Called whenever there might be new data available.
         */
        void notifyDataAvailable();
+
+       void registerPeriodicFlush(long flushTimeout);
 
 Review comment:
   somehow the interface's name does not really match the extensions 
anymore...maybe you have a better idea?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to