@PublicEvolving public class WebSubmissionJobClient extends Object implements org.apache.flink.core.execution.JobClient
JobClient that only allows asking for the job id of the job it is attached to.
This is used in web submission, where we do not want the Web UI to have jobs blocking threads while waiting for their completion.
| 构造器和说明 |
|---|
WebSubmissionJobClient(org.apache.flink.api.common.JobID jobId) |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<Void> |
cancel() |
CompletableFuture<Map<String,Object>> |
getAccumulators(ClassLoader classLoader) |
CompletableFuture<org.apache.flink.api.common.JobExecutionResult> |
getJobExecutionResult(ClassLoader userClassloader) |
org.apache.flink.api.common.JobID |
getJobID() |
CompletableFuture<org.apache.flink.api.common.JobStatus> |
getJobStatus() |
CompletableFuture<String> |
stopWithSavepoint(boolean advanceToEndOfEventTime,
String savepointDirectory) |
CompletableFuture<String> |
triggerSavepoint(String savepointDirectory) |
public WebSubmissionJobClient(org.apache.flink.api.common.JobID jobId)
public org.apache.flink.api.common.JobID getJobID()
getJobID 在接口中 org.apache.flink.core.execution.JobClientpublic CompletableFuture<org.apache.flink.api.common.JobStatus> getJobStatus()
getJobStatus 在接口中 org.apache.flink.core.execution.JobClientpublic CompletableFuture<Void> cancel()
cancel 在接口中 org.apache.flink.core.execution.JobClientpublic CompletableFuture<String> stopWithSavepoint(boolean advanceToEndOfEventTime, @Nullable String savepointDirectory)
stopWithSavepoint 在接口中 org.apache.flink.core.execution.JobClientpublic CompletableFuture<String> triggerSavepoint(@Nullable String savepointDirectory)
triggerSavepoint 在接口中 org.apache.flink.core.execution.JobClientpublic CompletableFuture<Map<String,Object>> getAccumulators(ClassLoader classLoader)
getAccumulators 在接口中 org.apache.flink.core.execution.JobClientpublic CompletableFuture<org.apache.flink.api.common.JobExecutionResult> getJobExecutionResult(ClassLoader userClassloader)
getJobExecutionResult 在接口中 org.apache.flink.core.execution.JobClientCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.