public class AvailablePortHelper
extends java.lang.Object
| Constructor and Description |
|---|
AvailablePortHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getRandomAvailablePortForDUnitSite()
Returns array of unique randomly available tcp ports of specified count.
|
static int |
getRandomAvailableTCPPort()
Returns randomly available tcp port.
|
static java.util.List<com.gemstone.gemfire.internal.AvailablePort.Keeper> |
getRandomAvailableTCPPortKeepers(int count) |
static int[] |
getRandomAvailableTCPPorts(int count)
Returns array of unique randomly available tcp ports of specified count.
|
static int[] |
getRandomAvailableTCPPortsForDUnitSite(int count)
Returns array of unique randomly available tcp ports of specified count.
|
static int |
getRandomAvailableUDPPort()
Returns randomly available udp port.
|
static int[] |
getRandomAvailableUDPPorts(int count)
Returns array of unique randomly available udp ports of specified count.
|
public static int[] getRandomAvailableTCPPorts(int count)
public static java.util.List<com.gemstone.gemfire.internal.AvailablePort.Keeper> getRandomAvailableTCPPortKeepers(int count)
public static int[] getRandomAvailableTCPPortsForDUnitSite(int count)
public static int getRandomAvailablePortForDUnitSite()
public static int getRandomAvailableTCPPort()
public static int[] getRandomAvailableUDPPorts(int count)
public static int getRandomAvailableUDPPort()