Package org.apache.flink.runtime.util
Class ResourceManagerUtils
java.lang.Object
org.apache.flink.runtime.util.ResourceManagerUtils
Common utils for ResourceManager.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegerparseRestBindPortFromWebInterfaceUrl(String webInterfaceUrl) Parse the port from the webInterfaceUrl.
-
Constructor Details
-
ResourceManagerUtils
public ResourceManagerUtils()
-
-
Method Details
-
parseRestBindPortFromWebInterfaceUrl
Parse the port from the webInterfaceUrl.- Parameters:
webInterfaceUrl- The web interface url to be parsed- Returns:
- the parsed rest port or -1 if failed
-