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

com.groupbyinc.flux.common.util.concurrent.PrioritizedEsThreadPoolExecutor.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4Jcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor?com/groupbyinc/flux/common/util/concurrent/EsThreadPoolExecutor$PrioritizedEsThreadPoolExecutor.java`com/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor$PrioritizedFutureTaskPrioritizedFutureTaskicom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable	TieBreakingPrioritizedRunnableRcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor$PendingPendingNO_WAIT_TIME_VALUE+Lcom/groupbyinc/flux/common/unit/TimeValue;insertionOrder(Ljava/util/concurrent/atomic/AtomicLong;currentLjava/util/Queue;'Ljava/util/Queue;timer/Ljava/util/concurrent/ScheduledExecutorService;?(Ljava/lang/String;IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;Ljava/util/concurrent/ScheduledExecutorService;)V*java/util/concurrent/PriorityBlockingQueue()V
?(Ljava/lang/String;IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)V
 &java/util/concurrent/atomic/AtomicLong"
#	%@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections'newQueue()Ljava/util/Queue;)*
(+	-	/thisLLcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor;nameLjava/lang/String;corePoolSizeImaximumPoolSize
keepAliveTimeJunitLjava/util/concurrent/TimeUnit;
threadFactory$Ljava/util/concurrent/ThreadFactory;
contextHolder:Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;
getPendingW()[Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor$Pending;java/util/ArrayListB
C(Ljava/util/Collection;)VE
CF
addPending$(Ljava/util/List;Ljava/util/List;Z)VHI
JgetQueue&()Ljava/util/concurrent/BlockingQueue;LM
Njava/util/ListPsize()IRSQTtoArray(([Ljava/lang/Object;)[Ljava/lang/Object;VWQXU[Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor$Pending;ZpendingfLjava/util/List;Ljava/util/List;getNumberOfPendingTasksjava/util/Queue`aT"java/util/concurrent/BlockingQueuecdTgetMaxTaskWaitTime-()Lcom/groupbyinc/flux/common/unit/TimeValue;	hjava/lang/SystemjnanoTime()Jlm
kniterator()Ljava/util/Iterator;pqdrjava/util/IteratorthasNext()Zvwuxnext()Ljava/lang/Object;z{u|java/lang/Runnable~>com/groupbyinc/flux/common/util/concurrent/PrioritizedRunnable?getCreationDateInNanos?m
??java/lang/Math?min(JJ)J??
??)com/groupbyinc/flux/common/unit/TimeValue?timeValueNanos.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;??
??queuedRunnableLjava/lang/Runnable;nowoldestCreationDateInNanosQr
access$000?(Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable;)Ljava/lang/Runnable;??

?unwrap*(Ljava/lang/Runnable;)Ljava/lang/Runnable;??
?priority'()Lcom/groupbyinc/flux/common/Priority;??

?
access$100n(Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable;)J??

?<(Ljava/lang/Object;Lcom/groupbyinc/flux/common/Priority;JZ)V?

?add(Ljava/lang/Object;)Z??Q?taskLjava/lang/Object;??	?java/lang/Object?%Lcom/groupbyinc/flux/common/Priority;??	?9	?tkLcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable;
innerRunnablebLcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor$PrioritizedFutureTask;runnable	runnables&Ljava/util/List;	executingZ
beforeExecute)(Ljava/lang/Thread;Ljava/lang/Runnable;)Va?Ljava/lang/Thread;rafterExecute,(Ljava/lang/Runnable;Ljava/lang/Throwable;)V??
?remove??a?Ljava/lang/Throwable;executeV(Ljava/lang/Runnable;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/Runnable;)VwrapRunnable??
?	doExecute(Ljava/lang/Runnable;)V??
?nanos?m
??scheduleTimeoutq(Ljava/util/concurrent/ScheduledExecutorService;Ljava/lang/Runnable;Lcom/groupbyinc/flux/common/unit/TimeValue;)V??

?'java/lang/UnsupportedOperationException?6Execute with timeout is not supported for future tasks?(Ljava/lang/String;)V?
??commandtimeouttimeoutCallback
??
?incrementAndGet?m
#??(Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor;Ljava/lang/Runnable;Lcom/groupbyinc/flux/common/Priority;J)V?

?#com/groupbyinc/flux/common/Priority?NORMAL??	??
newTaskForM(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/RunnableFuture;wrap{(Ljava/lang/Runnable;Lcom/groupbyinc/flux/common/Priority;)Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedRunnable;??
???(Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor;Ljava/lang/Runnable;Lcom/groupbyinc/flux/common/Priority;Ljava/lang/Object;J)V?
?valueTT;F(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/RunnableFuture;>com/groupbyinc/flux/common/util/concurrent/PrioritizedCallable?(Ljava/util/concurrent/Callable;Lcom/groupbyinc/flux/common/Priority;)Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedCallable;?
?(Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor;Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedCallable;J)V
callable$Ljava/util/concurrent/Callable;Ljava/util/concurrent/Callable;timeValueMillis
?
?	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable?(Ljava/util/List;Ljava/util/List;Z)VY(Ljava/lang/Runnable;TT;)Ljava/util/concurrent/RunnableFuture;f(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/RunnableFuture;
SourceFileInnerClasses!?

/*+?Y??!*?#Y?$?&*?,?.*	?0?\	/12/34/56/76/89/:;/<=/>?/	5/!0(6.7@A?=?CY?DL*?CY*?.?G+?K*?CY*?O?G+?K++?U?
?Y?[?=125\^5\]:;<*=_ST*?.?b<*?O?e`<?12
R6A
BCfg?V*?O?e??i??o@B*?O?s:?y?'?}?:???!??????B???!e???*7??V12B?9@?9.JKNOP7Q?RESHRLUOW?u*?HI??+??:?y???}?:?
?8?
:??:?",?
Y*??????????W?M??E?:??:????*?????:,?
Y????????W??c?\	-+??4$??j;??q4??????12??^?\^???????\]:[\&]-^4_9cXecfjgqh|i?k?m?n?u?O?.?????N*?.,??W? 12????
rs??X*+,??*?.+??W? 12????wxy???6*+??L*+??,??	??$+?
?+?
*?0-,?ݧ
??Y?俱*6126??6?6??|}~?+?5?+	???X+???*+?
?+?+????M?
Y**+??,*?&???+??+?+?
?+??
Y**+???*?&??? ??X12X??*
?????.?5?7?>?@????*+???+????L+????N?Y*+-,*?&????**12*??*????*???????z#+??+???L?Y*+?*?&???#12#	#	
??? 	??i?.

	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy