com.groupbyinc.flux.cluster.routing.allocation.decider.ClusterRebalanceAllocationDecider.class Maven / Gradle / Ivy
???? 4 ? Xcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider Hcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecider &ClusterRebalanceAllocationDecider.java mcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ClusterRebalanceType ClusterRebalanceType 4com/groupbyinc/flux/common/settings/Setting$Property +com/groupbyinc/flux/common/settings/Setting Property %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup NAME Ljava/lang/String; cluster_rebalance *CLUSTER_ROUTING_ALLOCATION_ALLOW_REBALANCE *cluster.routing.allocation.allow_rebalance 2CLUSTER_ROUTING_ALLOCATION_ALLOW_REBALANCE_SETTING -Lcom/groupbyinc/flux/common/settings/Setting; ?Lcom/groupbyinc/flux/common/settings/Setting; type oLcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ClusterRebalanceType; f(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;)V java/lang/IllegalStateException ! 1(Lcom/groupbyinc/flux/common/settings/Settings;)V #
$ & get B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object; ( )
* , ,com/groupbyinc/flux/common/settings/Settings . 3com/groupbyinc/flux/common/settings/ClusterSettings 0 logger 8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; 2 3 4 =[{}] has a wrong value {}, defaulting to 'indices_all_active' 6 getRaw B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String; 8 9
: 6com/groupbyinc/flux/common/apache/logging/log4j/Logger < warn 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V > ? = @ INDICES_ALL_ACTIVE B C using [{}] with [{}] E debug G ? = H "java/lang/invoke/LambdaMetafactory J metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; L M
K N O (Ljava/lang/Object;)V Q setType r(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ClusterRebalanceType;)V S T
U V T accept y(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider;)Ljava/util/function/Consumer; Y Z [ addSettingsUpdateConsumer M(Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Consumer;)V ] ^
1 _ e !Ljava/lang/IllegalStateException; this ZLcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider; settings .Lcom/groupbyinc/flux/common/settings/Settings; clusterSettings 5Lcom/groupbyinc/flux/common/settings/ClusterSettings; canRebalance ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; ?(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; i k
l shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;
allocation BLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation; INDICES_PRIMARIES_ACTIVE r s @com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation u routingNodes 4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes; w x
v y 0com/groupbyinc/flux/cluster/routing/RoutingNodes { hasUnassignedPrimaries ()Z } ~
| ?com/groupbyinc/flux/cluster/routing/allocation/decider/Decision ? NO ALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; ? ? ? ? Qthe cluster has unassigned primary shards and cluster setting [%s] is set to [%s] ? 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; ? ?
v ? hasInactivePrimaries ? ~
| ? Othe cluster has inactive primary shards and cluster setting [%s] is set to [%s] ? YES ? ? ? ? all primary shards are active ? hasUnassignedShards ? ~
| ? Ithe cluster has unassigned shards and cluster setting [%s] is set to [%s] ? hasInactiveShards ? ~
| ? Gthe cluster has inactive shards and cluster setting [%s] is set to [%s] ? all shards are active ? ()V toString ()Ljava/lang/String; ? ?
? &(Ljava/lang/Object;)Ljava/lang/Object; ? parseString ?(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ClusterRebalanceType; ? ?
? ? ? apply ()Ljava/util/function/Function; ? ? ? Dynamic 6Lcom/groupbyinc/flux/common/settings/Setting$Property; ? ?
? NodeScope ? ?
? {(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V ?
?
ConstantValue Signature Code LocalVariableTable LineNumberTable
StackMapTable BootstrapMethods
SourceFile InnerClasses ! ? ? ? B ? ? R*+? %*? '+? +? ? -? N*? 57? '? '+? ;? A *? D? -*? 5F*? -? I ,? '*? \ ? `? " ? * a b R c d R e f R g h ? . ^ ` f a b $ d ' b , e 3 g D i Q j ? ? / 1 " S T ? > *+? -? ? c d ?
m n i j ? D *,? m? ? c d n o p q ? r i k ? 9 ?*? -? t? _+? z? ?? +? ??? ?YSY*? -S? ??+? z? ?? +? ??? ?YSY*? -S? ??+? ??? ?? ??*? -? D? O+? z? ?? +? ??? ?YSY*? -S? ??+? z? ?? +? ??? ?YSY*? -S? ??+? ??? ?? ?? ? ? c d ? p q ? 2 w
y z 0 : ? V ? f ? p ? z ? ? ? ? ? ? ? ? 0%/% ? ? ? H (? Y? D? ?? ? ?
Y? ?SY? ?S? ?? '? ? 4 5 ' 4 ? P R W X P ? ? ? ? ? @
@
© 2015 - 2025 Weber Informatics LLC | Privacy Policy