@Override
  public void setRecipients(Collection<ID> recipients) {
    if (recipients instanceof List) {
      this.recipients = (List<ID>) recipients;
    } else {
      this.recipients = new ArrayList<>(recipients);
    }
  }
AbstractGMSMessage is the superclass of most Membership messages. These messages
may be sent via the Messenger service or via a TcpClient.

@param <ID>
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/gms/messages/AbstractGMSMessage.java