public class DiscoveryGroupConfiguration extends Object implements Serializable
Constructor and Description |
---|
DiscoveryGroupConfiguration(String groupAddress,
int groupPort) |
DiscoveryGroupConfiguration(String name,
String localBindAddress,
String groupAddress,
int groupPort,
long refreshTimeout,
long discoveryInitialWaitTimeout) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getDiscoveryInitialWaitTimeout() |
String |
getGroupAddress() |
int |
getGroupPort() |
String |
getLocalBindAddress() |
String |
getName() |
long |
getRefreshTimeout() |
int |
hashCode() |
void |
setDiscoveryInitialWaitTimeout(long discoveryInitialWaitTimeout) |
void |
setGroupAddress(String groupAddress) |
void |
setGroupPort(int groupPort) |
void |
setLocalBindAdress(String localBindAddress) |
void |
setName(String name) |
void |
setRefreshTimeout(long refreshTimeout) |
String |
toString() |
public DiscoveryGroupConfiguration(String name, String localBindAddress, String groupAddress, int groupPort, long refreshTimeout, long discoveryInitialWaitTimeout)
public DiscoveryGroupConfiguration(String groupAddress, int groupPort)
public String getName()
public String getLocalBindAddress()
public String getGroupAddress()
public int getGroupPort()
public long getRefreshTimeout()
public void setName(String name)
name
- the name to setpublic void setLocalBindAdress(String localBindAddress)
localBindAddress
- the localBindAddress to setpublic void setGroupAddress(String groupAddress)
groupAddress
- the groupAddress to setpublic void setGroupPort(int groupPort)
groupPort
- the groupPort to setpublic void setRefreshTimeout(long refreshTimeout)
refreshTimeout
- the refreshTimeout to setpublic long getDiscoveryInitialWaitTimeout()
public void setDiscoveryInitialWaitTimeout(long discoveryInitialWaitTimeout)
discoveryInitialWaitTimeout
- the discoveryInitialWaitTimeout to setCopyright © 2012 JBoss by Red Hat. All Rights Reserved.