
com.groupbyinc.flux.action.admin.cluster.shards.TransportClusterSearchShardsAction.class Maven / Gradle / Ivy
???? 3 Rcom/groupbyinc/flux/action/admin/cluster/shards/TransportClusterSearchShardsAction ?Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeReadAction; Gcom/groupbyinc/flux/action/support/master/TransportMasterNodeReadAction 'TransportClusterSearchShardsAction.java /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names ,(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;)V *Lcom/groupbyinc/flux/common/inject/Inject; "indices:admin/shards/search_shards Jcom/groupbyinc/flux/action/admin/cluster/shards/ClusterSearchShardsRequest O(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/lang/Class;)V
this TLcom/groupbyinc/flux/action/admin/cluster/shards/TransportClusterSearchShardsAction; settings .Lcom/groupbyinc/flux/common/settings/Settings; transportService 0Lcom/groupbyinc/flux/transport/TransportService; clusterService ,Lcom/groupbyinc/flux/cluster/ClusterService;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool;
actionFilters 2Lcom/groupbyinc/flux/action/support/ActionFilters; indexNameExpressionResolver BLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; executor ()Ljava/lang/String; same &
checkBlock ?(Lcom/groupbyinc/flux/action/admin/cluster/shards/ClusterSearchShardsRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; (com/groupbyinc/flux/cluster/ClusterState * blocks 3()Lcom/groupbyinc/flux/cluster/block/ClusterBlocks; , -
+ . 3com/groupbyinc/flux/cluster/block/ClusterBlockLevel 0
METADATA_READ 5Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel; 2 3 1 4 " # 6 @com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver 8 concreteIndices j(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/IndicesRequest;)[Ljava/lang/String; : ;
9 < /com/groupbyinc/flux/cluster/block/ClusterBlocks > indicesBlockedException ?(Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; @ A
? B request LLcom/groupbyinc/flux/action/admin/cluster/shards/ClusterSearchShardsRequest; state *Lcom/groupbyinc/flux/cluster/ClusterState; newResponse O()Lcom/groupbyinc/flux/action/admin/cluster/shards/ClusterSearchShardsResponse; Kcom/groupbyinc/flux/action/admin/cluster/shards/ClusterSearchShardsResponse J ()V L
K M masterOperation ?(Lcom/groupbyinc/flux/action/admin/cluster/shards/ClusterSearchShardsRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V Q *com/groupbyinc/flux/cluster/ClusterService S ,()Lcom/groupbyinc/flux/cluster/ClusterState; F U T V routing X %
Y indices ()[Ljava/lang/String; [ \
] resolveSearchRouting `(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Map; _ `
9 a 5com/groupbyinc/flux/common/google/common/collect/Sets c
newHashSet ()Ljava/util/HashSet; e f
d g operationRouting 8()Lcom/groupbyinc/flux/cluster/routing/OperationRouting; i j T k
preference m %
n 4com/groupbyinc/flux/cluster/routing/OperationRouting p searchShards ?(Lcom/groupbyinc/flux/cluster/ClusterState;[Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/GroupShardsIterator; r s
q t 7com/groupbyinc/flux/cluster/routing/GroupShardsIterator v size ()I x y
w z Hcom/groupbyinc/flux/action/admin/cluster/shards/ClusterSearchShardsGroup | iterator ()Ljava/util/Iterator; ~
w ? )com/groupbyinc/flux/action/ActionListener ? [Ljava/lang/String; ?
java/util/Map ?
java/util/Set ? K[Lcom/groupbyinc/flux/action/admin/cluster/shards/ClusterSearchShardsGroup; ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? 1com/groupbyinc/flux/cluster/routing/ShardIterator ? shardId +()Lcom/groupbyinc/flux/index/shard/ShardId; ? ? ? ? 'com/groupbyinc/flux/index/shard/ShardId ? getIndex ? %
? ? getId ? y
? ? ? z 0com/groupbyinc/flux/cluster/routing/ShardRouting ? reset ? L ? ? java/lang/String ? 3[Lcom/groupbyinc/flux/cluster/routing/ShardRouting; ?
nextOrNull 4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting; ? ? ? ?
currentNodeId ? %
? ? add (Ljava/lang/Object;)Z ? ? ? ? I(Ljava/lang/String;I[Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)V ?
} ? ? z .com/groupbyinc/flux/cluster/node/DiscoveryNode ? ? ? 1[Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? getNodes 3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; ? ?
+ ? /com/groupbyinc/flux/cluster/node/DiscoveryNodes ? get D(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? ?
? ? ([Lcom/groupbyinc/flux/action/admin/cluster/shards/ClusterSearchShardsGroup;[Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V ?
K ?
onResponse (Ljava/lang/Object;)V ? ? ? ? index Ljava/lang/String; I
shardRoutings currentShard shardIt 3Lcom/groupbyinc/flux/cluster/routing/ShardIterator; shard 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting; nodeId listener zLcom/groupbyinc/flux/action/ActionListener; +Lcom/groupbyinc/flux/action/ActionListener; clusterState
routingMap FLjava/util/Map;>; Ljava/util/Map; nodeIds #Ljava/util/Set; Ljava/util/Set; groupShardsIterator 9Lcom/groupbyinc/flux/cluster/routing/GroupShardsIterator; groupResponses currentGroup nodes currentNode ?(Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; ( )
? ?(Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V java/lang/Exception ? O P
? -()Lcom/groupbyinc/flux/action/ActionResponse; H I
? Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations LocalVariableTypeTable
StackMapTable Signature ?(Lcom/groupbyinc/flux/action/admin/cluster/shards/ClusterSearchShardsRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V
Exceptions
SourceFile InnerClasses !
? | *+,-? ? ? H ! " # ?
3 4 ? $ % ? - '? ? ? 9 ( ) ? R ,? /? 5*? 7,+? =? C? ? D E F G ? > H I ? 2 ? KY? N? ? ? C O P ? > 2*? R? W :*? 7+? =:*? 7,+? Z+? ^? b:? h:*? R? l +? o? u:? {? }: 6
? ?:? ? ? |? ? ? ?:? ? ? ?:
? ? ? ?6? ? ? ?:6? ? ? ? Y:? ?S? ?? ? W???
?
? }Y
? ?S???? ? ? ?:6? ? :
? ? ? $
? ? ? ?:?? ?? ?S???-? KY ? ι ? ? ? ? | ^ ? ?
? R ? ? ? F ? ? ? C ? ? p j ? ? ? 5 ? ? ? ? 2 2 D E 2 F G 2 ? ? ' ? G : ? ) ? ? . ? ? F ? ? ? P ? ? ? S ? ? ?
? I ? ? ? F ? ? ? 2 ? ? ) ? ? . ? ? ? f H I J ) K . L F N P O S P p Q | R ? S ? T ? U ? V ? W ? X ? Z ? [ ? \ ? ] ? ^ _ ` a1 b ? ? ? Z + ? + ? ? ? w ? ? ? C + ? + ? ? ? w ? ? ? ? ? ? & ?? + ? + ? ? ? w ? ? ? ?? * ? ?D ( ? ? 4
*+? ,? ? ?
? .D O ? ? 5 *+? ,-? ?? ? ? . ?D H ? ? / *? ?? ? ? . ?
© 2015 - 2025 Weber Informatics LLC | Privacy Policy