com.hazelcast.config
Class TcpIpConfig
java.lang.Object
com.hazelcast.config.TcpIpConfig
- All Implemented Interfaces:
- DataSerializable, Serializable
public class TcpIpConfig
- extends Object
- implements DataSerializable
- See Also:
- Serialized Form
TcpIpConfig
public TcpIpConfig()
addMember
public TcpIpConfig addMember(String member)
clear
public TcpIpConfig clear()
addAddress
public TcpIpConfig addAddress(Address address)
getAddresses
public List<Address> getAddresses()
getConnectionTimeoutSeconds
public int getConnectionTimeoutSeconds()
- Returns:
- the connectionTimeoutSeconds
setConnectionTimeoutSeconds
public TcpIpConfig setConnectionTimeoutSeconds(int connectionTimeoutSeconds)
- Parameters:
connectionTimeoutSeconds
- the connectionTimeoutSeconds to set
isEnabled
public boolean isEnabled()
- Returns:
- the enabled
setEnabled
public TcpIpConfig setEnabled(boolean enabled)
- Parameters:
enabled
- the enabled to set
getMembers
public List<String> getMembers()
- Returns:
- the lsMembers
setMembers
public TcpIpConfig setMembers(List<String> members)
- Parameters:
members
- the members to set
getRequiredMember
public String getRequiredMember()
- Returns:
- the requiredMember
setRequiredMember
public TcpIpConfig setRequiredMember(String requiredMember)
- Parameters:
requiredMember
- the requiredMember to set
toString
public String toString()
- Overrides:
toString
in class Object
writeData
public void writeData(DataOutput out)
throws IOException
- Specified by:
writeData
in interface DataSerializable
- Throws:
IOException
readData
public void readData(DataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Throws:
IOException
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.