@Override
    public boolean equals(Object obj) {
      if (this == obj) {
        return true;
      }

      if (obj == null || getClass() != obj.getClass()) {
        return false;
      }

      MetricFractionPart other = (MetricFractionPart) obj;
      return Objects.equals(m_gangliaInfo, other.m_gangliaInfo) &&
        Objects.equals(m_jmxInfo, other.m_jmxInfo);
    }
@return the ganglia info, if this metric is ganglia-based
ambari-server/src/main/java/org/apache/ambari/server/state/alert/PercentSource.java