java.lang.Object
org.elasticsearch.cluster.routing.allocation.allocator.OrderedShardsIterator
All Implemented Interfaces:
Iterator<ShardRouting>

public class OrderedShardsIterator extends Object implements Iterator<ShardRouting>
This class iterates all shards from all nodes in order of allocation recency. Shards from the node that had a new shard allocation would appear in the end of iteration.