com.hazelcast.config
Class GroupConfig

java.lang.Object
  extended by com.hazelcast.config.GroupConfig
All Implemented Interfaces:
DataSerializable, Serializable

public final class GroupConfig
extends Object
implements DataSerializable

See Also:
Serialized Form

Field Summary
static String DEFAULT_GROUP_NAME
           
static String DEFAULT_GROUP_PASSWORD
           
 
Constructor Summary
GroupConfig()
           
GroupConfig(String name)
           
GroupConfig(String name, String password)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 String getPassword()
           
 int hashCode()
           
 void readData(DataInput in)
           
 GroupConfig setName(String name)
           
 GroupConfig setPassword(String password)
           
 String toString()
           
 void writeData(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

GroupConfig

public GroupConfig()

GroupConfig

public GroupConfig(String name)

GroupConfig

public GroupConfig(String name,
                   String password)
Method Detail

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.