public class RoutingNodes.UnassignedShards.UnassignedIterator extends Object implements Iterator<ShardRouting>
| Constructor and Description |
|---|
UnassignedIterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
void |
initialize(String nodeId,
long version,
long expectedShardSize)
Initializes the current unassigned shard and moves it from the unassigned list.
|
ShardRouting |
next() |
void |
remove()
Unsupported operation, just there for the interface.
|
void |
removeAndIgnore()
Removes and ignores the unassigned shard (will be ignored for this run, but
will be added back to unassigned once the metadata is constructed again).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
hasNext in interface Iterator<ShardRouting>public ShardRouting next()
next in interface Iterator<ShardRouting>public void initialize(String nodeId, long version, long expectedShardSize)
public void removeAndIgnore()
public void remove()
removeAndIgnore() or
initialize(String, long, long).remove in interface Iterator<ShardRouting>Copyright © 2009–2016. All rights reserved.