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 multicastAddress,
String clusterName,
int multicastTimeToLive,
File clusterHome)
throws ClusterException
- Throws:
ClusterException
ClusterConfig
public ClusterConfig(InetAddress multicastAddress,
String clusterName,
int multicastTimeToLive,
File clusterHome,
NetworkInterface iface)
throws ClusterException
- Throws:
ClusterException
getAddress
@Deprecated
public InetAddress getAddress()
- Deprecated. since 5.5 Use
getMulticastAddress()
getMulticastAddress
public InetAddress getMulticastAddress()
- Since:
- 5.5
getClusterName
public String getClusterName()
getTimeToLive
@Deprecated
public int getTimeToLive()
- Deprecated. since 5.5 Use
getMulticastTimeToLive()
getMulticastTimeToLive
public int getMulticastTimeToLive()
- Since:
- 5.5
getClusterHome
public File getClusterHome()
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
Copyright © 2003–2015 Atlassian. All rights reserved.