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

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

There is a newer version: 129
Show newest version
????4*6com/groupbyinc/flux/common/util/concurrent/EsExecutorsjava/lang/ObjectEsExecutors.javaGcom/groupbyinc/flux/common/util/concurrent/EsExecutors$ForceQueuePolicyForceQueuePolicyKcom/groupbyinc/flux/common/util/concurrent/EsExecutors$ExecutorScalingQueue	ExecutorScalingQueueFcom/groupbyinc/flux/common/util/concurrent/EsExecutors$EsThreadFactoryEsThreadFactory8com/groupbyinc/flux/common/util/concurrent/EsExecutors$14com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingProperty%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupPROCESSORS_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;BLcom/groupbyinc/flux/common/settings/Setting;DIRECT_EXECUTOR_SERVICE&Ljava/util/concurrent/ExecutorService;numberOfProcessors1(Lcom/groupbyinc/flux/common/settings/Settings;)I	"getB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;$%
&java/lang/Integer(intValue()I*+
),settings.Lcom/groupbyinc/flux/common/settings/Settings;newSinglePrioritizing?(Ljava/lang/String;Ljava/util/concurrent/ThreadFactory;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;Ljava/util/concurrent/ScheduledExecutorService;)Lcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor;Jcom/groupbyinc/flux/common/util/concurrent/PrioritizedEsThreadPoolExecutor2java/util/concurrent/TimeUnit4MILLISECONDSLjava/util/concurrent/TimeUnit;67	58?(Ljava/lang/String;IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;Ljava/util/concurrent/ScheduledExecutorService;)V:;
3<nameLjava/lang/String;
threadFactory$Ljava/util/concurrent/ThreadFactory;
contextHolder:Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;timer/Ljava/util/concurrent/ScheduledExecutorService;
newScaling?(Ljava/lang/String;IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)Lcom/groupbyinc/flux/common/util/concurrent/EsThreadPoolExecutor;()V:H

