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: 198
Show newest version
????479com/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/SearchPhaseControllerReducedQueryPhase%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46
7java/util/ArrayList9
:7-.	<java/lang/System>currentTimeMillis()J@A
?B+,	D!"	F)java/util/concurrent/atomic/AtomicIntegerH0com/groupbyinc/flux/action/search/ParsedScrollIdJ
getContext6()[Lcom/groupbyinc/flux/action/search/ScrollIdForNode;LM
KN(I)V4P
IQ01	S	U	W#$	Y%&	['(	])*	_this@Lcom/groupbyinc/flux/action/search/SearchScrollAsyncAction;;Lcom/groupbyinc/flux/action/search/SearchScrollAsyncAction;buildTookInMillisjava/lang/Mathemax(JJ)Jgh
firun?com/groupbyinc/flux/action/search/SearchPhaseExecutionExceptionlquerynno nodes to search onp4com/groupbyinc/flux/action/search/ShardSearchFailurerEMPTY_ARRAY7[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;tu	sv^(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)V4x
my)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;???getClass()Ljava/lang/Class;??
?	?~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?
?7java/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
QgetNode?
?java/util/function/BiFunction	??
.com/groupbyinc/flux/cluster/node/DiscoveryNode
java/lang/IllegalStateExceptionjava/lang/StringBuilder
7node [append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
] is not availabletoString?
(Ljava/lang/String;)V4
 
getConnectionx(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lcom/groupbyinc/flux/transport/Transport$Connection;"#
$getScrollId&A
?'?lambda$run$4P(Ljava/util/function/BiFunction;)Lcom/groupbyinc/flux/action/search/SearchPhase;*+
,-1()Lcom/groupbyinc/flux/action/search/SearchPhase;/get?(Lcom/groupbyinc/flux/action/search/SearchScrollAsyncAction;Ljava/util/function/BiFunction;)Lorg/apache/logging/log4j/util/Supplier;123onShardFailure?(Ljava/lang/String;Lcom/groupbyinc/flux/common/util/concurrent/CountDown;JLjava/lang/Exception;Lcom/groupbyinc/flux/search/SearchShardTarget;Lorg/apache/logging/log4j/util/Supplier;)V56
77com/groupbyinc/flux/action/search/TransportSearchHelper9internalScrollSearchRequest{(JLcom/groupbyinc/flux/action/search/SearchScrollRequest;)Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;;<
:=?(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4?
@executeInitialPhase?(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;Lcom/groupbyinc/flux/action/search/SearchActionListener;)VBC
Dnode0Lcom/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/List[\?size()I^_\`toArray(([Ljava/lang/Object;)[Ljava/lang/Object;bc\duaddShardFailure9(Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)V\?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;fetchq?(Lcom/groupbyinc/flux/action/search/SearchScrollAsyncAction;Ljava/lang/String;Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;)V4s

t
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;?1?
~??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?0com/groupbyinc/flux/action/search/SearchResponse?1_
I?dA
?YZ
??(Lcom/groupbyinc/flux/action/search/SearchResponseSections;Ljava/lang/String;IIIJ[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)V4?
??= 0 but was: ?(I)Ljava/lang/StringBuilder;?
?4?
??	countDown??
?all shards failed?
m?&org/apache/logging/log4j/util/Supplier?1???-com/groupbyinc/flux/action/search/SearchPhase?k6
??,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;nextPhaseSupplierYLorg/apache/logging/log4j/util/Supplier;(Lorg/apache/logging/log4j/util/Supplier;successfulOperations
?$clusterAlias5org/apache/logging/log4j/message/ParameterizedMessage?[{}] Failed to execute {} phase?java/lang/LongvalueOf(J)Ljava/lang/Long;
9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V4
?l+
	
lambda$null$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;1
clusterk
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;Lorg/apache/logging/log4j/util/Supplier;)V"RuntimeVisibleParameterAnnotations
ExceptionsBootstrapMethods
SourceFileInnerClasses # !"#$%&'()*+,-.#/012345$N*?8*?:Y?;?=*?C?E*+?G*?IY+?O??R?T*,?V*?X*-?Z*?\*?^*?`?%RNacN!"NN#$NN%&N'(N)*&NabN '2TNUVW+X0Y6Z;[A\G]M^#(dA$I
?C*?Ee?j?%
ac&
ab'fk6$?O*?G?OL+??*?X?mYoq?w?z???*+??*?Z*?`*+??*?XY??W???????%OacG??&Oab'jk
l'nNq)	?'?&??$B{??Y??:*??:???'????:????ɹ?W??????-+?????%,??:+-??-Y??W???????%H'??^??{??{#${)*{	r??& {??{?	r??'*
z	{'|/}<??I?X?^?z?)???*?!#*k$#	
??Y*?G?O??N6,???,2:6+?????:?)?Y?Y???????!?*???%:?:*o-?(*+?4?8?.?(*?^?>:?Y*-+?A:	*	?E???V?$qt%?
98FGqHIvJK ???$?LM?+HI?NO?
PR	?SM?ac?TV????WX& ?
PQ	?ab?TU'F??? ?$?9?>?d?q?t?v?????????????)L??P	
???
????*?#+ YZ$v)*?=?]??w?*?=*?=?a?s?e?f?%)ac&)ab'???)"gh$V*?=+?iW?%acjk&ab'
??BC#,l+#-mn#.op$h?
Y*r+,?u?% acvwxz&abxy'?#/{|$Gz*?\+,??,Y??W????N:*?^???*?^??:*?X??Y-*?G?O?*?T??*??*???????N*?X??Yr?-*???????Z]%>A??>!?^?Kzaczvwzxz&zabzxy'.???&?/?K?U?Z?]?^?y)?/???-~#056$??*?V???*?V!+????*?sY?Ʒ?*?T??6?͚%? ??Y?Y?Ѷ?Զ?ֿ,?ٙd*?T??? *?X?mY+?*???ܹ??=????:		??):

??*?X?mY	???
?w?ܹ?????%f
?$?K
?.??	?ac????WX??,?jK??????6??M&?ab???'>-	6
^eo
???????),??-?	?????%#12?"#$Z
*?`+,???% 
ac
??
FG&
ab'
??$D??Y??,??%?,??'*+$L*+?
?%acTV&ab'?
??$r*,?N+-???%*#$VTV&TU'???3
$o,?	*-??+,-???%*#$V??F?'??
?)

??$D*,??% #$?F?'???$W*,+??% ac??V&ab'n36$4?"???ͱ'6)@4R?????????????????).0?????)?)???#56*
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy