|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ShardsIterator
Allows to iterate over unrelated shards.
| Method Summary | |
|---|---|
int |
assignedReplicasIncludingRelocating()
|
java.lang.Iterable<ShardRouting> |
asUnordered()
|
boolean |
equals(java.lang.Object other)
|
ShardRouting |
firstOrNull()
Returns the first shard, or null, without incrementing the iterator. |
int |
hashCode()
|
ShardRouting |
nextOrNull()
Returns the next shard, or null if none available. |
int |
remaining()
|
ShardsIterator |
reset()
Resets the iterator. |
int |
size()
The number of shard routing instances. |
int |
sizeActive()
|
| Method Detail |
|---|
ShardsIterator reset()
int size()
int sizeActive()
int assignedReplicasIncludingRelocating()
ShardRouting nextOrNull()
ShardRouting firstOrNull()
ShardRouting.assignedToNode()int remaining()
int hashCode()
hashCode in class java.lang.Objectboolean equals(java.lang.Object other)
equals in class java.lang.Objectjava.lang.Iterable<ShardRouting> asUnordered()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||