Class DispatcherResourceManagerComponent

    • Method Detail

      • stopApplication

        public CompletableFuture<Void> stopApplication​(ApplicationStatus applicationStatus,
                                                       @Nullable
                                                       String diagnostics)
        Deregister the Flink application from the resource management system by signalling the ResourceManager and also stop the process.
        Parameters:
        applicationStatus - to terminate the application with
        diagnostics - additional information about the shut down, can be null
        Returns:
        Future which is completed once the shut down
      • stopProcess

        public CompletableFuture<Void> stopProcess()
        Close the web monitor and cluster components. This method will not deregister the Flink application from the resource management and only stop the process.
        Returns:
        Future which is completed once the shut down
      • closeAsync

        public CompletableFuture<Void> closeAsync()
        Specified by:
        closeAsync in interface org.apache.flink.util.AutoCloseableAsync
      • getRestPort

        public int getRestPort()