- All Known Implementing Classes:
public interface RoutingChangesObserver
Records changes made to
RoutingNodes during an allocation round.
Nested Class SummaryModifier and TypeInterfaceDescription
static classAbstract implementation of
RoutingChangesObserverthat does not take any action.
Method SummaryModifier and TypeMethodDescription
voidCalled when an initializing replica is reinitialized.
voidCalled on relocation source when relocation completes after relocation target is started.
voidCalled on replica relocation target when replica relocation source fails.
voidCalled when relocation of a started shard is initiated.
voidCalled when started replica is promoted to primary.
voidCalled when a shard is failed or cancelled.
voidCalled when unassigned shard is initialized.
voidCalled when an initializing shard is started.
voidCalled when an unassigned shard's unassigned information was updated
relocationStartedCalled when relocation of a started shard is initiated.
unassignedInfoUpdatedCalled when an unassigned shard's unassigned information was updated
(ShardRouting removedRelocationSource)Called on relocation source when relocation completes after relocation target is started.
(ShardRouting removedReplicaRelocationSource)Called on replica relocation target when replica relocation source fails. Promotes the replica relocation target to ordinary initializing shard.
(ShardRouting replicaShard)Called when started replica is promoted to primary.
initializedReplicaReinitializedCalled when an initializing replica is reinitialized. This happens when a primary relocation completes, which reinitializes all currently initializing replicas as their recovery source node changes