Package 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
-
-
Constructor Summary
Constructors Constructor Description ClusterConfig(ClusterJoinConfig clusterJoinConfig, String clusterName, File clusterHome, NetworkInterface iface)
ClusterConfig(InetAddress multicastAddress, String clusterName, int multicastTimeToLive, File clusterHome)
Deprecated.since 5.9 UseClusterConfig(ClusterJoinConfig, String, File, NetworkInterface)
insteadClusterConfig(InetAddress multicastAddress, String clusterName, int multicastTimeToLive, File clusterHome, NetworkInterface iface)
Deprecated.since 5.9 UseClusterConfig(ClusterJoinConfig, String, File, NetworkInterface)
instead
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
File
getClusterHome()
String
getClusterName()
ClusterJoinConfig
getJoinConfig()
InetAddress
getMulticastAddress()
Deprecated.since 5.9int
getMulticastTimeToLive()
Deprecated.since 5.9NetworkInterface
getNetworkInterface()
InetAddress
getUnicastAddress()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ClusterConfig
public ClusterConfig(ClusterJoinConfig clusterJoinConfig, String clusterName, File clusterHome, NetworkInterface iface) throws ClusterException
- Throws:
ClusterException
-
ClusterConfig
@Deprecated public ClusterConfig(InetAddress multicastAddress, String clusterName, int multicastTimeToLive, File clusterHome) throws ClusterException
Deprecated.since 5.9 UseClusterConfig(ClusterJoinConfig, String, File, NetworkInterface)
instead- Throws:
ClusterException
-
ClusterConfig
@Deprecated public ClusterConfig(InetAddress multicastAddress, String clusterName, int multicastTimeToLive, File clusterHome, NetworkInterface iface) throws ClusterException
Deprecated.since 5.9 UseClusterConfig(ClusterJoinConfig, String, File, NetworkInterface)
instead- Throws:
ClusterException
-
-
Method Detail
-
getMulticastAddress
@Deprecated public InetAddress getMulticastAddress()
Deprecated.since 5.9- Since:
- 5.5
-
getClusterName
public String getClusterName()
-
getMulticastTimeToLive
@Deprecated public int getMulticastTimeToLive()
Deprecated.since 5.9- Since:
- 5.5
-
getJoinConfig
public ClusterJoinConfig getJoinConfig()
-
getClusterHome
public File getClusterHome()
-
getUnicastAddress
public InetAddress getUnicastAddress()
-
getNetworkInterface
public NetworkInterface getNetworkInterface()
-
-