put class javadoc where it belongs

This commit is contained in:
Steve Rowe 2016-08-18 09:59:02 -04:00
parent de71ed740d
commit 9e1a25e77d
1 changed files with 6 additions and 6 deletions

View File

@ -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;