|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.config.MemberGroupConfig
public class MemberGroupConfig
Contains the configuration for a single member group.
See the PartitionGroupConfig for more information.
| Constructor Summary | |
|---|---|
MemberGroupConfig()
|
|
| Method Summary | |
|---|---|
MemberGroupConfig |
addInterface(String ip)
Adds an interface to the member group. |
MemberGroupConfig |
clear()
Removes all interfaces from the member group. |
Collection<String> |
getInterfaces()
Gets an unmodifiable collection containing all interfaces. |
MemberGroupConfig |
setInterfaces(Collection<String> interfaces)
Sets the interfaces that are part of a group. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MemberGroupConfig()
| Method Detail |
|---|
public MemberGroupConfig addInterface(String ip)
ip - the ip address of the interface.
IllegalArgumentException - if ip is null or empty.getInterfaces(),
clear()public MemberGroupConfig clear()
public Collection<String> getInterfaces()
setInterfaces(java.util.Collection)public MemberGroupConfig setInterfaces(Collection<String> interfaces)
clear().
interfaces - the interfaces to set.
IllegalArgumentException - if interfaces is null.getInterfaces(),
clear()public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||