Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2360#discussion_r74561951
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/MainThreadExecutor.java
 ---
    @@ -52,4 +52,13 @@
         * @return Future of the callable result
         */
        <V> Future<V> callAsync(Callable<V> callable, Timeout callTimeout);
    +
    +   /**
    +    * Execute the runnable in the main thread of the underlying RPC 
endpoint, with
    +    * a delay of the given number of milliseconds.
    +    *
    +    * @param runnable Runnable to be executed
    +    * @param delay    The delay after which the runnable will be executed
    +    */
    +   void scheduleRunAsync(Runnable runnable, long delay);
    --- End diff --
    
    Shall we also add a `scheduleRunAsync` method where we allow to pass a 
`TimeUnit` argument for convenience?


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