
com.groupbyinc.flux.action.support.broadcast.TransportBroadcastAction$AsyncBroadcastAction.class Maven / Gradle / Ivy
???? 4d Zcom/groupbyinc/flux/action/support/broadcast/TransportBroadcastAction$AsyncBroadcastAction java/lang/Object TransportBroadcastAction.java Ecom/groupbyinc/flux/action/support/broadcast/TransportBroadcastAction AsyncBroadcastAction \com/groupbyinc/flux/action/support/broadcast/TransportBroadcastAction$AsyncBroadcastAction$1 task Lcom/groupbyinc/flux/tasks/Task; request ?Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest; TRequest; listener +Lcom/groupbyinc/flux/action/ActionListener; 7Lcom/groupbyinc/flux/action/ActionListener; clusterState *Lcom/groupbyinc/flux/cluster/ClusterState; nodes 1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; shardsIts 9Lcom/groupbyinc/flux/cluster/routing/GroupShardsIterator; nLcom/groupbyinc/flux/cluster/routing/GroupShardsIterator; expectedOps I
counterOps +Ljava/util/concurrent/atomic/AtomicInteger; shardsResponses 2Ljava/util/concurrent/atomic/AtomicReferenceArray; this$0 GLcom/groupbyinc/flux/action/support/broadcast/TransportBroadcastAction; ?(Lcom/groupbyinc/flux/action/support/broadcast/TransportBroadcastAction;Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;Lcom/groupbyinc/flux/action/ActionListener;)V ! $ ()V " &
' )java/util/concurrent/atomic/AtomicInteger )
* ' , .
0 2 clusterService 4Lcom/groupbyinc/flux/cluster/service/ClusterService; 4 5 6 2com/groupbyinc/flux/cluster/service/ClusterService 8 state ,()Lcom/groupbyinc/flux/cluster/ClusterState; : ;
9 < > checkGlobalBlock ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; @ A
B com/groupbyinc/flux/tasks/Task D =com/groupbyinc/flux/action/support/broadcast/BroadcastRequest F )com/groupbyinc/flux/action/ActionListener H 7com/groupbyinc/flux/cluster/block/ClusterBlockException J
access$000 ?(Lcom/groupbyinc/flux/action/support/broadcast/TransportBroadcastAction;)Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; L M
N @com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver P concreteIndexNames j(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/IndicesRequest;)[Ljava/lang/String; R S
Q T checkRequestBlock ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; V W
X [Ljava/lang/String; Z (com/groupbyinc/flux/cluster/ClusterState \ 3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; ^
] _ a
access$100 j(Lcom/groupbyinc/flux/action/support/broadcast/TransportBroadcastAction;)Lorg/apache/logging/log4j/Logger; c d
e 4resolving shards based on cluster state version [{}] g version ()J i j
] k java/lang/Long m valueOf (J)Ljava/lang/Long; o p
n q org/apache/logging/log4j/Logger s trace '(Ljava/lang/String;Ljava/lang/Object;)V u v t w shards ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/GroupShardsIterator; y z
{ } 7com/groupbyinc/flux/cluster/routing/GroupShardsIterator size ()I ? ?
? ? ? 0java/util/concurrent/atomic/AtomicReferenceArray ? (I)V " ?
? ? ? this ?Lcom/groupbyinc/flux/action/support/broadcast/TransportBroadcastAction.AsyncBroadcastAction; \Lcom/groupbyinc/flux/action/support/broadcast/TransportBroadcastAction$AsyncBroadcastAction; blockException 9Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; concreteIndices start java/lang/Exception ? newResponse ?(Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;Ljava/util/concurrent/atomic/AtomicReferenceArray;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/action/support/broadcast/BroadcastResponse; ? ?
?
onResponse (Ljava/lang/Object;)V ? ? I ? onFailure (Ljava/lang/Exception;)V ? ? I ? iterator ()Ljava/util/Iterator; ? ?
? ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? 1com/groupbyinc/flux/cluster/routing/ShardIterator ?
nextOrNull 4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting; ? ? ? ? performOperation i(Lcom/groupbyinc/flux/cluster/routing/ShardIterator;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;I)V ? ?
? 0com/groupbyinc/flux/cluster/routing/ShardRouting ? :com/groupbyinc/flux/action/NoShardAvailableActionException ? shardId +()Lcom/groupbyinc/flux/index/shard/ShardId; ? ? ? ? ,(Lcom/groupbyinc/flux/index/shard/ShardId;)V " ?
? ? onOperation ~(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/ShardIterator;ILjava/lang/Exception;)V ? ?
? e Ljava/lang/Exception; shard 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting; shardIt 3Lcom/groupbyinc/flux/cluster/routing/ShardIterator;
shardIndex ? ? newShardRequest ?(ILcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;)Lcom/groupbyinc/flux/action/support/broadcast/BroadcastShardRequest; ? ?
? localNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? ?
9 ? .com/groupbyinc/flux/cluster/node/DiscoveryNode ? getId ()Ljava/lang/String; ? ?
? ? ? j
E ? Bcom/groupbyinc/flux/action/support/broadcast/BroadcastShardRequest ?
setParentTask (Ljava/lang/String;J)V ? ?
? ?
currentNodeId ? ?
? ? /com/groupbyinc/flux/cluster/node/DiscoveryNodes ? get D(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? ?
? ? transportService 0Lcom/groupbyinc/flux/transport/TransportService; ? ? ? transportShardAction Ljava/lang/String; ? ? ? ?(Lcom/groupbyinc/flux/action/support/broadcast/TransportBroadcastAction$AsyncBroadcastAction;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;ILcom/groupbyinc/flux/cluster/routing/ShardIterator;)V " ?
? .com/groupbyinc/flux/transport/TransportService ? sendRequest ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V ? ?
? shardRequest TShardRequest; DLcom/groupbyinc/flux/action/support/broadcast/BroadcastShardRequest; node 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; {(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;ILcom/groupbyinc/flux/action/support/broadcast/BroadcastShardResponse;)V
access$200 d
received response for {} set (ILjava/lang/Object;)V
? incrementAndGet ?
* finishHim &
response TShardResponse; ELcom/groupbyinc/flux/action/support/broadcast/BroadcastShardResponse; %Lcom/groupbyinc/flux/common/Nullable;
setFailure L(Lcom/groupbyinc/flux/cluster/routing/ShardIterator;ILjava/lang/Exception;)V
access$300 d
isTraceEnabled" ? t# 3com/groupbyinc/flux/action/support/TransportActions% isShardNotAvailableException (Ljava/lang/Throwable;)Z'(
&)
access$400+ d
, 5org/apache/logging/log4j/message/ParameterizedMessage. {}: failed to execute [{}]0 shortSummary2 ?
?3 java/lang/String5 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V "7
/8 B(Lorg/apache/logging/log4j/message/Message;Ljava/lang/Throwable;)V u: t;
access$500= d
> isDebugEnabled@ ? tA
access$600C d
D debugF: tG nextShard Scom/groupbyinc/flux/action/support/broadcast/BroadcastShardOperationFailedExceptionJ A(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/Throwable;)V "L
KM (I)Ljava/lang/Object; ?O
?P java/lang/ThrowableR isReadOverrideException (Ljava/lang/Exception;)ZTU
&V Ljava/lang/Object; Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable c(Lcom/groupbyinc/flux/tasks/Task;TRequest;Lcom/groupbyinc/flux/action/ActionListener;)V E(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;ITShardResponse;)V "RuntimeVisibleParameterAnnotations
SourceFile InnerClasses !
Y Y Y ! " # Z ? ?*+? %*? (*? *Y? +? -*,? /*-? 1*? 3*+? 7? =? ?+*? ?-? C:? ?+? O*? ?-? U:+*? ?-? Y:? ?**? ?? `? b+? fh*? ?? l? r? x *+*? ?-? |? ~**? ~? ?? ?*? ?Y*? ?? ?? ?? [ H ? ? ? ? ! ? ?
? : u ? ? P _ ? Z \ ? ? ? ?
? ] N o l p q r $ t / v : w ? x B { P | ] } b ~ e ? p ? ? ? ? ? ? ? ? ?^ ! ? B E G I K ? " [Y _ ? &