public static interface IndicesClusterStateService.Shard
| Modifier and Type | Method and Description |
|---|---|
RecoveryState |
recoveryState()
Returns the recovery state associated with this shard.
|
ShardRouting |
routingEntry()
Returns the latest cluster routing entry received with this shard.
|
ShardId |
shardId()
Returns the shard id of this shard.
|
IndexShardState |
state()
Returns the latest internal shard state.
|
void |
updateRoutingEntry(ShardRouting shardRouting)
Updates the shards routing entry.
|
ShardId shardId()
ShardRouting routingEntry()
IndexShardState state()
RecoveryState recoveryState()
void updateRoutingEntry(ShardRouting shardRouting) throws java.io.IOException
IndexShardRelocatedException - if shard is marked as relocated and relocation abortedjava.io.IOException - if shard state could not be persisted