com.groupbyinc.flux.cluster.routing.allocation.NodeAllocationResult.class Maven / Gradle / Ivy
???? 4, Ccom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult ?Ljava/lang/Object;Lcom/groupbyinc/flux/common/xcontent/ToXContentObject;Lcom/groupbyinc/flux/common/io/stream/Writeable;Ljava/lang/Comparable; java/lang/Object 4com/groupbyinc/flux/common/xcontent/ToXContentObject .com/groupbyinc/flux/common/io/stream/Writeable java/lang/Comparable
NodeAllocationResult.java Rcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult$ShardStoreInfo
ShardStoreInfo 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params Dcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type ?com/groupbyinc/flux/cluster/routing/allocation/decider/Decision Type 5com/groupbyinc/flux/common/io/stream/Writeable$Reader Reader %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup nodeResultComparator Ljava/util/Comparator; ]Ljava/util/Comparator; node 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; shardStoreInfo TLcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult$ShardStoreInfo; %Lcom/groupbyinc/flux/common/Nullable; nodeDecision CLcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision; canAllocateDecision ALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;
weightRanking I ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult$ShardStoreInfo;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;)V ()V 0 2
3 % & 5 ' ( 7 , - 9 type H()Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type; ; <
= Acom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision ? fromDecisionType ?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision; A B
@ C .com/groupbyinc/flux/cluster/node/DiscoveryNode E NO G + @ H * + J . / L this ELcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult; decision ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;I)V canAllocate u(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;I)V 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException U 0 T
F W "java/lang/invoke/LambdaMetafactory Y 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; [ \
Z ] ^ F(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object; `
W b ?(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult$ShardStoreInfo; d read 9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader; f g h 0com/groupbyinc/flux/common/io/stream/StreamInput j readOptionalWriteable i(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)Lcom/groupbyinc/flux/common/io/stream/Writeable; l m
k n
getVersion ()Lcom/groupbyinc/flux/Version; p q
k r com/groupbyinc/flux/Version t V_5_2_1 Lcom/groupbyinc/flux/Version; v w u x before (Lcom/groupbyinc/flux/Version;)Z z {
u | readFrom u(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; ~
? ? h w(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision; ~ ?
@ ? readVInt ()I ? ?
k ? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ?
F ? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeOptionalWriteable 3(Lcom/groupbyinc/flux/common/io/stream/Writeable;)V ? ?
? ?
? r G - ?
?
@ ? writeVInt (I)V ? ?
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; getNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; getShardStoreInfo V()Lcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult$ShardStoreInfo; getCanAllocateDecision C()Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; isWeightRanked ()Z getWeightRanking getNodeDecision E()Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;
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; ? ?
? ? Icom/groupbyinc/flux/cluster/routing/allocation/AbstractAllocationDecision ? discoveryNodeToXContent ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;ZLcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ?
node_decision ? field [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? ? ?
? ? ?
? weight_ranking ? ? ?
? J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? getDecisions ()Ljava/util/List; ? ?
? java/util/List ? isEmpty ? ? ? ? deciders ?
startArray I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ?
? endArray ? ?
? ? endObject ? ?
? ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; compareTo H(Lcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult;)I " # ? java/util/Comparator ? compare '(Ljava/lang/Object;Ljava/lang/Object;)I ? ? ? ? other (Ljava/lang/Object;)I ? ?
? lambda$static$0 Y(Lcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult;)Ljava/lang/String; ? ?
? getId ()Ljava/lang/String; ? ?
F ? r &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ?
?(Lcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision; apply ()Ljava/util/function/Function; comparing 5(Ljava/util/function/Function;)Ljava/util/Comparator;
? ? ? ?
applyAsInt $()Ljava/util/function/ToIntFunction; thenComparingInt :(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator; ? ? ?
?
thenComparing ? Signature RuntimeVisibleAnnotations Code LocalVariableTable LineNumberTable
StackMapTable "RuntimeVisibleParameterAnnotations
Exceptions BootstrapMethods
SourceFile InnerClasses ! " # ! $ % &