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

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

There is a newer version: 198
Show newest version
????4y7com/groupbyinc/flux/action/search/ClearScrollControllerjava/lang/Objectjava/lang/RunnableClearScrollController.java9com/groupbyinc/flux/action/search/ClearScrollController$12com/groupbyinc/flux/transport/Transport$Connection
'com/groupbyinc/flux/transport/Transport
ConnectionRcom/groupbyinc/flux/action/search/SearchTransportService$SearchFreeContextResponse8com/groupbyinc/flux/action/search/SearchTransportServiceSearchFreeContextResponse%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupnodes1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;searchTransportService:Lcom/groupbyinc/flux/action/search/SearchTransportService;expectedOps6Lcom/groupbyinc/flux/common/util/concurrent/CountDown;listener+Lcom/groupbyinc/flux/action/ActionListener;dLcom/groupbyinc/flux/action/ActionListener;	hasFailed+Ljava/util/concurrent/atomic/AtomicBoolean;freedSearchContexts+Ljava/util/concurrent/atomic/AtomicInteger;logger!Lorg/apache/logging/log4j/Logger;runnerLjava/lang/Runnable;?(Lcom/groupbyinc/flux/action/search/ClearScrollRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/action/search/SearchTransportService;)V()V*,
-)java/util/concurrent/atomic/AtomicBoolean/(Z)V*1
02"#	4)java/util/concurrent/atomic/AtomicInteger6(I)V*8
79$%	;	=&'	?	A 	C4com/groupbyinc/flux/action/search/ClearScrollRequestEgetScrollIds()Ljava/util/List;GH
FIjava/util/ListKsize()IMNLO_allQget(I)Ljava/lang/Object;STLUjava/lang/StringWequals(Ljava/lang/Object;)ZYZ
X[/com/groupbyinc/flux/cluster/node/DiscoveryNodes]getSize_N
^`"java/lang/invoke/LambdaMetafactorybmetafactory?(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;de
cfg,cleanAllScrollsj,
klrunO(Lcom/groupbyinc/flux/action/search/ClearScrollController;)Ljava/lang/Runnable;nop()	r)com/groupbyinc/flux/action/ActionListenertorg/apache/logging/log4j/Loggervjava/util/ArrayListx
y-iterator()Ljava/util/Iterator;{|L}java/util/IteratorhasNext()Z????next()Ljava/lang/Object;????7com/groupbyinc/flux/action/search/TransportSearchHelper?
parseScrollIdF(Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/ParsedScrollId;??
??0com/groupbyinc/flux/action/search/ParsedScrollId?
getContext6()[Lcom/groupbyinc/flux/action/search/ScrollIdForNode;??
??4[Lcom/groupbyinc/flux/action/search/ScrollIdForNode;?add?ZL?isEmpty??L?lambda$new$0.(Lcom/groupbyinc/flux/action/ActionListener;)V??
??A(Lcom/groupbyinc/flux/action/ActionListener;)Ljava/lang/Runnable;n??lambda$new$1(Ljava/util/List;)V??
??_(Lcom/groupbyinc/flux/action/search/ClearScrollController;Ljava/util/List;)Ljava/lang/Runnable;n??4com/groupbyinc/flux/common/util/concurrent/CountDown?
?9	?Iid3Lcom/groupbyinc/flux/action/search/ScrollIdForNode;contextparsedScrollIdLjava/lang/String;parsedScrollIdsELjava/util/List;Ljava/util/List;this9Lcom/groupbyinc/flux/action/search/ClearScrollController;request6Lcom/groupbyinc/flux/action/search/ClearScrollRequest;	scrollIds$Ljava/util/List;n,?java/lang/Exception?
^}.com/groupbyinc/flux/cluster/node/DiscoveryNode?
getConnectionx(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lcom/groupbyinc/flux/transport/Transport$Connection;??
?l(Lcom/groupbyinc/flux/action/search/ClearScrollController;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V*?
	?sendClearAllScrollContextsb(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/action/ActionListener;)V??
?onFailedFreedContextH(Ljava/lang/Throwable;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V??
?
connection4Lcom/groupbyinc/flux/transport/Transport$Connection;eLjava/lang/Exception;node0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;cleanScrollIds(Ljava/lang/Object;)V?lambda$cleanScrollIds$42(Ljava/util/List;Ljava/util/function/BiFunction;)V??
??"(Ljava/util/function/BiFunction;)V?acceptw(Lcom/groupbyinc/flux/action/search/ClearScrollController;Ljava/util/List;)Lcom/groupbyinc/flux/common/CheckedConsumer;???java/util/Objects?requireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;??
??	onFailure(Ljava/lang/Exception;)V??u?	??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;??u?9com/groupbyinc/flux/action/search/SearchScrollAsyncAction?collectNodesAndRun?(Ljava/lang/Iterable;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lcom/groupbyinc/flux/action/search/SearchTransportService;Lcom/groupbyinc/flux/action/ActionListener;)V
?onFreedContextincrementAndGetN
7	countDown?
?	S?
05com/groupbyinc/flux/action/search/ClearScrollResponse
SN
7(ZI)V*

onResponse?u	succeededZfreed,()Lorg/apache/logging/log4j/message/Message;lambda$onFailedFreedContext$5\(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lorg/apache/logging/log4j/message/Message;
a(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lorg/apache/logging/log4j/util/MessageSupplier;S!"warnG(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)V$%w&set(1
0)Ljava/lang/Throwable;5org/apache/logging/log4j/message/ParameterizedMessage,Clear SC failed on node[{}].'(Ljava/lang/String;Ljava/lang/Object;)V*0
-11com/groupbyinc/flux/action/search/ScrollIdForNode3getClusterAlias()Ljava/lang/String;56
47getNode96
4:java/util/function/BiFunction<apply8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;>?=@1
BgetScrollId()JDE
4Flambda$cleanScrollIds$2W(Lcom/groupbyinc/flux/action/search/SearchTransportService$SearchFreeContextResponse;)VHI
JKIg(Lcom/groupbyinc/flux/action/search/ClearScrollController;)Lcom/groupbyinc/flux/common/CheckedConsumer;?NOlambda$cleanScrollIds$3H(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/Exception;)VQR
ST?(Lcom/groupbyinc/flux/action/search/ClearScrollController;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Ljava/util/function/Consumer;?VWsendFreeContextc(Lcom/groupbyinc/flux/transport/Transport$Connection;JLcom/groupbyinc/flux/action/ActionListener;)VYZ
[targetlookupLjava/util/function/BiFunction;isFreed`?
aTLcom/groupbyinc/flux/action/search/SearchTransportService$SearchFreeContextResponse;??
d
access$000=(Lcom/groupbyinc/flux/action/search/ClearScrollController;Z)Vx0x1
access$100?(Lcom/groupbyinc/flux/action/search/ClearScrollController;Ljava/lang/Throwable;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Vx2	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable)(Lcom/groupbyinc/flux/action/search/ClearScrollRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/action/search/SearchTransportService;)VH(Ljava/util/List;)V
ExceptionsBootstrapMethods
SourceFileInnerClasses0 m!"#$%&'()*+n?*?.*?0Y?3?5*?7Y?:?<*-?>*?@*?B*,?D+?J:?P?&R?V?\?-?a6**?q?s???yY?z:+?J?~:		???F	???X:

????::?6
6
?2:??W?????????6*,???s??P6**???s*??Y?????o?Y
??
???*???4??
?
?o??????? &'8?????p o???!8???qf0*+1!2'3-42587S8Y9f;o<?=?>???>?A?B?C?D?F?G?JLr??fFu^wL?L??+Fu^wLL?X???
Fu^wLL???Fu^wLmsn,n8
*?s???o
??q
P	Qj,n?D*?>??L+???5+????M*?B,??N*?B-?	Y*,?ζҧ
N*-,?֧?ȱ69?o*%??:??%??D??q"TV%W6d9b:c@eCfr!???0???????nw%+*?>*?B*+??*?DY??W??????o%??%??p%??qiyi$zmt1n???*??r@??n?;*?@,?#+?'*?5?**???
?*?D?Y*?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy