public MembershipView<ID> createNewViewWithMember(ID member) {
    return new MembershipView<>(creator, viewId,
        Stream.concat(members.stream(), Stream.of(member)).collect(toList()), shutdownMembers,
        crashedMembers);
  }
The MembershipView class represents a membership view. A MembershipView defines who is in the
cluster and knows which node created the view. It also knows which members left or were removed
when the view was created. MemberIdentifiers in the view are marked with the viewId of the
MembershipView in which they joined the cluster.
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/api/MembershipView.java