com.atlassian.confluence.cluster
Class ClusterConfig

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

public class ClusterConfig
extends java.lang.Object

Immutable value bean for Confluence cluster configuration


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

Constructor Detail

ClusterConfig

public ClusterConfig(java.net.InetAddress multicastAddress,
                     java.lang.String clusterName,
                     int multicastTimeToLive,
                     java.io.File clusterHome)
              throws ClusterException
Throws:
ClusterException

ClusterConfig

public ClusterConfig(java.net.InetAddress multicastAddress,
                     java.lang.String clusterName,
                     int multicastTimeToLive,
                     java.io.File clusterHome,
                     java.net.NetworkInterface iface)
              throws ClusterException
Throws:
ClusterException
Method Detail

getAddress

@Deprecated
public java.net.InetAddress getAddress()
Deprecated. since 5.5 Use getMulticastAddress()


getMulticastAddress

public java.net.InetAddress getMulticastAddress()
Since:
5.5

getClusterName

public java.lang.String getClusterName()

getTimeToLive

@Deprecated
public int getTimeToLive()
Deprecated. since 5.5 Use getMulticastTimeToLive()


getMulticastTimeToLive

public int getMulticastTimeToLive()
Since:
5.5

getClusterHome

public java.io.File getClusterHome()

getUnicastAddress

public java.net.InetAddress getUnicastAddress()

getNetworkInterface

public java.net.NetworkInterface getNetworkInterface()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.