Uses of Class
org.elasticsearch.cluster.routing.IndexShardRoutingTable
-
-
Uses of IndexShardRoutingTable in org.elasticsearch.action.support
Methods in org.elasticsearch.action.support with parameters of type IndexShardRoutingTable Modifier and Type Method Description booleanActiveShardCount. enoughShardsActive(IndexShardRoutingTable shardRoutingTable)Returns true iff the active shard count in the shard routing table is enough to meet the required shard count represented by this instance. -
Uses of IndexShardRoutingTable in org.elasticsearch.cluster.health
Constructors in org.elasticsearch.cluster.health with parameters of type IndexShardRoutingTable Constructor Description ClusterShardHealth(int shardId, IndexShardRoutingTable shardRoutingTable) -
Uses of IndexShardRoutingTable in org.elasticsearch.cluster.routing
Methods in org.elasticsearch.cluster.routing that return IndexShardRoutingTable Modifier and Type Method Description IndexShardRoutingTableIndexShardRoutingTable.Builder. build()static IndexShardRoutingTableIndexShardRoutingTable.Builder. readFrom(StreamInput in)static IndexShardRoutingTableIndexShardRoutingTable.Builder. readFromThin(StreamInput in, Index index)IndexShardRoutingTableIndexRoutingTable. shard(int shardId)IndexShardRoutingTableRoutingTable. shardRoutingTable(String index, int shardId)All shards for the provided index and shard idstatic IndexShardRoutingTableRoutingTable. shardRoutingTable(IndexRoutingTable indexRouting, int shardId)Get's theIndexShardRoutingTablefor the given shard id from the givenIndexRoutingTableor throws aShardNotFoundExceptionif no shard by the given id is found in the IndexRoutingTable.IndexShardRoutingTableRoutingTable. shardRoutingTable(ShardId shardId)All shards for the providedShardIdprotected IndexShardRoutingTableOperationRouting. shards(ClusterState clusterState, String index, String id, String routing)Methods in org.elasticsearch.cluster.routing that return types with arguments of type IndexShardRoutingTable Modifier and Type Method Description ImmutableOpenIntMap<IndexShardRoutingTable>IndexRoutingTable. getShards()Iterator<IndexShardRoutingTable>IndexRoutingTable. iterator()ImmutableOpenIntMap<IndexShardRoutingTable>IndexRoutingTable. shards()Methods in org.elasticsearch.cluster.routing with parameters of type IndexShardRoutingTable Modifier and Type Method Description IndexRoutingTable.BuilderIndexRoutingTable.Builder. addIndexShard(IndexShardRoutingTable indexShard)static voidIndexShardRoutingTable.Builder. writeTo(IndexShardRoutingTable indexShard, StreamOutput out)static voidIndexShardRoutingTable.Builder. writeToThin(IndexShardRoutingTable indexShard, StreamOutput out)Constructors in org.elasticsearch.cluster.routing with parameters of type IndexShardRoutingTable Constructor Description Builder(IndexShardRoutingTable indexShard) -
Uses of IndexShardRoutingTable in org.elasticsearch.index.seqno
Methods in org.elasticsearch.index.seqno that return IndexShardRoutingTable Modifier and Type Method Description IndexShardRoutingTableReplicationTracker.PrimaryContext. getRoutingTable()Methods in org.elasticsearch.index.seqno with parameters of type IndexShardRoutingTable Modifier and Type Method Description voidReplicationTracker. updateFromMaster(long applyingClusterStateVersion, Set<String> inSyncAllocationIds, IndexShardRoutingTable routingTable)Notifies the tracker of the current allocation IDs in the cluster state.Constructors in org.elasticsearch.index.seqno with parameters of type IndexShardRoutingTable Constructor Description PrimaryContext(long clusterStateVersion, Map<String,ReplicationTracker.CheckpointState> checkpoints, IndexShardRoutingTable routingTable) -
Uses of IndexShardRoutingTable in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard that return IndexShardRoutingTable Modifier and Type Method Description IndexShardRoutingTableReplicationGroup. getRoutingTable()Methods in org.elasticsearch.index.shard with parameters of type IndexShardRoutingTable Modifier and Type Method Description voidIndexShard. updateShardState(ShardRouting newRouting, long newPrimaryTerm, BiConsumer<IndexShard,ActionListener<PrimaryReplicaSyncer.ResyncTask>> primaryReplicaSyncer, long applyingClusterStateVersion, Set<String> inSyncAllocationIds, IndexShardRoutingTable routingTable)Constructors in org.elasticsearch.index.shard with parameters of type IndexShardRoutingTable Constructor Description ReplicationGroup(IndexShardRoutingTable routingTable, Set<String> inSyncAllocationIds, Set<String> trackedAllocationIds) -
Uses of IndexShardRoutingTable in org.elasticsearch.indices.cluster
Methods in org.elasticsearch.indices.cluster with parameters of type IndexShardRoutingTable Modifier and Type Method Description voidIndicesClusterStateService.Shard. updateShardState(ShardRouting shardRouting, long primaryTerm, BiConsumer<IndexShard,ActionListener<PrimaryReplicaSyncer.ResyncTask>> primaryReplicaSyncer, long applyingClusterStateVersion, Set<String> inSyncAllocationIds, IndexShardRoutingTable routingTable)Updates the shard state based on an incoming cluster state: - Updates and persists the new routing value. -
Uses of IndexShardRoutingTable in org.elasticsearch.indices.flush
Methods in org.elasticsearch.indices.flush with parameters of type IndexShardRoutingTable Modifier and Type Method Description protected voidSyncedFlushService. getInflightOpsCount(ShardId shardId, ClusterState state, IndexShardRoutingTable shardRoutingTable, ActionListener<org.elasticsearch.indices.flush.SyncedFlushService.InFlightOpsResponse> listener)returns the number of in flight operations on primary.
-