public interface JobMasterServiceProcess
extends org.apache.flink.util.AutoCloseableAsync
JobMasterService.| Modifier and Type | Interface and Description |
|---|---|
static class |
JobMasterServiceProcess.WaitingForLeadership |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<JobMasterGateway> |
getJobMasterGatewayFuture()
Future which is completed with the
JobMasterGateway once the JobMasterService
has been created. |
CompletableFuture<String> |
getLeaderAddressFuture()
Future which is completed with the
JobMasterService address once it is created. |
UUID |
getLeaderSessionId()
The leader session id of this process.
|
CompletableFuture<JobManagerRunnerResult> |
getResultFuture()
Future which is completed with the result of job execution.
|
boolean |
isInitializedAndRunning()
True iff the
JobMasterService has been initialized and is running. |
static JobMasterServiceProcess |
waitingForLeadership() |
static JobMasterServiceProcess waitingForLeadership()
UUID getLeaderSessionId()
boolean isInitializedAndRunning()
JobMasterService has been initialized and is running.CompletableFuture<JobMasterGateway> getJobMasterGatewayFuture()
JobMasterGateway once the JobMasterService
has been created. Upon closing of the process, this future is completed exceptionally if it
is still uncompleted.CompletableFuture<JobManagerRunnerResult> getResultFuture()
JobManagerRunnerResult, JobNotFinishedException if the job was not finished
or an Throwable if an unexpected failure occurs. Upon closing of the process, this
future is completed exceptionally with JobNotFinishedException.CompletableFuture<String> getLeaderAddressFuture()
JobMasterService address once it is created.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.