public final class ResourceManager extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceManager.IpAddressRep |
Modifier and Type | Method and Description |
---|---|
static String |
getNextMulticastAddress()
Returns the next available multicast address, e.g.
|
static short |
getNextMulticastPort(InetAddress bind_addr) |
static int |
getNextTcpPort(InetAddress bind_addr) |
protected static int |
getNextTCPPort(InetAddress bind_addr,
int start_port) |
static List<Integer> |
getNextTcpPorts(InetAddress bind_addr,
int num_requested_ports) |
static String |
getUniqueClusterName() |
static String |
getUniqueClusterName(String base_name) |
static void |
main(String[] args) |
public static String getNextMulticastAddress()
public static short getNextMulticastPort(InetAddress bind_addr) throws Exception
Exception
public static List<Integer> getNextTcpPorts(InetAddress bind_addr, int num_requested_ports) throws Exception
Exception
public static int getNextTcpPort(InetAddress bind_addr) throws Exception
Exception
protected static int getNextTCPPort(InetAddress bind_addr, int start_port) throws Exception
Exception
public static String getUniqueClusterName()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.