Uses of Class
org.elasticsearch.indices.recovery.RecoveryState
-
-
Uses of RecoveryState in org.elasticsearch.action.admin.indices.recovery
Methods in org.elasticsearch.action.admin.indices.recovery that return RecoveryState Modifier and Type Method Description protected RecoveryStateTransportRecoveryAction. readShardResult(StreamInput in)protected RecoveryStateTransportRecoveryAction. shardOperation(RecoveryRequest request, ShardRouting shardRouting)Methods in org.elasticsearch.action.admin.indices.recovery that return types with arguments of type RecoveryState Modifier and Type Method Description Map<String,List<RecoveryState>>RecoveryResponse. shardRecoveryStates()Method parameters in org.elasticsearch.action.admin.indices.recovery with type arguments of type RecoveryState Modifier and Type Method Description protected RecoveryResponseTransportRecoveryAction. newResponse(RecoveryRequest request, int totalShards, int successfulShards, int failedShards, List<RecoveryState> responses, List<DefaultShardOperationFailedException> shardFailures, ClusterState clusterState)Constructor parameters in org.elasticsearch.action.admin.indices.recovery with type arguments of type RecoveryState Constructor Description RecoveryResponse(int totalShards, int successfulShards, int failedShards, Map<String,List<RecoveryState>> shardRecoveryStates, List<DefaultShardOperationFailedException> shardFailures)Constructs recovery information for a collection of indices and associated shards. -
Uses of RecoveryState in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard that return RecoveryState Modifier and Type Method Description RecoveryStateIndexShard. recoveryState()Returns the currentRecoveryStateif this shard is recovering or has been recovering.Methods in org.elasticsearch.index.shard with parameters of type RecoveryState Modifier and Type Method Description IndexShardStateIndexShard. markAsRecovering(String reason, RecoveryState recoveryState)Marks the shard as recovering based on a recovery state, fails with exception is recovering is not allowed to be set.voidIndexShard. startRecovery(RecoveryState recoveryState, PeerRecoveryTargetService recoveryTargetService, PeerRecoveryTargetService.RecoveryListener recoveryListener, RepositoriesService repositoriesService, BiConsumer<String,MappingMetaData> mappingUpdateConsumer, IndicesService indicesService) -
Uses of RecoveryState in org.elasticsearch.indices
Methods in org.elasticsearch.indices with parameters of type RecoveryState Modifier and Type Method Description IndexShardIndicesService. createShard(ShardRouting shardRouting, RecoveryState recoveryState, PeerRecoveryTargetService recoveryTargetService, PeerRecoveryTargetService.RecoveryListener recoveryListener, RepositoriesService repositoriesService, Consumer<IndexShard.ShardFailure> onShardFailure, Consumer<ShardId> globalCheckpointSyncer, RetentionLeaseSyncer retentionLeaseSyncer) -
Uses of RecoveryState in org.elasticsearch.indices.cluster
Methods in org.elasticsearch.indices.cluster that return RecoveryState Modifier and Type Method Description RecoveryStateIndicesClusterStateService.Shard. recoveryState()Returns the recovery state associated with this shard.Methods in org.elasticsearch.indices.cluster with parameters of type RecoveryState Modifier and Type Method Description TIndicesClusterStateService.AllocatedIndices. createShard(ShardRouting shardRouting, RecoveryState recoveryState, PeerRecoveryTargetService recoveryTargetService, PeerRecoveryTargetService.RecoveryListener recoveryListener, RepositoriesService repositoriesService, Consumer<IndexShard.ShardFailure> onShardFailure, Consumer<ShardId> globalCheckpointSyncer, RetentionLeaseSyncer retentionLeaseSyncer)Creates a shard for the specified shard routing and starts recovery. -
Uses of RecoveryState in org.elasticsearch.indices.recovery
Methods in org.elasticsearch.indices.recovery that return RecoveryState Modifier and Type Method Description static RecoveryStateRecoveryState. readRecoveryState(StreamInput in)RecoveryStateRecoveryState. setStage(RecoveryState.Stage stage)RecoveryStateRecoveryTarget. state()Methods in org.elasticsearch.indices.recovery with parameters of type RecoveryState Modifier and Type Method Description voidPeerRecoveryTargetService.RecoveryListener. onRecoveryDone(RecoveryState state)voidPeerRecoveryTargetService.RecoveryListener. onRecoveryFailure(RecoveryState state, RecoveryFailedException e, boolean sendShardFailure)Constructors in org.elasticsearch.indices.recovery with parameters of type RecoveryState Constructor Description RecoveryFailedException(RecoveryState state, String extraInfo, Throwable cause) -
Uses of RecoveryState in org.elasticsearch.repositories
Methods in org.elasticsearch.repositories with parameters of type RecoveryState Modifier and Type Method Description default voidRepository. restoreShard(IndexShard shard, Store store, SnapshotId snapshotId, Version version, IndexId indexId, ShardId snapshotShardId, RecoveryState recoveryState)Deprecated.voidRepository. restoreShard(Store store, SnapshotId snapshotId, Version version, IndexId indexId, ShardId snapshotShardId, RecoveryState recoveryState)Restores snapshot of the shard. -
Uses of RecoveryState in org.elasticsearch.repositories.blobstore
Fields in org.elasticsearch.repositories.blobstore declared as RecoveryState Modifier and Type Field Description protected RecoveryStateFileRestoreContext. recoveryStateMethods in org.elasticsearch.repositories.blobstore with parameters of type RecoveryState Modifier and Type Method Description voidBlobStoreRepository. restoreShard(Store store, SnapshotId snapshotId, Version version, IndexId indexId, ShardId snapshotShardId, RecoveryState recoveryState)Constructors in org.elasticsearch.repositories.blobstore with parameters of type RecoveryState Constructor Description FileRestoreContext(String repositoryName, ShardId shardId, SnapshotId snapshotId, RecoveryState recoveryState, int bufferSize)Constructs new restore context
-