GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/2531
[FLINK-4658] [rpc] Allow RpcService to execute Runnables and Callables in its executor The PR is based on #2530. The newly introduced methods are `void RpcService.execute(Runnable)` and `Future<T> RpcService.execute(Callable<T>)`. Both methods allow to run code in the `Executor` of the `RpcService`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink extendRpcService Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2531.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2531 ---- commit cc7cdd75d23f2d4d201c0458f4543be1bc7e09f0 Author: Till Rohrmann <trohrm...@apache.org> Date: 2016-09-21T15:26:21Z [FLINK-4656] [rpc] Port the existing code to Flink's own future abstraction commit 2af2ada199e9473f571b050bd2a2752e06236efb Author: Till Rohrmann <trohrm...@apache.org> Date: 2016-09-21T16:16:27Z [FLINK-4658] [rpc] Allow RpcService to execute Runnables and Callables in its executor ---- --- 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. ---