Class PlainShardsIterator

java.lang.Object
org.elasticsearch.common.util.PlainIterator<ShardRouting>
org.elasticsearch.cluster.routing.PlainShardsIterator
All Implemented Interfaces:
java.lang.Iterable<ShardRouting>, ShardsIterator, Countable
Direct Known Subclasses:
PlainShardIterator

public class PlainShardsIterator
extends PlainIterator<ShardRouting>
implements ShardsIterator
A simple ShardsIterator that iterates a list or sub-list of shard indexRoutings.
  • Constructor Details

    • PlainShardsIterator

      public PlainShardsIterator​(java.util.List<ShardRouting> shards)
  • Method Details