@Internal public class DefaultDispatcherGatewayService extends Object implements AbstractDispatcherLeaderProcess.DispatcherGatewayService
Dispatcher
that exposes specific functionality.Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
closeAsync() |
static DefaultDispatcherGatewayService |
from(Dispatcher dispatcher) |
DispatcherGateway |
getGateway() |
CompletableFuture<ApplicationStatus> |
getShutDownFuture() |
CompletableFuture<Void> |
getTerminationFuture() |
CompletableFuture<Void> |
onRemovedJobGraph(org.apache.flink.api.common.JobID jobId) |
public DispatcherGateway getGateway()
getGateway
in interface AbstractDispatcherLeaderProcess.DispatcherGatewayService
public CompletableFuture<Void> onRemovedJobGraph(org.apache.flink.api.common.JobID jobId)
onRemovedJobGraph
in interface AbstractDispatcherLeaderProcess.DispatcherGatewayService
public CompletableFuture<ApplicationStatus> getShutDownFuture()
getShutDownFuture
in interface AbstractDispatcherLeaderProcess.DispatcherGatewayService
public CompletableFuture<Void> getTerminationFuture()
getTerminationFuture
in interface AbstractDispatcherLeaderProcess.DispatcherGatewayService
public CompletableFuture<Void> closeAsync()
closeAsync
in interface org.apache.flink.util.AutoCloseableAsync
public static DefaultDispatcherGatewayService from(Dispatcher dispatcher)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.