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

com.groupbyinc.flux.index.reindex.WorkingBulkByScrollTask.class Maven / Gradle / Ivy

????4^9com/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask2com/groupbyinc/flux/index/reindex/BulkByScrollTask7com/groupbyinc/flux/index/reindex/SuccessfullyProcessedWorkingBulkByScrollTask.javaAcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask$RunOnceRunOnceScom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask$DelayedPrepareBulkRequestDelayedPrepareBulkRequest9com/groupbyinc/flux/index/reindex/BulkByScrollTask$StatusStatus%com/groupbyinc/flux/tasks/Task$Statuscom/groupbyinc/flux/tasks/Tasklogger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;sliceIdLjava/lang/Integer;total(Ljava/util/concurrent/atomic/AtomicLong;updatedcreateddeletednoopsbatch+Ljava/util/concurrent/atomic/AtomicInteger;versionConflictsbulkRetries
searchRetriesthrottledNanosrequestsPerSecondF"delayedPrepareBulkRequestReference-Ljava/util/concurrent/atomic/AtomicReference;?Ljava/util/concurrent/atomic/AtomicReference;p(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/tasks/TaskId;Ljava/lang/Integer;F)V\(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/tasks/TaskId;)V*,
-&java/util/concurrent/atomic/AtomicLong/(J)V*1
02	4	6	8	:	<)java/util/concurrent/atomic/AtomicInteger>(I)V*@
?A 	C!	E"	G#	I()V*K
0L$	N+java/util/concurrent/atomic/AtomicReferenceP
QL'(	S	UsetRequestsPerSecond(F)VWX
Ythis;Lcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask;idJtypeLjava/lang/String;actiondescription
parentTask"Lcom/groupbyinc/flux/tasks/TaskId;	getStatus=()Lcom/groupbyinc/flux/index/reindex/BulkByScrollTask$Status;get()Jgh
0i()Igk
?l)com/groupbyinc/flux/common/unit/TimeValuentimeValueNanos.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;pq
orgetRequestsPerSecond()Ftu
vgetReasonCancelled()Ljava/lang/String;xy
zthrottledUntil-()Lcom/groupbyinc/flux/common/unit/TimeValue;|}
~?(Ljava/lang/Integer;JJJJIJJJJLcom/groupbyinc/flux/common/unit/TimeValue;FLjava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)V*?
?onCancelled?
rethrottle?X
?runningSliceSubTasksgetInfoGivenSliceInfoH(Ljava/lang/String;Ljava/util/List;)Lcom/groupbyinc/flux/tasks/TaskInfo;'java/lang/UnsupportedOperationException?java/lang/StringBuilder?
?LThis is only supported by ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??8com/groupbyinc/flux/index/reindex/ParentBulkByScrollTask?java/lang/Class?getName?y
??.?toString?y
??(Ljava/lang/String;)V*?
??localNodeId	sliceInfo6Ljava/util/List;Ljava/util/List;()Ljava/lang/Object;g?
Q?
access$000}(Lcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask$DelayedPrepareBulkRequest;)Ljava/util/concurrent/ScheduledFuture;??
?java/util/concurrent/TimeUnit?NANOSECONDSLjava/util/concurrent/TimeUnit;??	??$java/util/concurrent/ScheduledFuture?getDelay"(Ljava/util/concurrent/TimeUnit;)J????java/lang/Math?max(JJ)J??
??delayedULcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask$DelayedPrepareBulkRequest;setTotalset?1
0?	totalHits
countBatchincrementAndGet?k
??	countNoop?h
0?
getCreatedcountCreated
getUpdatedcountUpdated
getDeletedcountDeletedcountVersionConflictcountBulkRetrycountSearchRetry%&	?delayPrepareBulkRequest?(Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/unit/TimeValue;ILcom/groupbyinc/flux/common/util/concurrent/AbstractRunnable;)Vjava/lang/System?nanoTime?h
??throttleWaitTime?(Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/unit/TimeValue;I)Lcom/groupbyinc/flux/common/unit/TimeValue;??
?	?%[{}]: preparing bulk request for [{}]?getId?h
?java/lang/Long?valueOf(J)Ljava/lang/Long;??
??6com/groupbyinc/flux/common/apache/logging/log4j/Logger?debug9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V????@(Lcom/groupbyinc/flux/common/util/concurrent/AbstractRunnable;)V*?
	??(Lcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask;Lcom/groupbyinc/flux/threadpool/ThreadPool;FLcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/util/concurrent/AbstractRunnable;)V*?
