@Override
    public Collection<AmbryPartition> getPartitions() {
      return new ArrayList<>(partitionMap.values());
    }
@return a collection of partitions in this cluster.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixClusterManager.java