org.elasticsearch.cluster.routing
Class GroupShardsIterator

java.lang.Object
  extended by org.elasticsearch.cluster.routing.GroupShardsIterator
All Implemented Interfaces:
java.lang.Iterable<ShardIterator>

public class GroupShardsIterator
extends java.lang.Object
implements java.lang.Iterable<ShardIterator>


Constructor Summary
GroupShardsIterator(java.util.Collection<ShardIterator> iterators)
           
 
Method Summary
 java.util.Iterator<ShardIterator> iterator()
           
 java.util.Collection<ShardIterator> iterators()
           
 int size()
           
 int totalSize()
           
 int totalSizeWith1ForEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupShardsIterator

public GroupShardsIterator(java.util.Collection<ShardIterator> iterators)
Method Detail

totalSize

public int totalSize()

totalSizeWith1ForEmpty

public int totalSizeWith1ForEmpty()

size

public int size()

iterators

public java.util.Collection<ShardIterator> iterators()

iterator

public java.util.Iterator<ShardIterator> iterator()
Specified by:
iterator in interface java.lang.Iterable<ShardIterator>