public interface ShardsIterator
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<ShardRouting> |
asUnordered() |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
ShardRouting |
nextOrNull()
Returns the next shard, or null if none available.
|
int |
remaining()
Return the number of shards remaining in this
ShardsIterator |
void |
reset()
Resets the iterator to its initial state.
|
int |
size()
The number of shard routing instances.
|
int |
sizeActive()
The number of active shard routing instances
|
void reset()
int size()
int sizeActive()
ShardRouting nextOrNull()
int remaining()
ShardsIteratorint hashCode()
hashCode in class java.lang.Objectboolean equals(java.lang.Object other)
equals in class java.lang.Objectjava.lang.Iterable<ShardRouting> asUnordered()