
com.groupbyinc.flux.cluster.routing.allocation.decider.ConcurrentRebalanceAllocationDecider.class Maven / Gradle / Ivy
???? 3 ~ [com/groupbyinc/flux/cluster/routing/allocation/decider/ConcurrentRebalanceAllocationDecider Hcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecider )ConcurrentRebalanceAllocationDecider.java icom/groupbyinc/flux/cluster/routing/allocation/decider/ConcurrentRebalanceAllocationDecider$ApplySettings
ApplySettings >com/groupbyinc/flux/node/settings/NodeSettingsService$Listener 5com/groupbyinc/flux/node/settings/NodeSettingsService Listener NAME Ljava/lang/String; concurrent_rebalance 7CLUSTER_ROUTING_ALLOCATION_CLUSTER_CONCURRENT_REBALANCE 7cluster.routing.allocation.cluster_concurrent_rebalance clusterConcurrentRebalance I h(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/node/settings/NodeSettingsService;)V *Lcom/groupbyinc/flux/common/inject/Inject; 1(Lcom/groupbyinc/flux/common/settings/Settings;)V
java/lang/Integer valueOf (I)Ljava/lang/Integer;
! ,com/groupbyinc/flux/common/settings/Settings # getAsInt :(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer; % &
$ ' intValue ()I ) *
+ - logger -Lcom/groupbyinc/flux/common/logging/ESLogger; / 0 1 .using [cluster_concurrent_rebalance] with [{}] 3 java/lang/Object 5 +com/groupbyinc/flux/common/logging/ESLogger 7 debug ((Ljava/lang/String;[Ljava/lang/Object;)V 9 : 8 ; `(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ConcurrentRebalanceAllocationDecider;)V =
> addListener C(Lcom/groupbyinc/flux/node/settings/NodeSettingsService$Listener;)V @ A
B this ]Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ConcurrentRebalanceAllocationDecider; settings .Lcom/groupbyinc/flux/common/settings/Settings; nodeSettingsService 7Lcom/groupbyinc/flux/node/settings/NodeSettingsService; canRebalance ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; ?com/groupbyinc/flux/cluster/routing/allocation/decider/Decision L YES ALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; N O M P %all concurrent rebalances are allowed R @com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation T decision ?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; V W
U X routingNodes 4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes; Z [
U \ 0com/groupbyinc/flux/cluster/routing/RoutingNodes ^ getRelocatingShardCount ` *
_ a NO c O M d /too man concurrent rebalances [%d], limit: [%d] f .below threshold [%d] for concurrent rebalances h shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;
allocation BLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;
access$000 `(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ConcurrentRebalanceAllocationDecider;)I x0
access$100 ?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ConcurrentRebalanceAllocationDecider;)Lcom/groupbyinc/flux/common/logging/ESLogger;
access$002 a(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ConcurrentRebalanceAllocationDecider;I)I x1
ConstantValue Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations
StackMapTable
SourceFile InnerClasses ! v v B w ? <*+? *+? "? (? ,? .*? 24? 6Y*? .? "S? < ,? Y*? ?? C? x <