public class DefaultMemberGroup extends Object implements MemberGroup
Constructor and Description |
---|
DefaultMemberGroup() |
DefaultMemberGroup(Collection<Member> members) |
Modifier and Type | Method and Description |
---|---|
void |
addMember(Member member) |
void |
addMembers(Collection<Member> members) |
boolean |
equals(Object obj) |
Set<Member> |
getMembers() |
int |
hashCode() |
boolean |
hasMember(Member member) |
Iterator<Member> |
iterator() |
void |
removeMember(Member member) |
int |
size() |
String |
toString() |
public DefaultMemberGroup()
public DefaultMemberGroup(Collection<Member> members)
public void addMember(Member member)
addMember
in interface MemberGroup
public void addMembers(Collection<Member> members)
addMembers
in interface MemberGroup
public void removeMember(Member member)
removeMember
in interface MemberGroup
public boolean hasMember(Member member)
hasMember
in interface MemberGroup
public Iterator<Member> iterator()
iterator
in interface MemberGroup
public int size()
size
in interface MemberGroup
Copyright © 2018 Hazelcast, Inc.. All rights reserved.