| Modifier and Type | Method and Description |
|---|---|
protected RecoveryState |
TransportRecoveryAction.readShardResult(StreamInput in) |
protected RecoveryState |
TransportRecoveryAction.shardOperation(RecoveryRequest request,
ShardRouting shardRouting) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<RecoveryState>> |
RecoveryResponse.shardRecoveryStates() |
| Modifier and Type | Method and Description |
|---|---|
protected RecoveryResponse |
TransportRecoveryAction.newResponse(RecoveryRequest request,
int totalShards,
int successfulShards,
int failedShards,
List<RecoveryState> responses,
List<ShardOperationFailedException> shardFailures,
ClusterState clusterState) |
| Constructor and Description |
|---|
RecoveryResponse(int totalShards,
int successfulShards,
int failedShards,
boolean detailed,
Map<String,List<RecoveryState>> shardRecoveryStates,
List<ShardOperationFailedException> shardFailures)
Constructs recovery information for a collection of indices and associated shards.
|
| Modifier and Type | Method and Description |
|---|---|
RecoveryState |
IndexShard.recoveryState()
Returns the current
RecoveryState if this shard is recovering or has been recovering. |
| Modifier and Type | Method and Description |
|---|---|
void |
IndexShardRepository.restore(SnapshotId snapshotId,
Version version,
ShardId shardId,
ShardId snapshotShardId,
RecoveryState recoveryState)
Restores snapshot of the shard.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BlobStoreIndexShardRepository.restore(SnapshotId snapshotId,
Version version,
ShardId shardId,
ShardId snapshotShardId,
RecoveryState recoveryState)
Restores snapshot of the shard.
|
| Modifier and Type | Method and Description |
|---|---|
static RecoveryState |
RecoveryState.readRecoveryState(StreamInput in) |
RecoveryState |
RecoveryState.setStage(RecoveryState.Stage stage) |
RecoveryState |
RecoveryStatus.state() |
| Modifier and Type | Method and Description |
|---|---|
void |
RecoveryTarget.RecoveryListener.onRecoveryDone(RecoveryState state) |
void |
RecoveryTarget.RecoveryListener.onRecoveryFailure(RecoveryState state,
RecoveryFailedException e,
boolean sendShardFailure) |
| Constructor and Description |
|---|
RecoveryFailedException(RecoveryState state,
String extraInfo,
Throwable cause) |
Copyright © 2009–2017. All rights reserved.