class MetricsUtils {

  public static TopologySummary getTopologySummary(ClusterSummary cs, String name) {
    for (TopologySummary ts : cs.get_topologies()) {
      if (name.equals(ts.get_name())) {
        return ts;
      }
    }
    return null;
  }

  private  MetricsUtils();

}