com.atlassian.confluence.cluster
Class ClusterConfig
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
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.