public class ResourceManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceManager.IpAddressRep |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getNextMulticastAddress()
Returns the next available multicast address, e.g.
|
static short |
getNextMulticastPort(java.net.InetAddress bind_addr) |
static short |
getNextTcpPort(java.net.InetAddress bind_addr) |
static java.util.List<java.lang.Short> |
getNextTcpPorts(java.net.InetAddress bind_addr,
int num_requested_ports) |
static java.lang.String |
getUniqueClusterName() |
static java.lang.String |
getUniqueClusterName(java.lang.String base_name) |
static void |
main(java.lang.String[] args) |
public static java.lang.String getNextMulticastAddress()
public static short getNextMulticastPort(java.net.InetAddress bind_addr) throws java.lang.Exception
java.lang.Exception
public static java.util.List<java.lang.Short> getNextTcpPorts(java.net.InetAddress bind_addr, int num_requested_ports) throws java.lang.Exception
java.lang.Exception
public static short getNextTcpPort(java.net.InetAddress bind_addr) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getUniqueClusterName(java.lang.String base_name)
public static java.lang.String getUniqueClusterName()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 1998-2020 Red Hat. All Rights Reserved.