com.groupbyinc.flux.index.query.QueryRewriteContext.class Maven / Gradle / Ivy
???? 4 ? 3com/groupbyinc/flux/index/query/QueryRewriteContext java/lang/Object QueryRewriteContext.java 5com/groupbyinc/flux/index/query/QueryRewriteContext$1 xContentRegistry ;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry; writeableRegistry =Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry; client #Lcom/groupbyinc/flux/client/Client; nowInMillis !Ljava/util/function/LongSupplier; asyncActions Ljava/util/List; ?Ljava/util/List;>;>; ?(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/client/Client;Ljava/util/function/LongSupplier;)V ()V
java/util/ArrayList
! # this 5Lcom/groupbyinc/flux/index/query/QueryRewriteContext; getXContentRegistry =()Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry; ()J java/util/function/LongSupplier * getAsLong , ) + - getWriteableRegistry ?()Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry; convertToShardContext 5()Lcom/groupbyinc/flux/index/query/QueryShardContext; registerAsyncAction "(Ljava/util/function/BiConsumer;)V java/util/List 5 add (Ljava/lang/Object;)Z 7 8 6 9 asyncAction rLjava/util/function/BiConsumer;>; Ljava/util/function/BiConsumer; hasAsyncActions ()Z isEmpty @ ? 6 A executeAsyncActions .(Lcom/groupbyinc/flux/action/ActionListener;)V )com/groupbyinc/flux/action/ActionListener E
onResponse (Ljava/lang/Object;)V G H F I 4com/groupbyinc/flux/common/util/concurrent/CountDown K size ()I M N 6 O (I)V Q
L R ?(Lcom/groupbyinc/flux/index/query/QueryRewriteContext;Lcom/groupbyinc/flux/common/util/concurrent/CountDown;Lcom/groupbyinc/flux/action/ActionListener;)V T
U (Ljava/util/Collection;)V W
X clear Z 6 [ iterator ()Ljava/util/Iterator; ] ^ 6 _ java/util/Iterator a hasNext c ? b d next ()Ljava/lang/Object; f g b h java/util/function/BiConsumer j accept '(Ljava/lang/Object;Ljava/lang/Object;)V l m k n action countDown 6Lcom/groupbyinc/flux/common/util/concurrent/CountDown; internalListener .Lcom/groupbyinc/flux/action/ActionListener<*>; +Lcom/groupbyinc/flux/action/ActionListener; biConsumers listener Signature Code LocalVariableTable LineNumberTable LocalVariableTypeTable u(Ljava/util/function/BiConsumer;>;)V
StackMapTable
SourceFile InnerClasses !
x y ? %*? *? Y? ? *+? *,? *-? "*? $? z 4 % % &