com.atlassian.confluence.cluster
Class ClusterConfig
java.lang.Object
com.atlassian.confluence.cluster.ClusterConfig
public class ClusterConfig
- extends Object
Immutable value bean for Confluence cluster configuration
ClusterConfig
public ClusterConfig(InetAddress address,
String clusterName,
int timeToLive)
throws InvalidClusterAddressException
- Throws:
InvalidClusterAddressException
ClusterConfig
public ClusterConfig(InetAddress address,
String clusterName,
int timeToLive,
NetworkInterface iface)
throws InvalidClusterAddressException
- Throws:
InvalidClusterAddressException
getAddress
public InetAddress getAddress()
getClusterName
public String getClusterName()
getTimeToLive
public int getTimeToLive()
getUnicastAddress
public InetAddress getUnicastAddress()
getNetworkInterface
public NetworkInterface getNetworkInterface()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object