All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.action.search.SearchScrollAsyncAction.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????489com/groupbyinc/flux/action/search/SearchScrollAsyncActionXLjava/lang/Object;Ljava/lang/Runnable;java/lang/Objectjava/lang/RunnableSearchScrollAsyncAction.java;com/groupbyinc/flux/action/search/SearchScrollAsyncAction$2	;com/groupbyinc/flux/action/search/SearchScrollAsyncAction$12com/groupbyinc/flux/transport/Transport$Connection
'com/groupbyinc/flux/transport/Transport
ConnectionIcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase7com/groupbyinc/flux/action/search/SearchPhaseControllerReducedQueryPhase9com/groupbyinc/flux/action/search/SearchResponse$Clusters0com/groupbyinc/flux/action/search/SearchResponseClusters%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookuplogger!Lorg/apache/logging/log4j/Logger;listener+Lcom/groupbyinc/flux/action/ActionListener;_Lcom/groupbyinc/flux/action/ActionListener;scrollId2Lcom/groupbyinc/flux/action/search/ParsedScrollId;nodes1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;searchPhaseController9Lcom/groupbyinc/flux/action/search/SearchPhaseController;request7Lcom/groupbyinc/flux/action/search/SearchScrollRequest;searchTransportService:Lcom/groupbyinc/flux/action/search/SearchTransportService;	startTimeJ
shardFailuresLjava/util/List;HLjava/util/List;
successfulOps+Ljava/util/concurrent/atomic/AtomicInteger;$assertionsDisabledZ\(Lcom/groupbyinc/flux/action/search/ParsedScrollId;Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/action/search/SearchPhaseController;Lcom/groupbyinc/flux/action/search/SearchScrollRequest;Lcom/groupbyinc/flux/action/search/SearchTransportService;)V()V9;
<java/util/ArrayList>
?<23	Ajava/lang/SystemCcurrentTimeMillis()JEF
DG01	I&'	K)java/util/concurrent/atomic/AtomicIntegerM0com/groupbyinc/flux/action/search/ParsedScrollIdO
getContext6()[Lcom/groupbyinc/flux/action/search/ScrollIdForNode;QR
PS(I)V9U
NV56	X!"	Z#$	\()	^*+	`,-	b./	dthis@Lcom/groupbyinc/flux/action/search/SearchScrollAsyncAction;;Lcom/groupbyinc/flux/action/search/SearchScrollAsyncAction;buildTookInMillisjava/lang/Mathjmax(JJ)Jlm
knrun?com/groupbyinc/flux/action/search/SearchPhaseExecutionExceptionqquerysno nodes to search onu4com/groupbyinc/flux/action/search/ShardSearchFailurewEMPTY_ARRAY7[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;yz	x{^(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)V9}
r~)com/groupbyinc/flux/action/ActionListener?	onFailure(Ljava/lang/Exception;)V????4[Lcom/groupbyinc/flux/action/search/ScrollIdForNode;?java/util/Arrays?asList%([Ljava/lang/Object;)Ljava/util/List;??
??"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;)V?lambda$run$0V([Lcom/groupbyinc/flux/action/search/ScrollIdForNode;Ljava/util/function/BiFunction;)V??
??"(Ljava/util/function/BiFunction;)V?accept?(Lcom/groupbyinc/flux/action/search/SearchScrollAsyncAction;[Lcom/groupbyinc/flux/action/search/ScrollIdForNode;)Lcom/groupbyinc/flux/common/CheckedConsumer;???java/util/Objects?requireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;??
??	??J(Lcom/groupbyinc/flux/action/ActionListener;)Ljava/util/function/Consumer;???wrapv(Lcom/groupbyinc/flux/common/CheckedConsumer;Ljava/util/function/Consumer;)Lcom/groupbyinc/flux/action/ActionListener;????collectNodesAndRun?(Ljava/lang/Iterable;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lcom/groupbyinc/flux/action/search/SearchTransportService;Lcom/groupbyinc/flux/action/ActionListener;)V??
?contextjava/util/HashSet?
?<java/lang/Iterable?iterator()Ljava/util/Iterator;????
java/util/Set?java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????1com/groupbyinc/flux/action/search/ScrollIdForNode?getClusterAlias()Ljava/lang/String;??
??add(Ljava/lang/Object;)Z????isEmpty????8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?lambda$collectNodesAndRun$1?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;??
??V(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;?applyR(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;)Ljava/util/function/BiFunction;???
onResponse????8com/groupbyinc/flux/action/search/SearchTransportService?getRemoteClusterService6()Lcom/groupbyinc/flux/transport/RemoteClusterService;??
??lambda$collectNodesAndRun$3~(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lcom/groupbyinc/flux/action/ActionListener;Ljava/util/function/BiFunction;)V??
???(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/common/CheckedConsumer;???2com/groupbyinc/flux/transport/RemoteClusterService?collectNodes=(Ljava/util/Set;Lcom/groupbyinc/flux/action/ActionListener;)V??
??target3Lcom/groupbyinc/flux/action/search/ScrollIdForNode;remoteClusterService4Lcom/groupbyinc/flux/transport/RemoteClusterService;	scrollIdsILjava/lang/Iterable;Ljava/lang/Iterable;?Lcom/groupbyinc/flux/action/ActionListener;>;clusters#Ljava/util/Set;Ljava/util/Set;V(Ljava/util/function/BiFunction;[Lcom/groupbyinc/flux/action/search/ScrollIdForNode;)Vjava/lang/Exception4com/groupbyinc/flux/common/util/concurrent/CountDown

VgetNode
?
?java/util/function/BiFunction??.com/groupbyinc/flux/cluster/node/DiscoveryNodejava/lang/IllegalStateExceptionjava/lang/StringBuilder
<node [append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
] is not available!toString#?
$(Ljava/lang/String;)V9&
'
getConnectionx(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lcom/groupbyinc/flux/transport/Transport$Connection;)*
+getScrollId-F
?.?lambda$run$4P(Ljava/util/function/BiFunction;)Lcom/groupbyinc/flux/action/search/SearchPhase;12
341()Lcom/groupbyinc/flux/action/search/SearchPhase;6gety(Lcom/groupbyinc/flux/action/search/SearchScrollAsyncAction;Ljava/util/function/BiFunction;)Ljava/util/function/Supplier;89:onShardFailure?(Ljava/lang/String;Lcom/groupbyinc/flux/common/util/concurrent/CountDown;JLjava/lang/Exception;Lcom/groupbyinc/flux/search/SearchShardTarget;Ljava/util/function/Supplier;)V<=
>7com/groupbyinc/flux/action/search/TransportSearchHelper@internalScrollSearchRequest{(JLcom/groupbyinc/flux/action/search/SearchScrollRequest;)Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;BC
AD?(Lcom/groupbyinc/flux/action/search/SearchScrollAsyncAction;Lcom/groupbyinc/flux/search/SearchShardTarget;ILcom/groupbyinc/flux/action/search/ScrollIdForNode;ILcom/groupbyinc/flux/common/util/concurrent/CountDown;Ljava/util/function/BiFunction;)V9F
GexecuteInitialPhase?(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;Lcom/groupbyinc/flux/action/search/SearchActionListener;)VIJ
Knode0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;
connection4Lcom/groupbyinc/flux/transport/Transport$Connection;exLjava/lang/Exception;
shardIndexIinternalRequestALcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;searchActionListener=Lcom/groupbyinc/flux/action/search/SearchActionListener;8Lcom/groupbyinc/flux/action/search/SearchActionListener;iclusterNodeLookupuLjava/util/function/BiFunction;Ljava/util/function/BiFunction;counter6Lcom/groupbyinc/flux/common/util/concurrent/CountDown;buildShardFailures9()[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;java/util/Listbc?size()IefcgtoArray(([Ljava/lang/Object;)[Ljava/lang/Object;ijckzaddShardFailure9(Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)Vc?failure6Lcom/groupbyinc/flux/action/search/ShardSearchFailure;moveToNextPhaseonFirstPhaseResult2(ILcom/groupbyinc/flux/search/SearchPhaseResult;)VsendResponsePhase?(Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;)Lcom/groupbyinc/flux/action/search/SearchPhase;fetchx?(Lcom/groupbyinc/flux/action/search/SearchScrollAsyncAction;Ljava/lang/String;Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;)V9z

{
queryPhaseKLcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;fetchResultsiLcom/groupbyinc/flux/common/util/concurrent/AtomicArray<+Lcom/groupbyinc/flux/search/SearchPhaseResult;>;8Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;sendResponse?(Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;)V6com/groupbyinc/flux/common/util/concurrent/AtomicArray?()Ljava/util/List;??
??(I)Ljava/lang/Object;?8?
???1(I)Lcom/groupbyinc/flux/search/SearchPhaseResult;?Z(Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;)Ljava/util/function/IntFunction;???merge?(ZLcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Ljava/util/Collection;Ljava/util/function/IntFunction;)Lcom/groupbyinc/flux/search/internal/InternalSearchResponse;??
?5com/groupbyinc/flux/action/search/SearchScrollRequest?scroll%()Lcom/groupbyinc/flux/search/Scroll;??
??&?
??:com/groupbyinc/flux/search/internal/InternalSearchResponse?java/lang/String?8f
N?iF
?`a
?EMPTY;Lcom/groupbyinc/flux/action/search/SearchResponse$Clusters;??	??(Lcom/groupbyinc/flux/action/search/SearchResponseSections;Ljava/lang/String;IIIJ[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;Lcom/groupbyinc/flux/action/search/SearchResponse$Clusters;)V9?
?= 0 but was: ?(I)Ljava/lang/StringBuilder;?
?9?
??	countDown??
?all shards failed?
r?java/util/function/Supplier?8???-com/groupbyinc/flux/action/search/SearchPhase?p;
??,com/groupbyinc/flux/search/SearchShardTarget?
addSuppressed(Ljava/lang/Throwable;)V??
	?getName??
??Phase failed?phase/Lcom/groupbyinc/flux/action/search/SearchPhase;	phaseNamesearchIdsearchShardTarget.Lcom/groupbyinc/flux/search/SearchShardTarget;nextPhaseSupplierNLjava/util/function/Supplier;Ljava/util/function/Supplier;successfulOperations
?+clusterAliass2

lambda$collectNodesAndRun$2?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Ljava/util/function/BiFunction;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;
q(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Ljava/util/function/BiFunction;)Ljava/util/function/BiFunction;?nodeFunction/com/groupbyinc/flux/cluster/node/DiscoveryNodesD(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;8
clusterp
lookupjava/lang/ClassdesiredAssertionStatus!?
 "	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/action/search/ParsedScrollId;Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/action/search/SearchPhaseController;Lcom/groupbyinc/flux/action/search/SearchScrollRequest;Lcom/groupbyinc/flux/action/search/SearchTransportService;)V
StackMapTableY(Ljava/lang/Iterable;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lcom/groupbyinc/flux/action/search/SearchTransportService;Lcom/groupbyinc/flux/action/ActionListener;>;)V?(Ljava/util/function/BiFunction;[Lcom/groupbyinc/flux/action/search/ScrollIdForNode;)V?(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V?(Ljava/util/function/BiFunction;)Lcom/groupbyinc/flux/action/search/SearchPhase;(ITT;)V?(Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray<+Lcom/groupbyinc/flux/search/SearchPhaseResult;>;)Lcom/groupbyinc/flux/action/search/SearchPhase;?(Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray<+Lcom/groupbyinc/flux/search/SearchPhaseResult;>;)V?(Ljava/lang/String;Lcom/groupbyinc/flux/common/util/concurrent/CountDown;JLjava/lang/Exception;Lcom/groupbyinc/flux/search/SearchShardTarget;Ljava/util/function/Supplier;)V"RuntimeVisibleParameterAnnotations
ExceptionsBootstrapMethods
SourceFileInnerClasses !"#$$%&'()*+,-./0123$456789:%N*?=*??Y?@?B*?H?J*+?L*?NY+?T??W?Y*,?[*?]*-?_*?a*?c*?e?&RNfhN&'N!"N()N#$N*+N,-N./'NfgN#%(2TNUVW+X0Y6Z;[A\G]M^$)iF%I
?H*?Je?o?&
fh'
fg(fp;%?O*?L?TL+??*?]?rYtv?|????*+??*?_*?e*+??*?]Y??W???????&OfhG??'Ofg(jk
l'n?oHnNq*	?'?&??%J{??Y??:*??:???'????:????й?W??????-+?????%,??:+-??-Y??W???????&H'??^??{{(){./{#$	r' {{#	r(2z	{'|/}<??I?X?^?k?t?z?*???*?!$+p%#	
??Y*?L?T??N6,???,2:6+?????:?)?Y?Y?? ?? "? ?%?(?*???,:?:*t-?/*+?;???.?/*?c?E:?Y*-+?H:	*	?L???V?$qt	&?
98MNqOPvQR ???$?ST?+OP?UV?
WY	?ZT?fh?[]????^_' ?
WX	?fg?[\(F??? ?$?9?>?d?q?t?v?????????????*L??P	?????	??*?$, `a%v)*?B?d??|?*?B*?B?h?x?l?m?&)fh')fg(???*"no%V*?B+?pW?&fhqr'fg(
??IJ$-s2$.tu$/vw%h?
Y*y+,?|?& fh}~?'fg?(?$0??%R}*?a+,??,Y??W????N:*?c???*?c??:*?]?Y-*?L?T?*?Y??*??*?????????N*?]??Yy?-*???????]`	&>D??A&?a?R}fh}}~}?'}fg}?(6
?????&?/?K?X?]?`?a?|*?/???0?	$1<=%??*?[???*?[??Y?!??+????*?xY?Է?*?Y??6?ۚ%? ??Y?Y?߶ ??%??,??d*?Y??? *?]?rY+?*??????=????:		??):

??*?]?rY	???
?|???????	&f
?$?R
?.??	?fh???^_?1?qR??>?T'?fg?(>&5	>
fmw
???????*,&??-?	?	???	?%$23?)*%Z
*?e+,??& 
fh
	?
MN'
fg(12%L*+??&fh[]'fg(?
??%r*,?N+-???&*()#$][]'[\(???4	

%o,?	*-??+,-???&*()]	?M?(??
?*

??%D*,??& ()?M?(???%W*,+??& fh??]'fg(n4	;%4?#???۱(6*@5H?????????????????057???????$672
		 




© 2015 - 2025 Weber Informatics LLC | Privacy Policy