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

    https://github.com/apache/flink/pull/2732#discussion_r89137049
  
    --- Diff: 
flink-java/src/main/java/org/apache/flink/api/java/ExecutionEnvironment.java ---
    @@ -911,6 +912,24 @@ public JobExecutionResult execute() throws Exception {
        public abstract JobExecutionResult execute(String jobName) throws 
Exception;
     
        /**
    +    * Triggers the program execution, just like {@code execute()} but does 
not block.
    +    * Instead, it returns a JobClient which can be used to interact with 
the running job.
    +    * @return A JobClient for job interaction.
    +    * @throws Exception Thrown if the program submission fails.
    +    */
    +   public JobClient executeWithControl() throws Exception {
    +           return executeWithControl(getDefaultName());
    +   }
    +
    +   /**
    +    * Triggers the program execution, just like {@code execute(String 
jobName)} but does not block.
    +    * Instead, it returns a JobClient which can be used to interact with 
the running job.
    +    * @return A JobClient for job interaction.
    +    * @throws Exception Thrown if the program submission fails.
    +    */
    +   public abstract JobClient executeWithControl(String jobName) throws 
Exception;
    --- End diff --
    
    Maybe `executeWithClient`?


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