public class MemberGroupConfig extends Object
PartitionGroupConfig for more information.| Constructor and Description |
|---|
MemberGroupConfig() |
| Modifier and Type | Method and Description |
|---|---|
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() |
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 that are part of a group.IllegalArgumentException - if interfaces is null.getInterfaces(),
clear()Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.