primaryShardIt
Returns an iterator only on the primary shard.
<ShardRouting>
IndexShardRoutingTable
encapsulates all instances of a single shard.
Each Elasticsearch index consists of multiple shards, each shard encapsulates
a disjoint set of the index data and each shard has one or more instances
referred to as replicas of a shard. Given that, this class encapsulates all
replicas (instances) for a single index shard.activeInitializingShardsIt(int seed)
activeInitializingShardsRankedIt(ResponseCollectorService collector,
<,> nodeSearchCounts)
boolean
true
iff all shards in the routing table are started otherwise false
boolean
o)
<>
allocationId)
int
getSize()
int
hashCode()
iterator()
nodeId)
[] nodeAttributes,
DiscoveryNodes discoveryNodes)
nodeAttributes,
DiscoveryNodes discoveryNodes)
<> attributes,
DiscoveryNodes nodes)
<> attributes,
DiscoveryNodes nodes,
int seed)
<> nodeIds)
replicaShardsWithState(ShardRoutingState... states)
shardId()
shards()
shardsIt()
shardsIt(int seed)
shardsWithState(ShardRoutingState state)
int
size()
toString()
, , , , , , ,
,
in interface <ShardRouting>
in class
in class
true
iff all shards in the routing table are started otherwise false
in class