|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.ClusterUtils
public class ClusterUtils
Utilities for clustering
Method Summary | |
---|---|
static java.util.Iterator<java.net.NetworkInterface> |
getClusterableInterfaces()
Find all network interfaces on the host that are suitable for clustering via multicast |
static java.net.InetAddress |
hashNameToAddress(java.lang.String name)
Hash a name to a IPv4 network address. |
static java.net.InetAddress |
hashNameToMulticastAddress(java.lang.String name)
Hash a name to a valid IPv4 multicast IP address. |
static boolean |
isLoopbackInterface(java.net.NetworkInterface iface)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.net.InetAddress hashNameToAddress(java.lang.String name)
name
-
public static java.net.InetAddress hashNameToMulticastAddress(java.lang.String name)
name
-
public static java.util.Iterator<java.net.NetworkInterface> getClusterableInterfaces() throws java.net.SocketException
NetworkInterface
s
java.net.SocketException
public static boolean isLoopbackInterface(java.net.NetworkInterface iface)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |