Interface JobMasterService
-
- All Superinterfaces:
AutoCloseable,org.apache.flink.util.AutoCloseableAsync
- All Known Implementing Classes:
JobMaster
public interface JobMasterService extends org.apache.flink.util.AutoCloseableAsyncInterface which specifies the JobMaster service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAddress()Get the address of the JobMaster service under which it is reachable.JobMasterGatewaygetGateway()Get theJobMasterGatewaybelonging to this service.CompletableFuture<Void>getTerminationFuture()Get the termination future of this job master service.
-
-
-
Method Detail
-
getGateway
JobMasterGateway getGateway()
Get theJobMasterGatewaybelonging to this service.- Returns:
- JobMasterGateway belonging to this service
-
getAddress
String getAddress()
Get the address of the JobMaster service under which it is reachable.- Returns:
- Address of the JobMaster service
-
getTerminationFuture
CompletableFuture<Void> getTerminationFuture()
Get the termination future of this job master service.- Returns:
- future which is completed once the JobMasterService completes termination
-
-