Uses of Interface
org.elasticsearch.cluster.routing.RoutingChangesObserver
-
Packages that use RoutingChangesObserver Package Description org.elasticsearch.cluster.routing org.elasticsearch.cluster.routing.allocation org.elasticsearch.snapshots -
-
Uses of RoutingChangesObserver in org.elasticsearch.cluster.routing
Classes in org.elasticsearch.cluster.routing that implement RoutingChangesObserver Modifier and Type Class Description static classRoutingChangesObserver.AbstractRoutingChangesObserverAbstract implementation ofRoutingChangesObserverthat does not take any action.static classRoutingChangesObserver.DelegatingRoutingChangesObserverMethods in org.elasticsearch.cluster.routing with parameters of type RoutingChangesObserver Modifier and Type Method Description voidRoutingNodes. failShard(org.apache.logging.log4j.Logger logger, ShardRouting failedShard, UnassignedInfo unassignedInfo, IndexMetaData indexMetaData, RoutingChangesObserver routingChangesObserver)Applies the relevant logic to handle a cancelled or failed shard.voidRoutingNodes.UnassignedShards. ignoreShard(ShardRouting shard, UnassignedInfo.AllocationStatus allocationStatus, RoutingChangesObserver changes)Marks a shard as temporarily ignored and adds it to the ignore unassigned list.ShardRoutingRoutingNodes.UnassignedShards.UnassignedIterator. initialize(String nodeId, String existingAllocationId, long expectedShardSize, RoutingChangesObserver routingChangesObserver)Initializes the current unassigned shard and moves it from the unassigned list.ShardRoutingRoutingNodes. initializeShard(ShardRouting unassignedShard, String nodeId, String existingAllocationId, long expectedSize, RoutingChangesObserver routingChangesObserver)Moves a shard from unassigned to initialize stateTuple<ShardRouting,ShardRouting>RoutingNodes. relocateShard(ShardRouting startedShard, String nodeId, long expectedShardSize, RoutingChangesObserver changes)Relocate a shard to another node, adding the target initializing shard as well as assigning it.voidRoutingNodes.UnassignedShards.UnassignedIterator. removeAndIgnore(UnassignedInfo.AllocationStatus attempt, RoutingChangesObserver changes)Removes and ignores the unassigned shard (will be ignored for this run, but will be added back to unassigned once the metadata is constructed again).ShardRoutingRoutingNodes. startShard(org.apache.logging.log4j.Logger logger, ShardRouting initializingShard, RoutingChangesObserver routingChangesObserver)Applies the relevant logic to start an initializing shard.ShardRoutingRoutingNodes.UnassignedShards.UnassignedIterator. updateUnassigned(UnassignedInfo unassignedInfo, RecoverySource recoverySource, RoutingChangesObserver changes)updates the unassigned info and recovery source on the current unassigned shardConstructors in org.elasticsearch.cluster.routing with parameters of type RoutingChangesObserver Constructor Description DelegatingRoutingChangesObserver(RoutingChangesObserver... routingChangesObservers) -
Uses of RoutingChangesObserver in org.elasticsearch.cluster.routing.allocation
Classes in org.elasticsearch.cluster.routing.allocation that implement RoutingChangesObserver Modifier and Type Class Description classIndexMetaDataUpdaterObserver that tracks changes made to RoutingNodes in order to update the primary terms and in-sync allocation ids inIndexMetaDataonce the allocation round has completed.classRoutingNodesChangedObserverRecords if changes were made toRoutingNodesduring an allocation round.Methods in org.elasticsearch.cluster.routing.allocation that return RoutingChangesObserver Modifier and Type Method Description RoutingChangesObserverRoutingAllocation. changes()Returns observer to use for changes made to the routing nodes -
Uses of RoutingChangesObserver in org.elasticsearch.snapshots
Classes in org.elasticsearch.snapshots that implement RoutingChangesObserver Modifier and Type Class Description static classRestoreService.RestoreInProgressUpdater
-