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 theDispatcher
that exposes specific functionality.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Void>
closeAsync()
static DefaultDispatcherGatewayService
from(Dispatcher dispatcher)
DispatcherGateway
getGateway()
CompletableFuture<ApplicationStatus>
getShutDownFuture()
CompletableFuture<Void>
getTerminationFuture()
CompletableFuture<Void>
onRemovedExecutionPlan(org.apache.flink.api.common.JobID jobId)
-
-
-
Method Detail
-
getGateway
public DispatcherGateway getGateway()
- Specified by:
getGateway
in interfaceAbstractDispatcherLeaderProcess.DispatcherGatewayService
-
onRemovedExecutionPlan
public CompletableFuture<Void> onRemovedExecutionPlan(org.apache.flink.api.common.JobID jobId)
- Specified by:
onRemovedExecutionPlan
in interfaceAbstractDispatcherLeaderProcess.DispatcherGatewayService
-
getShutDownFuture
public CompletableFuture<ApplicationStatus> getShutDownFuture()
- Specified by:
getShutDownFuture
in interfaceAbstractDispatcherLeaderProcess.DispatcherGatewayService
-
getTerminationFuture
public CompletableFuture<Void> getTerminationFuture()
- Specified by:
getTerminationFuture
in interfaceAbstractDispatcherLeaderProcess.DispatcherGatewayService
-
closeAsync
public CompletableFuture<Void> closeAsync()
- Specified by:
closeAsync
in interfaceorg.apache.flink.util.AutoCloseableAsync
-
from
public static DefaultDispatcherGatewayService from(Dispatcher dispatcher)
-
-