public interface JobManagerRunner extends AutoCloseableAsync
JobMaster
.Modifier and Type | Method and Description |
---|---|
JobID |
getJobID()
Get the job id of the executed job.
|
CompletableFuture<JobMasterGateway> |
getJobMasterGateway()
Get the
JobMasterGateway of the JobMaster . |
CompletableFuture<ArchivedExecutionGraph> |
getResultFuture()
Get the result future of this runner.
|
void |
start()
Start the execution of the
JobMaster . |
close, closeAsync
void start() throws Exception
JobMaster
.Exception
- if the JobMaster cannot be startedCompletableFuture<JobMasterGateway> getJobMasterGateway()
JobMasterGateway
of the JobMaster
. The future is only completed if
the JobMaster becomes leader.CompletableFuture<ArchivedExecutionGraph> getResultFuture()
JobID getJobID()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.