flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] flink pull request #2360: [FLINK-4384] [rpc] Add "scheduleRunAsync()" to the...
Date Fri, 12 Aug 2016 09:17:37 GMT
Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2360#discussion_r74562511
  
    --- 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 --
    
    We could, but then let's have either or. Else it would get too blown up in my opinion.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message