Package org.apache.flink.util
Class PortRange
- java.lang.Object
-
- org.apache.flink.util.PortRange
-
public class PortRange extends Object
Represents a port range and provides access to an iterator of the given range.
-
-
Constructor Detail
-
PortRange
public PortRange(int port)
-
PortRange
public PortRange(String portRange)
Creates a new port range instance.- Parameters:
portRange
- given port range string- Throws:
IllegalConfigurationException
- if given port range string is invalid
-
-