com.atlassian.confluence.cluster
Class ClusterConfig

java.lang.Object
  extended bycom.atlassian.confluence.cluster.ClusterConfig

public class ClusterConfig
extends Object

Immutable value bean for Confluence cluster configuration


Constructor Summary
ClusterConfig(InetAddress address, String clusterName, int timeToLive)
           
ClusterConfig(InetAddress address, String clusterName, int timeToLive, NetworkInterface iface)
           
 
Method Summary
 boolean equals(Object o)
           
 InetAddress getAddress()
           
 String getClusterName()
           
 NetworkInterface getNetworkInterface()
           
 int getTimeToLive()
           
 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 address,
                     String clusterName,
                     int timeToLive)
              throws InvalidClusterAddressException

ClusterConfig

public ClusterConfig(InetAddress address,
                     String clusterName,
                     int timeToLive,
                     NetworkInterface iface)
              throws InvalidClusterAddressException
Method Detail

getAddress

public InetAddress getAddress()

getClusterName

public String getClusterName()

getTimeToLive

public int getTimeToLive()

getUnicastAddress

public InetAddress getUnicastAddress()

getNetworkInterface

public NetworkInterface getNetworkInterface()

toString

public String toString()

equals

public boolean equals(Object o)

hashCode

public int hashCode()


Confluence is developed by Atlassian.