@Internal public class DefaultDispatcherGatewayService extends Object implements AbstractDispatcherLeaderProcess.DispatcherGatewayService
Dispatcher
that exposes specific functionality.Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
closeAsync()
Trigger the closing of the resource and return the corresponding close future.
|
static DefaultDispatcherGatewayService |
from(Dispatcher dispatcher) |
DispatcherGateway |
getGateway() |
CompletableFuture<ApplicationStatus> |
getShutDownFuture() |
CompletableFuture<Void> |
getTerminationFuture() |
CompletableFuture<Void> |
onRemovedJobGraph(JobID jobId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public DispatcherGateway getGateway()
getGateway
in interface AbstractDispatcherLeaderProcess.DispatcherGatewayService
public CompletableFuture<Void> onRemovedJobGraph(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()
AutoCloseableAsync
closeAsync
in interface AutoCloseableAsync
public static DefaultDispatcherGatewayService from(Dispatcher dispatcher)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.