com.atlassian.confluence.cluster
Class ClusterConfig

java.lang.Object
  extended by com.atlassian.confluence.cluster.ClusterConfig

public class ClusterConfig
extends Object

Immutable value bean for Confluence cluster configuration


Constructor Summary
ClusterConfig(InetAddress multicastAddress, String clusterName, int multicastTimeToLive, File clusterHome)
           
ClusterConfig(InetAddress multicastAddress, String clusterName, int multicastTimeToLive, File clusterHome, NetworkInterface iface)
           
 
Method Summary
 boolean equals(Object o)
           
 InetAddress getAddress()
          Deprecated. since 5.5 Use getMulticastAddress()
 File getClusterHome()
           
 String getClusterName()
           
 InetAddress getMulticastAddress()
           
 int getMulticastTimeToLive()
           
 NetworkInterface getNetworkInterface()
           
 int getTimeToLive()
          Deprecated. since 5.5 Use getMulticastTimeToLive()
 InetAddress getUnicastAddress()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.