Package org.elasticsearch.snapshots
Class RestoreService.RestoreInProgressUpdater
java.lang.Object
org.elasticsearch.cluster.routing.RoutingChangesObserver.AbstractRoutingChangesObserver
org.elasticsearch.snapshots.RestoreService.RestoreInProgressUpdater
- All Implemented Interfaces:
RoutingChangesObserver
- Enclosing class:
- RestoreService
public static class RestoreService.RestoreInProgressUpdater
extends RoutingChangesObserver.AbstractRoutingChangesObserver
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.cluster.routing.RoutingChangesObserver
RoutingChangesObserver.AbstractRoutingChangesObserver, RoutingChangesObserver.DelegatingRoutingChangesObserver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyChanges(RestoreInProgress oldRestore)voidshardFailed(ShardRouting failedShard, UnassignedInfo unassignedInfo)Called when a shard is failed or cancelled.voidshardInitialized(ShardRouting unassignedShard, ShardRouting initializedShard)Called when unassigned shard is initialized.voidshardStarted(ShardRouting initializingShard, ShardRouting startedShard)Called when an initializing shard is started.voidunassignedInfoUpdated(ShardRouting unassignedShard, UnassignedInfo newUnassignedInfo)Called when an unassigned shard's unassigned information was updatedMethods inherited from class org.elasticsearch.cluster.routing.RoutingChangesObserver.AbstractRoutingChangesObserver
initializedReplicaReinitialized, relocationCompleted, relocationSourceRemoved, relocationStarted, replicaPromoted
-
Constructor Details
-
RestoreInProgressUpdater
public RestoreInProgressUpdater()
-
-
Method Details
-
shardStarted
Description copied from interface:RoutingChangesObserverCalled when an initializing shard is started.- Specified by:
shardStartedin interfaceRoutingChangesObserver- Overrides:
shardStartedin classRoutingChangesObserver.AbstractRoutingChangesObserver
-
shardFailed
Description copied from interface:RoutingChangesObserverCalled when a shard is failed or cancelled.- Specified by:
shardFailedin interfaceRoutingChangesObserver- Overrides:
shardFailedin classRoutingChangesObserver.AbstractRoutingChangesObserver
-
shardInitialized
Description copied from interface:RoutingChangesObserverCalled when unassigned shard is initialized. Does not include initializing relocation target shards.- Specified by:
shardInitializedin interfaceRoutingChangesObserver- Overrides:
shardInitializedin classRoutingChangesObserver.AbstractRoutingChangesObserver
-
unassignedInfoUpdated
Description copied from interface:RoutingChangesObserverCalled when an unassigned shard's unassigned information was updated- Specified by:
unassignedInfoUpdatedin interfaceRoutingChangesObserver- Overrides:
unassignedInfoUpdatedin classRoutingChangesObserver.AbstractRoutingChangesObserver
-
applyChanges
-