T - Subclass that extends AliasedDiscoveryConfig.public abstract class AliasedDiscoveryConfig<T extends AliasedDiscoveryConfig<T>> extends Object
| Modifier | Constructor and Description | 
|---|---|
protected  | 
AliasedDiscoveryConfig(String tag)  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,String> | 
getProperties()
Returns all properties. 
 | 
String | 
getProperty(String name)
Returns property value by the property name. 
 | 
boolean | 
isEnabled()
Checks whether the given join mechanism is enabled. 
 | 
boolean | 
isUsePublicIp()
Checks whether the public or private IP should be used to connect to Hazelcast members. 
 | 
T | 
setEnabled(boolean enabled)
Enables or disables the join mechanism based on the given discovery config. 
 | 
T | 
setProperty(String name,
           String value)
Sets the property understood by the given SPI Discovery Strategy. 
 | 
T | 
setUsePublicIp(boolean usePublicIp)
Decides whether the public or private IP should be used to connect to Hazelcast members. 
 | 
String | 
toString()  | 
protected AliasedDiscoveryConfig(String tag)
public T setEnabled(boolean enabled)
enabled - true if enabledpublic boolean isEnabled()
true if enabledpublic T setProperty(String name, String value)
Note that it interprets and stores as fields the following properties: "enabled", "use-public-ip".
name - property namevalue - property valuepublic String getProperty(String name)
name - property namepublic Map<String,String> getProperties()
public T setUsePublicIp(boolean usePublicIp)
usePublicIp - true for public IP, false for private IPpublic boolean isUsePublicIp()
false for private IPCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.