com.hazelcast.config
Class JoinConfig

java.lang.Object
  extended by com.hazelcast.config.JoinConfig

public class JoinConfig
extends Object

Contains the 3 different join configurations; tcp-ip/multicast/aws. Only one of them should be enabled!


Constructor Summary
JoinConfig()
           
 
Method Summary
 AwsConfig getAwsConfig()
           
 MulticastConfig getMulticastConfig()
           
 TcpIpConfig getTcpIpConfig()
           
 JoinConfig setAwsConfig(AwsConfig awsConfig)
           
 JoinConfig setMulticastConfig(MulticastConfig multicastConfig)
           
 JoinConfig setTcpIpConfig(TcpIpConfig tcpIpConfig)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JoinConfig

public JoinConfig()
Method Detail

getMulticastConfig

public MulticastConfig getMulticastConfig()
Returns:
the multicastConfig

setMulticastConfig

public JoinConfig setMulticastConfig(MulticastConfig multicastConfig)
Parameters:
multicastConfig - the multicastConfig to set
Throws:
IllegalArgumentException - if multicastConfig is null.

getTcpIpConfig

public TcpIpConfig getTcpIpConfig()
Returns:
the tcpIpConfig

setTcpIpConfig

public JoinConfig setTcpIpConfig(TcpIpConfig tcpIpConfig)
Parameters:
tcpIpConfig - the tcpIpConfig to set
Throws:
IllegalArgumentException - if tcpIpConfig is null.

getAwsConfig

public AwsConfig getAwsConfig()
Returns:
the awsConfig

setAwsConfig

public JoinConfig setAwsConfig(AwsConfig awsConfig)
Parameters:
awsConfig - the AwsConfig to set
Throws:
IllegalArgumentException - if awsConfig is null.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.