
com.groupbyinc.flux.cluster.routing.allocation.decider.RebalanceOnlyWhenActiveAllocationDecider.class Maven / Gradle / Ivy
???? 3 ? _com/groupbyinc/flux/cluster/routing/allocation/decider/RebalanceOnlyWhenActiveAllocationDecider Hcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecider -RebalanceOnlyWhenActiveAllocationDecider.java NAME Ljava/lang/String; rebalance_only_when_active 1(Lcom/groupbyinc/flux/common/settings/Settings;)V *Lcom/groupbyinc/flux/common/inject/Inject;
this aLcom/groupbyinc/flux/cluster/routing/allocation/decider/RebalanceOnlyWhenActiveAllocationDecider; settings .Lcom/groupbyinc/flux/common/settings/Settings; 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/RoutingAllocation routingNodes 4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;
0com/groupbyinc/flux/cluster/routing/RoutingNodes allReplicasActive 5(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Z
?com/groupbyinc/flux/cluster/routing/allocation/decider/Decision ! NO ALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; # $ " % ¬ all replicas are active in cluster ' java/lang/Object ) 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; + ,
- YES / $ " 0 "all replicas are active in cluster 2 shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;
allocation BLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;
ConstantValue Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations
StackMapTable
SourceFile ! 8
9 > *+? ? : ;
$ % <