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

com.groupbyinc.flux.action.bulk.Retry$RetryHandler.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4W2com/groupbyinc/flux/action/bulk/Retry$RetryHandlermLjava/lang/Object;Lcom/groupbyinc/flux/action/ActionListener;java/lang/Object)com/groupbyinc/flux/action/ActionListener
Retry.java%com/groupbyinc/flux/action/bulk/Retry	RetryHandler/com/groupbyinc/flux/threadpool/ThreadPool$Names)com/groupbyinc/flux/threadpool/ThreadPoolNames%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupRETRY_STATUS%Lcom/groupbyinc/flux/rest/RestStatus;logger!Lorg/apache/logging/log4j/Logger;	scheduler*Lcom/groupbyinc/flux/threadpool/Scheduler;consumerLjava/util/function/BiConsumer;?Ljava/util/function/BiConsumer;>;listener+Lcom/groupbyinc/flux/action/ActionListener;[Lcom/groupbyinc/flux/action/ActionListener;backoffLjava/util/Iterator;ALjava/util/Iterator;	responsesLjava/util/List;DLjava/util/List;startTimestampNanosJcurrentBulkRequest-Lcom/groupbyinc/flux/action/bulk/BulkRequest;scheduledRequestFuture&Ljava/util/concurrent/ScheduledFuture;)Ljava/util/concurrent/ScheduledFuture<*>;$assertionsDisabledZ?(Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/Scheduler;)V()V13
4java/util/ArrayList6
74%&	9-com/groupbyinc/flux/action/bulk/BackoffPolicy;iterator()Ljava/util/Iterator;=>
<?"#	A	C 	EgetClass()Ljava/lang/Class;GH
Ijava/lang/StringK*com/groupbyinc/flux/common/logging/LoggersM	getLoggeru(Ljava/lang/Class;Lcom/groupbyinc/flux/common/settings/Settings;[Ljava/lang/String;)Lorg/apache/logging/log4j/Logger;OP
NQ	S	Ujava/lang/SystemWnanoTime()JYZ
X[()	]this4Lcom/groupbyinc/flux/action/bulk/Retry$RetryHandler;
backoffPolicy/Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;settings.Lcom/groupbyinc/flux/common/settings/Settings;
onResponse1(Lcom/groupbyinc/flux/action/bulk/BulkResponse;)V,com/groupbyinc/flux/action/bulk/BulkResponseghasFailures()Zij
hk"java/lang/invoke/LambdaMetafactorymmetafactory?(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;op
nqr(Ljava/lang/Object;)Ztlambda$onResponse$05(Lcom/groupbyinc/flux/action/bulk/BulkItemResponse;)Zvw
xywtest ()Ljava/util/function/Predicate;|}~addResponsesO(Lcom/groupbyinc/flux/action/bulk/BulkResponse;Ljava/util/function/Predicate;)V??
?	finishHim?3
?canRetry1(Lcom/groupbyinc/flux/action/bulk/BulkResponse;)Z??
?lambda$onResponse$1?w
??~createBulkRequestForRetry](Lcom/groupbyinc/flux/action/bulk/BulkResponse;)Lcom/groupbyinc/flux/action/bulk/BulkRequest;??
?retry0(Lcom/groupbyinc/flux/action/bulk/BulkRequest;)V??
?lambda$onResponse$2?w
??~bulkItemResponses.Lcom/groupbyinc/flux/action/bulk/BulkResponse;	onFailure(Ljava/lang/Exception;)V???,-	?6com/groupbyinc/flux/common/util/concurrent/FutureUtils?cancel (Ljava/util/concurrent/Future;)Z??
??java/lang/Throwable?eLjava/lang/Exception;/0	?java/util/Iterator?hasNext?j??java/lang/AssertionError?
?4next()Ljava/lang/Object;????)com/groupbyinc/flux/common/unit/TimeValue?)Retry of bulk request scheduled in {} ms.?millis?Z
??java/lang/Long?valueOf(J)Ljava/lang/Long;??
??org/apache/logging/log4j/Logger?trace'(Ljava/lang/String;Ljava/lang/Object;)V????3lambda$retry$3??
??runw(Lcom/groupbyinc/flux/action/bulk/Retry$RetryHandler;Lcom/groupbyinc/flux/action/bulk/BulkRequest;)Ljava/lang/Runnable;???(com/groupbyinc/flux/threadpool/Scheduler?preserveContext*(Ljava/lang/Runnable;)Ljava/lang/Runnable;????same?scheduley(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture;????bulkRequestForRetry+Lcom/groupbyinc/flux/common/unit/TimeValue;commandLjava/lang/Runnable;+com/groupbyinc/flux/action/bulk/BulkRequest?
?4getItems5()[Lcom/groupbyinc/flux/action/bulk/BulkItemResponse;??
h?3[Lcom/groupbyinc/flux/action/bulk/BulkItemResponse;?0com/groupbyinc/flux/action/bulk/BulkItemResponse?isFailed?j
??*+	?requests()Ljava/util/List;??
??java/util/List?get(I)Ljava/lang/Object;??*com/groupbyinc/flux/action/DocWriteRequestadd[(Lcom/groupbyinc/flux/action/DocWriteRequest;)Lcom/groupbyinc/flux/action/bulk/BulkRequest;
?bulkItemResponse2Lcom/groupbyinc/flux/action/bulk/BulkItemResponse;requestToReissueindexI
h?status'()Lcom/groupbyinc/flux/rest/RestStatus;
?	getAccumulatedResponse0()Lcom/groupbyinc/flux/action/bulk/BulkResponse;
(Ljava/lang/Object;)Vejava/util/function/Predicate|tt? responsefilterRLjava/util/function/Predicate;Ljava/util/function/Predicate;toArray(([Ljava/lang/Object;)[Ljava/lang/Object;&'?(timeValueNanos.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;*+
?,7([Lcom/groupbyinc/flux/action/bulk/BulkItemResponse;J)V1.
h/
itemResponses
stopTimestamptotalLatencyMsexecutejava/util/function/BiConsumer5accept'(Ljava/lang/Object;Ljava/lang/Object;)V7869bulkRequestef
<4?
>rjava/lang/ClassBdesiredAssertionStatusDj
CE#com/groupbyinc/flux/rest/RestStatusGTOO_MANY_REQUESTSI	HJ	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;Ljava/util/function/BiConsumer;>;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/Scheduler;)V
StackMapTable?(Lcom/groupbyinc/flux/action/bulk/BulkResponse;Ljava/util/function/Predicate;)VBootstrapMethods
SourceFileInnerClasses L L!"#L$%&L'()B*+B,-L./012M?@*?5*?7Y?8?:*+?@?B*,?D*-?F**?J?L?R?T*?V*?\?^?N>@_`@ab@@ @cd@O@@!P&	bZcde!f2g8i?jLQefM?E+?l?*+???*???/*+???*+????**+?????*+????*???NE_`E??P&	npqs t*u6w@xD{R
??M~!*?F+??*????W?M*????W,??
N!_`!??P?
???? ?RU?
??M?\???*?B?????Y???*?B????M*?T?,?øɹ?*?V*+????N**?V,?-?????N*\_`\?+'5??J??P??'?9?J?[?R??M?N??Y??M>+??:?66?02:???,*???????W?????,?N4& 	
N_`N??F+
D
P"??
?&?.?C?F?L?R/?h???*??h???M?B*?B????+?M,???',????N-???-?:???????N*3
&	
B_`B??P&	???&?-?3?;?=?@?R
??)??3Mw$*?F*??*????W?L*????W+??
N$_`P?
???!?#?RX?
??M?J+?N-???>-????:,??%*?:Y:?*?:?!Wç:??????,;>>C>N*-	
J_`J"?J#%OJ#$P??$?,?8?F?I?R*???8h?????LSM??*?:YM?*?:??)??L,çN,?-??\A *?^e?-??7?hY+?0? N41??_`"1?&2)43)P???"?&?4?R ????4?MM*+??*?D+*?:?N_`;+P???AeM3	*+?h?=?N	_`PQ??M:*+???N_`?+P?
?wM,?N@
Pw
?wMB
*?????N
@
PtR@
vwM,?N@
PpA3M>
?F?????K??P
QRR@T*suz{su?{su?{s???LUV

	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy