| Package | Description |
|---|---|
| org.elasticsearch.cluster.health | |
| org.elasticsearch.cluster.routing | |
| org.elasticsearch.indices.flush |
| Constructor and Description |
|---|
ClusterShardHealth(int shardId,
IndexShardRoutingTable shardRoutingTable) |
| Modifier and Type | Method and Description |
|---|---|
IndexShardRoutingTable |
IndexShardRoutingTable.Builder.build() |
IndexShardRoutingTable |
IndexShardRoutingTable.normalizeVersions()
Normalizes all shard routings to the same version.
|
static IndexShardRoutingTable |
IndexShardRoutingTable.Builder.readFrom(StreamInput in) |
static IndexShardRoutingTable |
IndexShardRoutingTable.Builder.readFromThin(StreamInput in,
String index) |
IndexShardRoutingTable |
IndexRoutingTable.shard(int shardId) |
IndexShardRoutingTable |
RoutingTable.shardRoutingTable(String index,
int shardId)
All shards for the provided index and shard id
|
protected IndexShardRoutingTable |
OperationRouting.shards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableOpenIntMap<IndexShardRoutingTable> |
IndexRoutingTable.getShards() |
com.google.common.collect.UnmodifiableIterator<IndexShardRoutingTable> |
IndexRoutingTable.iterator() |
ImmutableOpenIntMap<IndexShardRoutingTable> |
IndexRoutingTable.shards() |
| Modifier and Type | Method and Description |
|---|---|
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.addIndexShard(IndexShardRoutingTable indexShard) |
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.addShard(IndexShardRoutingTable refData,
ShardRouting shard)
Adds a new shard routing (makes a copy of it), with reference data used from the index shard routing table
if it needs to be created.
|
static void |
IndexShardRoutingTable.Builder.writeTo(IndexShardRoutingTable indexShard,
StreamOutput out) |
static void |
IndexShardRoutingTable.Builder.writeToThin(IndexShardRoutingTable indexShard,
StreamOutput out) |
| Constructor and Description |
|---|
IndexShardRoutingTable.Builder(IndexShardRoutingTable indexShard) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SyncedFlushService.getInflightOpsCount(ShardId shardId,
ClusterState state,
IndexShardRoutingTable shardRoutingTable,
ActionListener<org.elasticsearch.indices.flush.SyncedFlushService.InFlightOpsResponse> listener)
returns the number of in flight operations on primary.
|
Copyright © 2009–2017. All rights reserved.