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()
ShardsIterator
int hashCode()
hashCode
in class java.lang.Object
boolean equals(java.lang.Object other)
equals
in class java.lang.Object
java.lang.Iterable<ShardRouting> asUnordered()