public class DispatcherResourceManagerComponent extends Object implements org.apache.flink.util.AutoCloseableAsync
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
closeAsync() |
int |
getRestPort() |
CompletableFuture<ApplicationStatus> |
getShutDownFuture() |
CompletableFuture<Void> |
stopApplication(ApplicationStatus applicationStatus,
String diagnostics)
Deregister the Flink application from the resource management system by signalling the
ResourceManager and also stop the process. |
CompletableFuture<Void> |
stopProcess()
Close the web monitor and cluster components.
|
public final CompletableFuture<ApplicationStatus> getShutDownFuture()
public CompletableFuture<Void> stopApplication(ApplicationStatus applicationStatus, @Nullable String diagnostics)
ResourceManager and also stop the process.applicationStatus - to terminate the application withdiagnostics - additional information about the shut down, can be nullpublic CompletableFuture<Void> stopProcess()
public CompletableFuture<Void> closeAsync()
closeAsync in interface org.apache.flink.util.AutoCloseableAsyncpublic int getRestPort()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.