code: private void handleMembershipEvent(GroupMembershipEvent event) {
      post(new ClusterMembershipEvent(ClusterMembershipEvent.Type.valueOf(event.type().name()), event.member()));
    }
docs: Handles a group membership event.