|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.cluster.routing.IndexShardRoutingTable
public class IndexShardRoutingTable
Nested Class Summary | |
---|---|
static class |
IndexShardRoutingTable.Builder
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public IndexShardRoutingTable normalizeVersions()
public boolean allocatedPostApi()
public ShardId shardId()
public ShardId getShardId()
public com.google.common.collect.UnmodifiableIterator<ShardRouting> iterator()
iterator
in interface Iterable<ShardRouting>
public int size()
public int getSize()
public com.google.common.collect.ImmutableList<ShardRouting> shards()
public com.google.common.collect.ImmutableList<ShardRouting> getShards()
public com.google.common.collect.ImmutableList<ShardRouting> activeShards()
public com.google.common.collect.ImmutableList<ShardRouting> getActiveShards()
public com.google.common.collect.ImmutableList<ShardRouting> assignedShards()
public com.google.common.collect.ImmutableList<ShardRouting> getAssignedShards()
public int countWithState(ShardRoutingState state)
public ShardIterator shardsRandomIt()
public ShardIterator shardsIt()
public ShardIterator shardsIt(int index)
public ShardIterator activeShardsRandomIt()
public ShardIterator activeShardsIt()
public ShardIterator activeShardsIt(int index)
public ShardIterator assignedShardsRandomIt()
public ShardIterator assignedShardsIt()
public ShardIterator assignedShardsIt(int index)
public ShardIterator primaryShardIt()
public ShardIterator primaryFirstActiveShardsIt()
public ShardIterator preferNodeShardsIt(String nodeId)
public ShardIterator onlyNodeActiveShardsIt(String nodeId)
public ShardIterator preferNodeActiveShardsIt(String nodeId)
public ShardIterator preferNodeAssignedShardsIt(String nodeId)
public ShardIterator preferAttributesActiveShardsIt(String[] attributes, DiscoveryNodes nodes)
public ShardIterator preferAttributesActiveShardsIt(String[] attributes, DiscoveryNodes nodes, int index)
public ShardRouting primaryShard()
public List<ShardRouting> replicaShards()
public List<ShardRouting> shardsWithState(ShardRoutingState... states)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |