Class DefaultDispatcherGatewayService
- java.lang.Object
-
- org.apache.flink.runtime.dispatcher.runner.DefaultDispatcherGatewayService
-
- All Implemented Interfaces:
AutoCloseable,AbstractDispatcherLeaderProcess.DispatcherGatewayService,org.apache.flink.util.AutoCloseableAsync
@Internal public class DefaultDispatcherGatewayService extends Object implements AbstractDispatcherLeaderProcess.DispatcherGatewayService
A facade over theDispatcherthat exposes specific functionality.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Void>closeAsync()static DefaultDispatcherGatewayServicefrom(Dispatcher dispatcher)DispatcherGatewaygetGateway()CompletableFuture<ApplicationStatus>getShutDownFuture()CompletableFuture<Void>getTerminationFuture()CompletableFuture<Void>onRemovedExecutionPlan(org.apache.flink.api.common.JobID jobId)
-
-
-
Method Detail
-
getGateway
public DispatcherGateway getGateway()
- Specified by:
getGatewayin interfaceAbstractDispatcherLeaderProcess.DispatcherGatewayService
-
onRemovedExecutionPlan
public CompletableFuture<Void> onRemovedExecutionPlan(org.apache.flink.api.common.JobID jobId)
- Specified by:
onRemovedExecutionPlanin interfaceAbstractDispatcherLeaderProcess.DispatcherGatewayService
-
getShutDownFuture
public CompletableFuture<ApplicationStatus> getShutDownFuture()
- Specified by:
getShutDownFuturein interfaceAbstractDispatcherLeaderProcess.DispatcherGatewayService
-
getTerminationFuture
public CompletableFuture<Void> getTerminationFuture()
- Specified by:
getTerminationFuturein interfaceAbstractDispatcherLeaderProcess.DispatcherGatewayService
-
closeAsync
public CompletableFuture<Void> closeAsync()
- Specified by:
closeAsyncin interfaceorg.apache.flink.util.AutoCloseableAsync
-
from
public static DefaultDispatcherGatewayService from(Dispatcher dispatcher)
-
-