mirror of https://github.com/apache/lucene.git
put class javadoc where it belongs
This commit is contained in:
parent
de71ed740d
commit
9e1a25e77d
|
@ -15,12 +15,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* This is a utility class that sorts cores in such a way as to minimize other cores
|
||||
* waiting for replicas in the current node. This helps in avoiding leaderVote timeouts
|
||||
* happening in other nodes of the cluster
|
||||
*
|
||||
*/
|
||||
package org.apache.solr.core;
|
||||
|
||||
import java.util.Collection;
|
||||
|
@ -37,6 +31,12 @@ import org.apache.solr.common.cloud.Slice;
|
|||
|
||||
import static java.util.Collections.emptyList;
|
||||
import static java.util.stream.Collectors.toList;
|
||||
|
||||
/**
|
||||
* This is a utility class that sorts cores in such a way as to minimize other cores
|
||||
* waiting for replicas in the current node. This helps in avoiding leaderVote timeouts
|
||||
* happening in other nodes of the cluster
|
||||
*/
|
||||
public class CoreSorter {
|
||||
Map<String, CountsForEachShard> shardsVsReplicaCounts = new LinkedHashMap<>();
|
||||
CoreContainer cc;
|
||||
|
|
Loading…
Reference in New Issue