public class JoinConfig extends Object
Constructor and Description |
---|
JoinConfig() |
Modifier and Type | Method and Description |
---|---|
AwsConfig |
getAwsConfig() |
AzureConfig |
getAzureConfig() |
DiscoveryConfig |
getDiscoveryConfig()
Returns the currently defined
DiscoveryConfig |
EurekaConfig |
getEurekaConfig() |
GcpConfig |
getGcpConfig() |
KubernetesConfig |
getKubernetesConfig() |
MulticastConfig |
getMulticastConfig() |
TcpIpConfig |
getTcpIpConfig() |
JoinConfig |
setAwsConfig(AwsConfig awsConfig) |
JoinConfig |
setAzureConfig(AzureConfig azureConfig) |
JoinConfig |
setDiscoveryConfig(DiscoveryConfig discoveryConfig)
Sets a custom defined
DiscoveryConfig |
JoinConfig |
setEurekaConfig(EurekaConfig eurekaConfig) |
JoinConfig |
setGcpConfig(GcpConfig gcpConfig) |
JoinConfig |
setKubernetesConfig(KubernetesConfig kubernetesConfig) |
JoinConfig |
setMulticastConfig(MulticastConfig multicastConfig) |
JoinConfig |
setTcpIpConfig(TcpIpConfig tcpIpConfig) |
String |
toString() |
void |
verify()
Verifies this JoinConfig is valid.
|
public MulticastConfig getMulticastConfig()
public JoinConfig setMulticastConfig(MulticastConfig multicastConfig)
multicastConfig
- the multicastConfig join configuration to setIllegalArgumentException
- if multicastConfig is nullpublic TcpIpConfig getTcpIpConfig()
public JoinConfig setTcpIpConfig(TcpIpConfig tcpIpConfig)
tcpIpConfig
- the tcpIpConfig join configuration to setIllegalArgumentException
- if tcpIpConfig is nullpublic AwsConfig getAwsConfig()
public JoinConfig setAwsConfig(AwsConfig awsConfig)
awsConfig
- the AwsConfig join configuration to setIllegalArgumentException
- if awsConfig is nullpublic GcpConfig getGcpConfig()
public JoinConfig setGcpConfig(GcpConfig gcpConfig)
gcpConfig
- the GcpConfig join configuration to setIllegalArgumentException
- if gcpConfig is nullpublic AzureConfig getAzureConfig()
public JoinConfig setAzureConfig(AzureConfig azureConfig)
azureConfig
- the AzureConfig join configuration to setIllegalArgumentException
- if azureConfig is nullpublic KubernetesConfig getKubernetesConfig()
public JoinConfig setKubernetesConfig(KubernetesConfig kubernetesConfig)
kubernetesConfig
- the KubernetesConfig join configuration to setIllegalArgumentException
- if kubernetesConfig is nullpublic EurekaConfig getEurekaConfig()
public JoinConfig setEurekaConfig(EurekaConfig eurekaConfig)
eurekaConfig
- the EurekaConfig join configuration to setIllegalArgumentException
- if eurekaConfig is nullpublic DiscoveryConfig getDiscoveryConfig()
DiscoveryConfig
public JoinConfig setDiscoveryConfig(DiscoveryConfig discoveryConfig)
DiscoveryConfig
discoveryConfig
- configuration to setIllegalArgumentException
- if discoveryProvidersConfig is nullpublic void verify()
InvalidConfigurationException
- when the join config is not validCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.