public static final class RoutingNodes.UnassignedShards extends Object implements Iterable<MutableShardRouting>
Constructor and Description |
---|
UnassignedShards() |
UnassignedShards(RoutingNodes.UnassignedShards other) |
Modifier and Type | Method and Description |
---|---|
void |
add(MutableShardRouting mutableShardRouting) |
void |
addAll(Collection<MutableShardRouting> mutableShardRoutings) |
void |
clear() |
MutableShardRouting[] |
drain() |
boolean |
isEmpty() |
Iterator<MutableShardRouting> |
iterator() |
int |
numPrimaries() |
void |
shuffle() |
int |
size() |
RoutingNodes.UnassignedShards |
transactionBegin() |
void |
transactionEnd(RoutingNodes.UnassignedShards shards) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public UnassignedShards(RoutingNodes.UnassignedShards other)
public UnassignedShards()
public void add(MutableShardRouting mutableShardRouting)
public void addAll(Collection<MutableShardRouting> mutableShardRoutings)
public int size()
public int numPrimaries()
public Iterator<MutableShardRouting> iterator()
iterator
in interface Iterable<MutableShardRouting>
public boolean isEmpty()
public void shuffle()
public void clear()
public void transactionEnd(RoutingNodes.UnassignedShards shards)
public RoutingNodes.UnassignedShards transactionBegin()
public MutableShardRouting[] drain()
Copyright © 2009–2015. All rights reserved.