public class JoinConfig extends Object
Constructor and Description |
---|
JoinConfig() |
Modifier and Type | Method and Description |
---|---|
AwsConfig |
getAwsConfig() |
DiscoveryConfig |
getDiscoveryConfig()
Returns the currently defined
DiscoveryConfig |
MulticastConfig |
getMulticastConfig() |
TcpIpConfig |
getTcpIpConfig() |
JoinConfig |
setAwsConfig(AwsConfig awsConfig) |
JoinConfig |
setDiscoveryConfig(DiscoveryConfig discoveryConfig)
Sets a custom defined
DiscoveryConfig |
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 DiscoveryConfig getDiscoveryConfig()
DiscoveryConfig
public JoinConfig setDiscoveryConfig(DiscoveryConfig discoveryConfig)
DiscoveryConfig
discoveryConfig
- configuration to setIllegalArgumentException
- if discoveryProvidersConfig is nullpublic void verify()
IllegalStateException
- when the join config is not validCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.