|
||||||||||
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()
|
Iterable<ShardRouting> |
asUnordered()
|
boolean |
equals(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 Object
boolean equals(Object other)
equals
in class Object
Iterable<ShardRouting> asUnordered()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |