Remove superfluous method

This commit is contained in:
Yannick Welsch 2015-12-28 10:20:55 +01:00
parent fc0a33be05
commit 207dfc457d
1 changed files with 0 additions and 8 deletions

View File

@ -259,14 +259,6 @@ public class BalancedShardsAllocator extends AbstractComponent implements Shards
return avgShardsPerNode; return avgShardsPerNode;
} }
/**
* Returns the global average of primaries per node
*/
public float avgPrimariesPerNode() {
return ((float) metaData.numberOfShards()) / nodes.size();
}
/** /**
* Returns a new {@link NodeSorter} that sorts the nodes based on their * Returns a new {@link NodeSorter} that sorts the nodes based on their
* current weight with respect to the index passed to the sorter. The * current weight with respect to the index passed to the sorter. The