@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    EntityInfo<?, ?> that = (EntityInfo<?, ?>) o;
    return Objects.equals(id, that.id) &&
        Objects.equals(groups, that.groups);
  }
This holds the configuration of a particular entity in the cluster. It includes the id of the
entity and a list of configuration per group on the cluster

@param <T> the config type
@param <R> the runtimeInfo type
geode-management/src/main/java/org/apache/geode/management/api/EntityInfo.java