Module org.elasticsearch.server
Interface NodeSorters
- All Superinterfaces:
Iterable<BalancedShardsAllocator.NodeSorter>
NodeSorters is just a cache of
BalancedShardsAllocator.NodeSorter
instances for each cluster partition
The returned iterator will return a node sorter for each partition in the cluster.
-
Method Summary
Modifier and TypeMethodDescriptionsorterForShard(ShardRouting shard) Get theBalancedShardsAllocator.NodeSorterfor the specified shardMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
sorterForShard
Get theBalancedShardsAllocator.NodeSorterfor the specified shard
-