@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.DispatcherGatewayServicepublic CompletableFuture<Void> onRemovedJobGraph(org.apache.flink.api.common.JobID jobId)
onRemovedJobGraph in interface AbstractDispatcherLeaderProcess.DispatcherGatewayServicepublic CompletableFuture<ApplicationStatus> getShutDownFuture()
getShutDownFuture in interface AbstractDispatcherLeaderProcess.DispatcherGatewayServicepublic CompletableFuture<Void> getTerminationFuture()
getTerminationFuture in interface AbstractDispatcherLeaderProcess.DispatcherGatewayServicepublic CompletableFuture<Void> closeAsync()
closeAsync in interface org.apache.flink.util.AutoCloseableAsyncpublic static DefaultDispatcherGatewayService from(Dispatcher dispatcher)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.