Interface JobMasterService
- All Superinterfaces:
AutoCloseable,org.apache.flink.util.AutoCloseableAsync
- All Known Implementing Classes:
JobMaster
public interface JobMasterService
extends org.apache.flink.util.AutoCloseableAsync
Interface which specifies the JobMaster service.
-
Method Summary
Modifier and TypeMethodDescriptionGet the address of the JobMaster service under which it is reachable.Get theJobMasterGatewaybelonging to this service.Get the termination future of this job master service.Methods inherited from interface org.apache.flink.util.AutoCloseableAsync
close, closeAsync
-
Method Details
-
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
-