com.groupbyinc.flux.cluster.routing.AllocationId.class Maven / Gradle / Ivy
???? 4 ? 0com/groupbyinc/flux/cluster/routing/AllocationId java/lang/Object 4com/groupbyinc/flux/common/xcontent/ToXContentObject .com/groupbyinc/flux/common/io/stream/Writeable AllocationId.java 2com/groupbyinc/flux/cluster/routing/AllocationId$1
8com/groupbyinc/flux/cluster/routing/AllocationId$Builder Builder 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup ID_KEY Ljava/lang/String; id RELOCATION_ID_KEY
relocation_id ALLOCATION_ID_PARSER 2Lcom/groupbyinc/flux/common/xcontent/ObjectParser; ~Lcom/groupbyinc/flux/common/xcontent/ObjectParser; relocationId %Lcom/groupbyinc/flux/common/Nullable; $assertionsDisabled Z 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ) ()V ' +
, 0com/groupbyinc/flux/common/io/stream/StreamInput .
readString ()Ljava/lang/String; 0 1
/ 2 4 readOptionalString 6 1
/ 7 # 9 this 2Lcom/groupbyinc/flux/cluster/routing/AllocationId; 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 A writeString (Ljava/lang/String;)V C D
B E writeOptionalString G D
B H out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; '(Ljava/lang/String;Ljava/lang/String;)V Argument [id] must be non-null M java/util/Objects O requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; Q R
P S newInitializing 4()Lcom/groupbyinc/flux/cluster/routing/AllocationId; com/groupbyinc/flux/common/UUIDs W randomBase64UUID Y 1
X Z ' L
\ F(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/AllocationId; existingAllocationId newTargetRelocation f(Lcom/groupbyinc/flux/cluster/routing/AllocationId;)Lcom/groupbyinc/flux/cluster/routing/AllocationId; % & b getRelocationId d 1
e java/lang/AssertionError g
h , getId j 1
k allocationId
newRelocation cancelRelocation finishRelocation equals (Ljava/lang/Object;)Z getClass ()Ljava/lang/Class; s t
u java/lang/String w q r
x y o Ljava/lang/Object; that hashCode ()I ~
x ? result I toString java/lang/StringBuilder ?
? , [id= ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ? , rId= ? ? 1
? ? ] ?
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? endObject ? ?
? ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; fromXContent h(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/AllocationId; ! ? 7(Lcom/groupbyinc/flux/cluster/routing/AllocationId$1;)V ' ?
? 0com/groupbyinc/flux/common/xcontent/ObjectParser ? parse l(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? build ? V
? parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; [(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/routing/AllocationId$1;)V x0 x1 x2 4Lcom/groupbyinc/flux/cluster/routing/AllocationId$1; java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? m ' D
? ? "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 ? setId ? D
? ? O(Lcom/groupbyinc/flux/cluster/routing/AllocationId$Builder;Ljava/lang/String;)V ? accept !()Ljava/util/function/BiConsumer; ? ? ? %com/groupbyinc/flux/common/ParseField ? ((Ljava/lang/String;[Ljava/lang/String;)V ' ?
? ?
declareString I(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/ParseField;)V ? ?
? ? setRelocationId ? D
? ? ?
ConstantValue Signature RuntimeVisibleAnnotations Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable BootstrapMethods
SourceFile InnerClasses ! ? ? ! ? " # ? $ % &