Class ResourceManagerUtils

java.lang.Object
org.apache.flink.runtime.util.ResourceManagerUtils

public class ResourceManagerUtils extends Object
Common utils for ResourceManager.
  • Constructor Details

    • ResourceManagerUtils

      public ResourceManagerUtils()
  • Method Details

    • parseRestBindPortFromWebInterfaceUrl

      public static Integer parseRestBindPortFromWebInterfaceUrl(String webInterfaceUrl)
      Parse the port from the webInterfaceUrl.
      Parameters:
      webInterfaceUrl - The web interface url to be parsed
      Returns:
      the parsed rest port or -1 if failed