azagrebin commented on a change in pull request #6777: [FLINK-10461] [State 
Backends, Checkpointing] Speed up download files when restore from DFS
URL: https://github.com/apache/flink/pull/6777#discussion_r241435617
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/concurrent/Executors.java
 ##########
 @@ -59,6 +71,219 @@ public void execute(@Nonnull Runnable command) {
                }
        }
 
+       public static ExecutorService directExecutorService() {
+               return DirectExecutorService.INSTANCE;
+       }
+
+       /**
+        * Direct executor service implementation.
+        */
+       private static class DirectExecutorService implements ExecutorService {
 
 Review comment:
   Let's move to separate class file. The class can be package private.

----------------------------------------------------------------
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