
com.groupbyinc.flux.action.admin.cluster.allocation.ClusterAllocationExplainRequest.class Maven / Gradle / Ivy
???? 4 Scom/groupbyinc/flux/action/admin/cluster/allocation/ClusterAllocationExplainRequest ?Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest; ;com/groupbyinc/flux/action/support/master/MasterNodeRequest $ClusterAllocationExplainRequest.java %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup PARSER 2Lcom/groupbyinc/flux/common/xcontent/ObjectParser; ?Lcom/groupbyinc/flux/common/xcontent/ObjectParser; index Ljava/lang/String; %Lcom/groupbyinc/flux/common/Nullable; shard Ljava/lang/Integer; primary Ljava/lang/Boolean; currentNode includeYesDecisions Z includeDiskInfo ()V
" $ & ( this ULcom/groupbyinc/flux/action/admin/cluster/allocation/ClusterAllocationExplainRequest; )(Ljava/lang/String;IZLjava/lang/String;)V java/lang/Integer - valueOf (I)Ljava/lang/Integer; / 0
. 1 java/lang/Boolean 3 (Z)Ljava/lang/Boolean; / 5
4 6 I validate ?()Lcom/groupbyinc/flux/action/ActionRequestValidationException; useAnyUnassignedShard ()Z ; <
= index must be specified ? *com/groupbyinc/flux/action/ValidateActions A addValidationError ?(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionRequestValidationException;)Lcom/groupbyinc/flux/action/ActionRequestValidationException; C D
B E ;com/groupbyinc/flux/action/ActionRequestValidationException G shard must be specified I primary must be specified K validationException =Lcom/groupbyinc/flux/action/ActionRequestValidationException; setIndex i(Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/allocation/ClusterAllocationExplainRequest; getIndex ()Ljava/lang/String; setShard j(Ljava/lang/Integer;)Lcom/groupbyinc/flux/action/admin/cluster/allocation/ClusterAllocationExplainRequest; getShard ()Ljava/lang/Integer;
setPrimary j(Ljava/lang/Boolean;)Lcom/groupbyinc/flux/action/admin/cluster/allocation/ClusterAllocationExplainRequest; isPrimary ()Ljava/lang/Boolean; setCurrentNode
currentNodeId getCurrentNode (Z)V toString java/lang/StringBuilder ` ClusterAllocationExplainRequest[ b (Ljava/lang/String;)V d
a e useAnyUnassignedShard=true g append -(Ljava/lang/String;)Ljava/lang/StringBuilder; i j
a k index= m ,shard= o -(Ljava/lang/Object;)Ljava/lang/StringBuilder; i q
a r
,primary?= t
,currentNode= v ,includeYesDecisions?= x (Z)Ljava/lang/StringBuilder; i z
a { _ R
a } sb Ljava/lang/StringBuilder; parse ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/action/admin/cluster/allocation/ClusterAllocationExplainRequest; java/io/IOException ?
?
0com/groupbyinc/flux/common/xcontent/ObjectParser ? l(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V 0com/groupbyinc/flux/common/io/stream/StreamInput ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
? ? checkVersion (Lcom/groupbyinc/flux/Version;)V ? ?
? ? ?
? readOptionalString ? R
? ? readOptionalVInt ? V
? ? readOptionalBoolean ? Z
? ? readBoolean ? <
? ? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput ?
? ? ? ?
? writeOptionalString ? d
? ? writeOptionalVInt (Ljava/lang/Integer;)V ? ?
? ? writeOptionalBoolean (Ljava/lang/Boolean;)V ? ?
? ? writeBoolean ? ^
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; com/groupbyinc/flux/Version ? V_5_2_0 Lcom/groupbyinc/flux/Version; ? ? ? ? before (Lcom/groupbyinc/flux/Version;)Z ? ?
? ? "java/lang/IllegalArgumentException ?
a 2cannot explain shards in a mixed-cluster with pre- ? nodes, node version [ ? ] ?
? e version cluster/allocation/explain ?
? e "java/lang/invoke/LambdaMetafactory ? 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; ? ?
? ? ? '(Ljava/lang/Object;Ljava/lang/Object;)V ? O P
? ? j(Lcom/groupbyinc/flux/action/admin/cluster/allocation/ClusterAllocationExplainRequest;Ljava/lang/String;)V ? accept !()Ljava/util/function/BiConsumer; ? ? ? %com/groupbyinc/flux/common/ParseField ? java/lang/String ? ((Ljava/lang/String;[Ljava/lang/String;)V ?
? ?
declareString I(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/ParseField;)V ? ?
? ? S T
? ? k(Lcom/groupbyinc/flux/action/admin/cluster/allocation/ClusterAllocationExplainRequest;Ljava/lang/Integer;)V ? ?
declareInt ?
? W X
k(Lcom/groupbyinc/flux/action/admin/cluster/allocation/ClusterAllocationExplainRequest;Ljava/lang/Boolean;)V ? declareBoolean
?
? [ P
? current_node Signature RuntimeVisibleAnnotations Code LocalVariableTable LineNumberTable "RuntimeVisibleParameterAnnotations
StackMapTable
Exceptions BootstrapMethods
SourceFile InnerClasses !
i #*? *? *? !*? #*? %*? '*? )? # * + " ? 9 : @ A B C " D , ? **? *? *? !*+? #*? 2? %*? 7? '*? )? 4 * * + * * 8 * * " M 9 : N O P # Q ) R
9 : ? 5L*? >? -*? #?
@+? FL*? %?
J+? FL*? '?
L+? FL+? 5 * + 3 M N &