com.hazelcast.config
Class GroupConfig
java.lang.Object
com.hazelcast.config.GroupConfig
- All Implemented Interfaces:
- DataSerializable, Serializable
public final class GroupConfig
- extends Object
- implements DataSerializable
- See Also:
- Serialized Form
DEFAULT_GROUP_PASSWORD
public static final String DEFAULT_GROUP_PASSWORD
- See Also:
- Constant Field Values
DEFAULT_GROUP_NAME
public static final String DEFAULT_GROUP_NAME
- See Also:
- Constant Field Values
GroupConfig
public GroupConfig()
GroupConfig
public GroupConfig(String name)
GroupConfig
public GroupConfig(String name,
String password)
getName
public String getName()
- Returns:
- the name
setName
public GroupConfig setName(String name)
- Parameters:
name
- the name to set
getPassword
public String getPassword()
- Returns:
- the password
setPassword
public GroupConfig setPassword(String password)
- Parameters:
password
- the password to set
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
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.