public class DispatcherResourceManagerComponent extends Object implements AutoCloseableAsync
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
closeAsync()
Trigger the closing of the resource and return the corresponding close future.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
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 null
public CompletableFuture<Void> stopProcess()
public CompletableFuture<Void> closeAsync()
AutoCloseableAsync
closeAsync
in interface AutoCloseableAsync
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.