@Override
  public boolean equals(Object object) {

    if (!(object instanceof StatisticInfoImpl)) {
      return false;
    }

    String statisticsTextId = getStatisticsTextId();

    StatisticInfoImpl other = (StatisticInfoImpl) object;

    return StringUtils.equals(getStatisticName(), other.getStatisticName())
        && statisticsTextId != null
        && statisticsTextId.equals(other.getStatisticsTextId());
  }
Implemetation of {@link StatisticInfo}, provides all the information {@link Statistic}
geode-core/src/main/java/org/apache/geode/internal/admin/statalerts/StatisticInfoImpl.java