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

com.groupbyinc.flux.action.bulk.BulkRequestHandler.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?2com/groupbyinc/flux/action/bulk/BulkRequestHandlerjava/lang/ObjectBulkRequestHandler.java4com/groupbyinc/flux/action/bulk/BulkRequestHandler$16com/groupbyinc/flux/action/bulk/BulkProcessor$Listener-com/groupbyinc/flux/action/bulk/BulkProcessor
Listener%java/lang/invoke/MethodHandles$Lookup
java/lang/invoke/MethodHandlesLookuplogger!Lorg/apache/logging/log4j/Logger;consumerLjava/util/function/BiConsumer;?Ljava/util/function/BiConsumer;>;listener8Lcom/groupbyinc/flux/action/bulk/BulkProcessor$Listener;	semaphore Ljava/util/concurrent/Semaphore;retry'Lcom/groupbyinc/flux/action/bulk/Retry;concurrentRequestsI$assertionsDisabledZ?(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;Lcom/groupbyinc/flux/action/bulk/BulkProcessor$Listener;Lcom/groupbyinc/flux/threadpool/ThreadPool;I)V()V!#
$ 	&java/lang/AssertionError(
)$java/util/function/BiConsumer+-com/groupbyinc/flux/action/bulk/BackoffPolicy-)com/groupbyinc/flux/threadpool/ThreadPool/getClass()Ljava/lang/Class;12
3*com/groupbyinc/flux/common/logging/Loggers5	getLogger4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger;78
69	;	=	?	A%com/groupbyinc/flux/action/bulk/RetryCGcom/groupbyinc/flux/common/util/concurrent/EsRejectedExecutionExceptionEn(Ljava/lang/Class;Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V!G
DH	Jjava/util/concurrent/SemaphoreL(I)V!N
MO	Qthis4Lcom/groupbyinc/flux/action/bulk/BulkRequestHandler;
backoffPolicy/Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;execute1(Lcom/groupbyinc/flux/action/bulk/BulkRequest;J)Vjava/lang/InterruptedException[java/lang/Exception]"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;ab
`cd#lambda$execute$0g#
hirun()Ljava/lang/Runnable;klm
beforeBulk1(JLcom/groupbyinc/flux/action/bulk/BulkRequest;)Vop	qacquires#
Mtreleasev#
Mwx6(Ljava/util/concurrent/Semaphore;)Ljava/lang/Runnable;kz{#java/util/concurrent/CountDownLatch}
~O?(Lcom/groupbyinc/flux/action/bulk/BulkRequestHandler;JLcom/groupbyinc/flux/action/bulk/BulkRequest;Ljava/util/concurrent/CountDownLatch;)V!?
?,com/groupbyinc/flux/common/settings/Settings?EMPTY.Lcom/groupbyinc/flux/common/settings/Settings;??	??withBackoff?(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/action/bulk/BulkRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/common/settings/Settings;)V??
D?await?#
~?java/lang/Runnable?k#??java/lang/Thread?
currentThread()Ljava/lang/Thread;??
??	interrupt?#
??()Ljava/lang/Object;?lambda$execute$1(J)Ljava/lang/Object;??
??get+(J)Lorg/apache/logging/log4j/util/Supplier;???org/apache/logging/log4j/Logger?info@(Lorg/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V????	afterBulkF(JLcom/groupbyinc/flux/action/bulk/BulkRequest;Ljava/lang/Throwable;)V??	?lambda$execute$2??
???warn????java/lang/Throwable?latch%Ljava/util/concurrent/CountDownLatch;e Ljava/lang/InterruptedException;Ljava/lang/Exception;bulkRequest-Lcom/groupbyinc/flux/action/bulk/BulkRequest;executionIdJ	toReleaseLjava/lang/Runnable;bulkRequestSetupSuccessful
awaitClose#(JLjava/util/concurrent/TimeUnit;)Z
tryAcquire$(IJLjava/util/concurrent/TimeUnit;)Z??
M?vN
M?timeoutunitLjava/util/concurrent/TimeUnit;5org/apache/logging/log4j/message/ParameterizedMessage?"Failed to execute bulk request {}.?java/lang/Long?valueOf(J)Ljava/lang/Long;??
??'(Ljava/lang/String;Ljava/lang/Object;)V!?
??#Bulk request {} has been cancelled.?
access$000n(Lcom/groupbyinc/flux/action/bulk/BulkRequestHandler;)Lcom/groupbyinc/flux/action/bulk/BulkProcessor$Listener;x0
access$100V(Lcom/groupbyinc/flux/action/bulk/BulkRequestHandler;)Ljava/util/concurrent/Semaphore;java/lang/Class?desiredAssertionStatus()Z??
??	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable?(Ljava/util/function/BiConsumer;>;Lcom/groupbyinc/flux/action/bulk/BackoffPolicy;Lcom/groupbyinc/flux/action/bulk/BulkProcessor$Listener;Lcom/groupbyinc/flux/threadpool/ThreadPool;I)V
ExceptionsBootstrapMethods
SourceFileInnerClasses1? 	!"?GY*?%?'???)Y?*?**?4?:?<*+?>*-?@*?B*?DYF,?I?K*?MY???P?R??>YSTYYUVYYWXY?Y?&	012"3'4,526B7X8?Z?,.	0?9,.	0CC?,.	0CC??YZ?
?n:6*?@ +?r*?R?u*?RY?4W?|:?~Y?:*?K*?>+?Y* +??????6*?B????????x:????*?< ????*?@ +???M???C:*?< ????*?@ +??????:?
????
`o\
`?^
`?o?????????R6*??q$??????ST?????????
?? ?j;<
>?@,A6BQWTX[Y`cedo[q\w]?^?c?d?_?`?a?c?d?c?d?g??`?N\t^n??
?????r*?R*?B-?͙*?R*?B????? ST?????jkln??\
???8??Y??ܷ߰????`
???8??Y??ܷ߰????]
g#???;???/*?@???T?&???/*?R???T?&?#?4????'??&?@?*efjfefyfe???e?????		




© 2015 - 2024 Weber Informatics LLC | Privacy Policy