com.hazelcast.partition.membergroup
Class DefaultMemberGroup
java.lang.Object
com.hazelcast.partition.membergroup.DefaultMemberGroup
- All Implemented Interfaces:
- MemberGroup
public class DefaultMemberGroup
- extends Object
- implements MemberGroup
DefaultMemberGroup
public DefaultMemberGroup()
DefaultMemberGroup
public DefaultMemberGroup(Collection<Member> members)
addMember
public void addMember(Member member)
- Specified by:
addMember
in interface MemberGroup
addMembers
public void addMembers(Collection<Member> members)
- Specified by:
addMembers
in interface MemberGroup
removeMember
public void removeMember(Member member)
- Specified by:
removeMember
in interface MemberGroup
hasMember
public boolean hasMember(Member member)
- Specified by:
hasMember
in interface MemberGroup
getMembers
public Set<Member> getMembers()
iterator
public Iterator<Member> iterator()
- Specified by:
iterator
in interface MemberGroup
size
public int size()
- Specified by:
size
in interface MemberGroup
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
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.