I?com/groupbyinc/flux/common/util/concurrent/EsThreadPoolExecutorK
I?(Ljava/lang/String;IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Lcom/groupbyinc/flux/common/util/concurrent/XRejectedExecutionHandler;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)V:N
LOexecutor)Ljava/util/concurrent/ThreadPoolExecutor;QR	
SminImax
keepAliveTimeJunitqueuecLcom/groupbyinc/flux/common/util/concurrent/EsExecutors$ExecutorScalingQueue;MLcom/groupbyinc/flux/common/util/concurrent/EsExecutors$ExecutorScalingQueue;ALcom/groupbyinc/flux/common/util/concurrent/EsThreadPoolExecutor;newFixed?(Ljava/lang/String;IILjava/util/concurrent/ThreadFactory;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)Lcom/groupbyinc/flux/common/util/concurrent/EsThreadPoolExecutor;@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollectionsanewBlockingQueue&()Ljava/util/concurrent/BlockingQueue;cd
be;$Ljava/util/concurrent/BlockingQueue;size
queueCapacitynewAutoQueueFixed?(Ljava/lang/String;IIIIILcom/groupbyinc/flux/common/unit/TimeValue;Ljava/util/concurrent/ThreadFactory;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)Lcom/groupbyinc/flux/common/util/concurrent/EsThreadPoolExecutor;_`
w"java/lang/IllegalArgumentExceptionyjava/lang/StringBuilder{
|Iinitial queue capacity for [~append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
|?"] executor must be positive, got: ?(I)Ljava/lang/StringBuilder;??
|?toString()Ljava/lang/String;??
|?(Ljava/lang/String;)V:?
z?Acom/groupbyinc/flux/common/util/concurrent/ResizableBlockingQueue?
?jLcom/groupbyinc/flux/common/util/concurrent/QueueResizingEsThreadPoolExecutor?"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;??
???&(Ljava/lang/Object;)Ljava/lang/Object;?8com/groupbyinc/flux/common/util/concurrent/TimedRunnable?(Ljava/lang/Runnable;)V:?
???*(Ljava/lang/Runnable;)Ljava/lang/Runnable;?apply()Ljava/util/function/Function;???i(Ljava/lang/String;IIJLjava/util/concurrent/TimeUnit;Lcom/groupbyinc/flux/common/util/concurrent/ResizableBlockingQueue;IILjava/util/function/Function;ILcom/groupbyinc/flux/common/unit/TimeValue;Ljava/util/concurrent/ThreadFactory;Lcom/groupbyinc/flux/common/util/concurrent/XRejectedExecutionHandler;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)V:?
??initialQueueCapacityminQueueSizemaxQueueSize	frameSizetargetedResponseTime+Lcom/groupbyinc/flux/common/unit/TimeValue;YLcom/groupbyinc/flux/common/util/concurrent/ResizableBlockingQueue;CLcom/groupbyinc/flux/common/util/concurrent/ResizableBlockingQueue;newDirectExecutorService(()Ljava/util/concurrent/ExecutorService;	?
threadNameU(Lcom/groupbyinc/flux/common/settings/Settings;[Ljava/lang/String;)Ljava/lang/String;java/util/Arrays?stream.([Ljava/lang/Object;)Ljava/util/stream/Stream;??
??(Ljava/lang/Object;)Z?lambda$threadName$0(Ljava/lang/String;)Z??
???test ()Ljava/util/function/Predicate;???java/util/stream/Stream?filter9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;????.?[?]?java/util/stream/Collectors?joiningf(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/util/stream/Collector;??
??collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;????java/lang/String?T(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;)Ljava/lang/String;??
?names[Ljava/lang/String;
namePrefixcom/groupbyinc/flux/node/Node?NODE_NAME_SETTING?	??exists1(Lcom/groupbyinc/flux/common/settings/Settings;)Z??
?8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;??
??
elasticsearch?isEmpty()Z??
??nodeNamedaemonThreadFactoryf(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;)Ljava/util/concurrent/ThreadFactory;8(Ljava/lang/String;)Ljava/util/concurrent/ThreadFactory;
g(Lcom/groupbyinc/flux/common/settings/Settings;[Ljava/lang/String;)Ljava/util/concurrent/ThreadFactory;??


?
Ithis8Lcom/groupbyinc/flux/common/util/concurrent/EsExecutors;
processors
java/lang/Runtime
getRuntime()Ljava/lang/Runtime;
availableProcessors+
	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;	
intSettingz(Ljava/lang/String;II[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;

I	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTableBootstrapMethods
SourceFileInnerClasses!!	 !"8?#*?'?)?-?#./$;	01"Z?3Y*	?9+,-?=?#*>?@ABCDE$?	FG"?
/?
Y?J:?LY*!?Y?M?P:		?T	?#\	/>?/UV/WV/XY/Z7/@A/BC	&[]%
Q^	%	&[\$C	D%E,F	_`"?4??f:??hY?f?k:?LY*	?9-?oY?p?P?#H	[r4>?4sV4tV4@A4BC%	[q$KLNP&	?m	uv"+
s??*?x??'?zY?|Y?}??*??????????????Y?f??:	??Y*	?9	???oY?p???#f
s>?ssVs?Vs?Vs?Vs?Vs??s@AsBCK([?	%K([?	$_`cd>gBhKi&'	??"???$????"t&+????????ظ޹???M*,??# &./&?? ??$??	?? ?	??"e ??*????*?'??+????+???# ./ ??$?
??&	??"?D?|Y?}???*?????ֶ?*??*?????ض?ֶ?+??ض????#D??D??$?&0X|???|?R|???|?	"=	*+???#	./	??$??"=	*+???#	./	??$?	"3	?
Y*??#	??$?:H"3*?	?#
$
??
??"?
*???#
>?$?&@H"E%???Y?S??#?Y? ???$/0n'????????()2

@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy