com.hazelcast.partition.membergroup

## Class ZoneAwareMemberGroupFactory

- java.lang.Object
- - com.hazelcast.partition.membergroup.ZoneAwareMemberGroupFactory

- All Implemented Interfaces:
    MemberGroupFactory

      public class ZoneAwareMemberGroupFactory
      extends Object
      implements MemberGroupFactory

  ZoneAwareMemberGroupFactory is responsible for MemberGroups creation according to the host metadata provided by `DiscoveryStrategy.discoverLocalMetadata()`
  Since:
    3.7

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ZoneAwareMemberGroupFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected Set<MemberGroup>` | `createInternalMemberGroups(Collection<? extends Member> allMembers)`
    `Collection<MemberGroup>` | `createMemberGroups(Collection<? extends Member> members)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.hazelcast.partition.membergroup.MemberGroupFactory

      `createMemberGroups`

- - ### Constructor Detail

    - #### ZoneAwareMemberGroupFactory

          public ZoneAwareMemberGroupFactory()

  - ### Method Detail

    - #### createInternalMemberGroups

          protected Set<MemberGroup> createInternalMemberGroups(Collection<? extends Member> allMembers)

    - #### createMemberGroups

          public final Collection<MemberGroup> createMemberGroups(Collection<? extends Member> members)

      Specified by:
        `createMemberGroups` in interface `MemberGroupFactory`

Copyright © 2018. All rights reserved.