@Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (!(obj instanceof StatisticsImpl)) {
      return false;
    }
    StatisticsImpl other = (StatisticsImpl) obj;
    return uniqueId == other.getUniqueId();
  }
Gets the unique id for this resource
geode-core/src/main/java/org/apache/geode/internal/statistics/StatisticsImpl.java