public class DispatcherResourceManagerComponent extends Object implements org.apache.flink.util.AutoCloseableAsync
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
closeAsync() |
CompletableFuture<Void> |
deregisterApplicationAndClose(ApplicationStatus applicationStatus,
String diagnostics)
Deregister the Flink application from the resource management system by signalling
the
ResourceManager. |
CompletableFuture<ApplicationStatus> |
getShutDownFuture() |
public final CompletableFuture<ApplicationStatus> getShutDownFuture()
public CompletableFuture<Void> deregisterApplicationAndClose(ApplicationStatus applicationStatus, @Nullable String diagnostics)
ResourceManager.applicationStatus - to terminate the application withdiagnostics - additional information about the shut down, can be nullpublic CompletableFuture<Void> closeAsync()
closeAsync in interface org.apache.flink.util.AutoCloseableAsyncCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.