com.hazelcast.partition.membergroup
Class SingleMemberGroup
java.lang.Object
com.hazelcast.partition.membergroup.SingleMemberGroup
- All Implemented Interfaces:
- MemberGroup
public class SingleMemberGroup
- extends Object
- implements MemberGroup
SingleMemberGroup
public SingleMemberGroup()
SingleMemberGroup
public SingleMemberGroup(Member member)
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
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.