Package com.hazelcast.spi.utils
Class PortRange
java.lang.Object
com.hazelcast.spi.utils.PortRange
Represents the range of IPv4 Ports.
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
PortRange
CreatesPortRangefrom thespecString.- Parameters:
 spec- port number (e.g "5701") or port range (e.g. "5701-5708")- Throws:
 IllegalArgumentException- if the specified spec is not a valid port or port range
 
 - 
 - 
Method Details