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

ClusterConfig

public ClusterConfig(java.net.InetAddress address,
                     java.lang.String clusterName,
                     int timeToLive,
                     java.net.NetworkInterface iface)
              throws InvalidClusterAddressException
Throws:
InvalidClusterAddressException
Method Detail

getAddress

public java.net.InetAddress getAddress()

getClusterName

public java.lang.String getClusterName()

getTimeToLive

public int getTimeToLive()

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-2013 Atlassian. All Rights Reserved.