public final class RoutingNodes.RoutingNodeIterator extends Object implements Iterator<ShardRouting>, Iterable<ShardRouting>
| Constructor and Description |
|---|
RoutingNodes.RoutingNodeIterator(RoutingNode iterable) |
| Modifier and Type | Method and Description |
|---|---|
ShardRouting |
current() |
boolean |
hasNext() |
boolean |
isRemoved()
returns true if
remove() or moveToUnassigned(UnassignedInfo) were called on the current shard |
Iterator<ShardRouting> |
iterator() |
void |
moveToUnassigned(UnassignedInfo unassignedInfo) |
ShardRouting |
next() |
void |
remove() |
public RoutingNodes.RoutingNodeIterator(RoutingNode iterable)
public boolean hasNext()
hasNext in interface Iterator<ShardRouting>public ShardRouting next()
next in interface Iterator<ShardRouting>public void remove()
remove in interface Iterator<ShardRouting>public boolean isRemoved()
remove() or moveToUnassigned(UnassignedInfo) were called on the current shardpublic Iterator<ShardRouting> iterator()
iterator in interface Iterable<ShardRouting>public void moveToUnassigned(UnassignedInfo unassignedInfo)
public ShardRouting current()
Copyright © 2009–2017. All rights reserved.