public final class RoutingNodes.RoutingNodeIterator extends Object implements Iterator<MutableShardRouting>, Iterable<MutableShardRouting>
Constructor and Description |
---|
RoutingNodeIterator(RoutingNode iterable) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Iterator<MutableShardRouting> |
iterator() |
void |
moveToUnassigned() |
MutableShardRouting |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
public RoutingNodeIterator(RoutingNode iterable)
public boolean hasNext()
hasNext
in interface Iterator<MutableShardRouting>
public MutableShardRouting next()
next
in interface Iterator<MutableShardRouting>
public void remove()
remove
in interface Iterator<MutableShardRouting>
public Iterator<MutableShardRouting> iterator()
iterator
in interface Iterable<MutableShardRouting>
public void moveToUnassigned()
Copyright © 2009–2015. All rights reserved.