public Map<InternalDistributedMember, PersistentMemberID> adviseInitializedPersistentMembers() {
    initializationGate();

    Map<InternalDistributedMember, PersistentMemberID> result =
        new HashMap<>();
    Profile[] snapshot = profiles;
    for (Profile profile : snapshot) {
      CacheProfile cp = (CacheProfile) profile;
      if (cp.persistentID != null && cp.persistenceInitialized) {
        result.put(cp.getDistributedMember(), cp.persistentID);
      }
    }

    return result;
  }
Returns the list of all persistent members. For most cases, adviseInitializedPersistentMembers
is more appropriate. These method includes members that are still in the process of GII.
geode-core/src/main/java/org/apache/geode/internal/cache/CacheDistributionAdvisor.java