?(Ljava/lang/Object;)V??
Q)com/groupbyinc/flux/threadpool/ThreadPool;com/groupbyinc/flux/common/util/concurrent/AbstractRunnablejava/lang/Objectjava/lang/Throwabledelay+Lcom/groupbyinc/flux/common/unit/TimeValue;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;lastBatchStartTime
lastBatchSizeIprepareBulkRequestRunnable=Lcom/groupbyinc/flux/common/util/concurrent/AbstractRunnable;nanosh
operfectlyThrottledBatchTime(I)F
nowearliestNextBatchStartTimeSECONDS?	?toNanos(J)J 
?!targetBatchTimeInSeconds"java/lang/IllegalArgumentException$1requests per second must be more than 0 but was [&(F)Ljava/lang/StringBuilder;?(
?)]+
%?.[{}]: rethrottling to [{}] requests per second.java/lang/Float0(F)Ljava/lang/Float;?2
13>[{}]: skipping rescheduling because there is no scheduled task5'(Ljava/lang/String;Ljava/lang/Object;)V?7?8X(F)Lcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask$DelayedPrepareBulkRequest;?:
;delayedPrepareBulkRequestnewRequestsPerSecond)()Lcom/groupbyinc/flux/tasks/Task$Status;ef
@
access$100e(Lcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask;)Ljava/util/concurrent/atomic/AtomicLong;x0
access$200:()Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;
getPackage()Ljava/lang/Package;HI
?Jjava/lang/PackageL
M?2com/groupbyinc/flux/common/logging/ESLoggerFactoryO	getLoggerL(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;QR
PS	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTablen(Ljava/lang/String;Ljava/util/List;)Lcom/groupbyinc/flux/tasks/TaskInfo;
StackMapTable
SourceFileInnerClasses! !"#$B%&'(U)*+VC	?*-?.*?0Y	?3?5*?0Y	?3?7*?0Y	?3?9*?0Y	?3?;*?0Y	?3?=*??Y?B?D*?0Y	?3?F*?0Y	?3?H*?0Y	?3?J*?0Y?M?O*?QY?R?T*?V*?Z?WR?[\?]^?_`?a`?b`?cd??%&X>O9:$;0<<=H>T?`@lAxB?K?P?Q?RefV?a?Y*?V*?5?j*?7?j*?9?j*?;?j*?D?m*?F?j*?=?j*?H?j*?J?j*?O?j?s*?w*?{*????Wa[\XV6WVX`V?KV5*????W[\X
_`?kV,?W[\Xd??Vt$??Y??Y??????????????????W $[\$?`$??Y$??XiUZ|}V?4*?T???L+?	?s?+???	?s?	+?????????s?W4[\)??Xmnoqr t[	??1VA	*?5?DZW	[\	?^X
xy?KV7	*?D??W?W	[\X
|}?KV7	*?=??X?W	[\X
???hV2*?9?j?W[\X??KV7	*?9??X?W	[\X
???hV2*?7?j?W[\X??KV7	*?7??X?W	[\X
???hV2*?;?j?W[\X??KV7	*?;??X?W	[\X
???KV7	*?F??X?W	[\X
???KV7	*?H??X?W	[\X
???KV7	*?J??X?W	[\X
??tuV/*?ڮW[\X???V?
W*?TY:?*,??s??:???*?????*?T?Y*+*?w?	Y?????ç:???KNNSNW>2
W[\W
WWWX???)?H?V?[?No	???Vq,?*??a7	??e???s?W4[\
^X
?
?Vr*???????*??nE?
?"?$j?W [\#&X?
???[WXVw.#??%?%Y??Y??'??#?*,?????-?*#?ڱW.[\.%&X??(?-?[(?XV?_*?TYM²?/*???#?4??*#?Z*?T???N-???6*???9,ñ*?T-#?&X*
???"?-?1?C?F?R?^?[?F?	?Ae?V/*?A?W[\X.BCV/*?O?WD\X.EFV??X.GKV'?K?N?T??X/\]"	


		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy