com.groupbyinc.flux.cluster.routing.allocation.decider.Decision$Single.class Maven / Gradle / Ivy
???? 4 ? Fcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Single ?com/groupbyinc/flux/cluster/routing/allocation/decider/Decision
Decision.java Dcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type Type Single 5com/groupbyinc/flux/common/xcontent/ToXContent$Params
.com/groupbyinc/flux/common/xcontent/ToXContent Params type FLcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type; label Ljava/lang/String; explanation explanationString explanationParams [Ljava/lang/Object; ()V
this HLcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Single; I(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;)V ?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
%Lcom/groupbyinc/flux/common/Nullable; # % ' ) H()Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type; ()Ljava/lang/String; getDecisions ()Ljava/util/List; java/util/Collections /
singletonList $(Ljava/lang/Object;)Ljava/util/List; 1 2
0 3 getExplanation 6 java/util/Locale 8 ROOT Ljava/util/Locale; : ; 9 < java/lang/String > format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; @ A
? B equals (Ljava/lang/Object;)Z java/lang/Object F getClass ()Ljava/lang/Class; H I
G J java/util/Objects L '(Ljava/lang/Object;Ljava/lang/Object;)Z D N
M O 5 ,
Q object Ljava/lang/Object; s hashCode ()I V W
X
? X result I explanationStr toString java/lang/StringBuilder _
` append -(Ljava/lang/Object;)Ljava/lang/StringBuilder; b c
` d ( f -(Ljava/lang/String;)Ljava/lang/StringBuilder; b h
` i ) k ^ ,
` m () o
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; java/io/IOException s 3com/groupbyinc/flux/common/xcontent/XContentBuilder u startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; w x
v y decider { field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; } ~
v decision ? [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; } ?
v ? none ? endObject ? x
v ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeBoolean (Z)V ? ?
? ? ? ?
? writeOptionalString (Ljava/lang/String;)V ? ?
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
access$102 ?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Single;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type; x0 x1
access$202 n(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Single;Ljava/lang/String;)Ljava/lang/String;
access$302 Code LocalVariableTable LineNumberTable "RuntimeVisibleParameterAnnotations RuntimeVisibleAnnotations Signature U()Ljava/util/List;
StackMapTable
Exceptions
SourceFile InnerClasses ! ? 3 *? ? ? ?
? ? ? D *+? ? !? ? ?
? ? ? ? ? *? *+? $*,? &*-? (*? *? ? 4 ? ? ? ? ? ? ? ? " " " + ? / *? $? ? ? ? , ? / *? &? ? ? ? ? " - . ? / *? 4? ? ? ? ? ? 5 , ? ` %*? 7? *? (? *? =*? (*? *? C? 7*? 7? ? % ? ? ? ? ? ? " D E ? ? J*+? ?+? *? K+? K? ?+? M*? $,? $? #*? &,? &? P? *? R,? R? P? ? ? ? J J S T - U ? &