Class AddReplicaCmd

    • Method Detail

      • assignReplicaDetails

        public static AddReplicaCmd.CreateReplica assignReplicaDetails​(org.apache.solr.client.solrj.cloud.SolrCloudManager cloudManager,
                                                                       org.apache.solr.common.cloud.ClusterState clusterState,
                                                                       org.apache.solr.common.cloud.ZkNodeProps message,
                                                                       org.apache.solr.common.cloud.ReplicaPosition replicaPosition)
      • buildReplicaPositions

        public static List<org.apache.solr.common.cloud.ReplicaPosition> buildReplicaPositions​(org.apache.solr.client.solrj.cloud.SolrCloudManager cloudManager,
                                                                                               org.apache.solr.common.cloud.ClusterState clusterState,
                                                                                               String collectionName,
                                                                                               org.apache.solr.common.cloud.ZkNodeProps message,
                                                                                               EnumMap<org.apache.solr.common.cloud.Replica.Type,​Integer> replicaTypeVsCount,
                                                                                               CoreContainer coreContainer)
                                                                                        throws IOException,
                                                                                               InterruptedException
        Throws:
        IOException
        InterruptedException