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

com.google.common.util.concurrent.MoreExecutors.class Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
????4?
/com/google/common/util/concurrent/MoreExecutorsuseDaemonThreadFactory,(Ljava/util/concurrent/ThreadPoolExecutor;)V
	
java/lang/Object()V
*com/google/common/util/concurrent/InternaltoNanosSaturated(Ljava/time/Duration;)J	java/util/concurrent/TimeUnitNANOSECONDSLjava/util/concurrent/TimeUnit;
getExitingExecutorServiceq(Ljava/util/concurrent/ThreadPoolExecutor;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ExecutorService;;com/google/common/util/concurrent/MoreExecutors$Application
	

"#Q(Ljava/util/concurrent/ThreadPoolExecutor;)Ljava/util/concurrent/ExecutorService;
%&'"getExitingScheduledExecutorService?(Ljava/util/concurrent/ScheduledThreadPoolExecutor;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledExecutorService;
%
*&+c(Ljava/util/concurrent/ScheduledThreadPoolExecutor;)Ljava/util/concurrent/ScheduledExecutorService;
-./addDelayedShutdownHookI(Ljava/util/concurrent/ExecutorService;JLjava/util/concurrent/TimeUnit;)V
-26com/google/common/util/concurrent/ThreadFactoryBuilder
1	
1567	setDaemon;(Z)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
9:;<='java/util/concurrent/ThreadPoolExecutorgetThreadFactory&()Ljava/util/concurrent/ThreadFactory;
1?@AsetThreadFactory^(Ljava/util/concurrent/ThreadFactory;)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
1CD=build
9F@G'(Ljava/util/concurrent/ThreadFactory;)VI7com/google/common/util/concurrent/DirectExecutorService
H		LMNOP0com/google/common/util/concurrent/DirectExecutorINSTANCE2Lcom/google/common/util/concurrent/DirectExecutor;R4com/google/common/util/concurrent/SequentialExecutor
QTU"(Ljava/util/concurrent/Executor;)VW:com/google/common/util/concurrent/ListeningExecutorServiceY-java/util/concurrent/ScheduledExecutorService[Kcom/google/common/util/concurrent/MoreExecutors$ScheduledListeningDecorator
Z]^2(Ljava/util/concurrent/ScheduledExecutorService;)V`Bcom/google/common/util/concurrent/MoreExecutors$ListeningDecorator
_bc)(Ljava/util/concurrent/ExecutorService;)VeCcom/google/common/util/concurrent/ListeningScheduledExecutorService
ghi
invokeAnyImpl?(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/Collection;ZJLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
klmno$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;qrstujava/util/Collectionsize()I
kwxy
checkArgument(Z)V
{|}~com/google/common/collect/ListsnewArrayListWithCapacity(I)Ljava/util/ArrayList;
????? com/google/common/collect/QueuesnewLinkedBlockingQueue,()Ljava/util/concurrent/LinkedBlockingQueue;
???toNanos(J)J
?????java/lang/SystemnanoTime()Jq???iterator()Ljava/util/Iterator;?????java/util/Iteratornext()Ljava/lang/Object;?java/util/concurrent/Callable
???submitAndAddQueueListener?(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/concurrent/Callable;Ljava/util/concurrent/BlockingQueue;)Lcom/google/common/util/concurrent/ListenableFuture;?????java/util/Listadd(Ljava/lang/Object;)Z?????"java/util/concurrent/BlockingQueuepoll?java/util/concurrent/Future????4(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;?%java/util/concurrent/TimeoutException
?	????take????get??????hasNext()Z????cancel(Z)Z?'java/util/concurrent/ExecutionException?java/lang/InterruptedException?java/lang/Exception
???(Ljava/lang/Throwable;)VV???submitU(Ljava/util/concurrent/Callable;)Lcom/google/common/util/concurrent/ListenableFuture;?1com/google/common/util/concurrent/MoreExecutors$1
???[(Ljava/util/concurrent/BlockingQueue;Lcom/google/common/util/concurrent/ListenableFuture;)V
???directExecutor!()Ljava/util/concurrent/Executor;?????2com/google/common/util/concurrent/ListenableFutureaddListener6(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
???isAppEngineWithApiClasses
????=java/util/concurrent/ExecutorsdefaultThreadFactory?&com.google.appengine.api.ThreadManager
?????java/lang/ClassforName%(Ljava/lang/String;)Ljava/lang/Class;?currentRequestThreadFactory
????	getMethod@(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
?????java/lang/reflect/Methodinvoke9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;?"java/util/concurrent/ThreadFactory? java/lang/IllegalAccessException? java/lang/ClassNotFoundExceptionjava/lang/NoSuchMethodExceptionjava/lang/RuntimeException9Couldn't invoke ThreadManager.currentRequestThreadFactory
*(Ljava/lang/String;Ljava/lang/Throwable;)V
+java/lang/reflect/InvocationTargetException
	
getCause()Ljava/lang/Throwable;
!com/google/common/base/Throwables	propagate3(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;(com.google.appengine.runtime.environment
?getProperty&(Ljava/lang/String;)Ljava/lang/String;-com.google.appengine.api.utils.SystemProperty"com.google.apphosting.api.ApiProxy getCurrentEnvironment
"#=platformThreadFactory?%&'	newThread((Ljava/lang/Runnable;)Ljava/lang/Thread;
)*+,ojava/util/ObjectsrequireNonNull.java/lang/Thread
-012setName(Ljava/lang/String;)V4java/lang/SecurityException61com/google/common/util/concurrent/MoreExecutors$2
589C(Ljava/util/concurrent/Executor;Lcom/google/common/base/Supplier;)V;1com/google/common/util/concurrent/MoreExecutors$3
:=>J(Ljava/util/concurrent/ExecutorService;Lcom/google/common/base/Supplier;)V@1com/google/common/util/concurrent/MoreExecutors$4
?BCS(Ljava/util/concurrent/ScheduledExecutorService;Lcom/google/common/base/Supplier;)V
EFGshutdownAndAwaitTerminationI(Ljava/util/concurrent/ExecutorService;JLjava/util/concurrent/TimeUnit;)ZKLMN$java/util/concurrent/ExecutorServiceshutdownKPQRawaitTermination#(JLjava/util/concurrent/TimeUnit;)ZKTUVshutdownNow()Ljava/util/List;
-XYZ
currentThread()Ljava/lang/Thread;
-\]	interruptK_`?isTerminatedb1com/google/common/util/concurrent/MoreExecutors$5
adeT(Ljava/util/concurrent/Executor;Lcom/google/common/util/concurrent/AbstractFuture;)VCodeLineNumberTableLocalVariableTablethis1Lcom/google/common/util/concurrent/MoreExecutors;e(Ljava/util/concurrent/ThreadPoolExecutor;Ljava/time/Duration;)Ljava/util/concurrent/ExecutorService;executor)Ljava/util/concurrent/ThreadPoolExecutor;terminationTimeoutLjava/time/Duration;MethodParametersRuntimeInvisibleAnnotations0Lcom/google/common/annotations/J2ktIncompatible;/Lcom/google/common/annotations/GwtIncompatible;JtimeUnitw(Ljava/util/concurrent/ScheduledThreadPoolExecutor;Ljava/time/Duration;)Ljava/util/concurrent/ScheduledExecutorService;2Ljava/util/concurrent/ScheduledThreadPoolExecutor;=(Ljava/util/concurrent/ExecutorService;Ljava/time/Duration;)Vservice&Ljava/util/concurrent/ExecutorService;newDirectExecutorService>()Lcom/google/common/util/concurrent/ListeningExecutorService;newSequentialExecutor@(Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Executor;delegateLjava/util/concurrent/Executor;listeningDecoratord(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/ListeningExecutorService;
StackMapTablev(Ljava/util/concurrent/ScheduledExecutorService;)Lcom/google/common/util/concurrent/ListeningScheduledExecutorService;/Ljava/util/concurrent/ScheduledExecutorService;{(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/Collection;ZLjava/time/Duration;)Ljava/lang/Object;executorService;>;
Exceptions	Signature?(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/Collection<+Ljava/util/concurrent/Callable;>;ZLjava/time/Duration;)TT;RuntimeVisibleAnnotations6Lcom/google/common/util/concurrent/ParametricNullness;RuntimeVisibleTypeAnnotations5Lorg/checkerframework/checker/nullness/qual/Nullable;nowfLjava/util/concurrent/Future;eex)Ljava/util/concurrent/ExecutionException;iex Ljava/lang/InterruptedException;rexLjava/lang/Exception;eelastTimeitLjava/util/Iterator;activeIunitntasksfuturesLjava/util/List;futureQueue$Ljava/util/concurrent/BlockingQueue;timeoutNanos"Ljava/util/concurrent/Future;;Ljava/util/Iterator<+Ljava/util/concurrent/Callable;>;4Ljava/util/List;>;HLjava/util/concurrent/BlockingQueue;>;?java/lang/Throwable?(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/Collection<+Ljava/util/concurrent/Callable;>;ZJLjava/util/concurrent/TimeUnit;)TT;taskLjava/util/concurrent/Callable;queuefuture4Lcom/google/common/util/concurrent/ListenableFuture;$Ljava/util/concurrent/Callable;9Lcom/google/common/util/concurrent/ListenableFuture;?(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/concurrent/Callable;Ljava/util/concurrent/BlockingQueue;>;)Lcom/google/common/util/concurrent/ListenableFuture;e(Ljava/lang/ReflectiveOperationException;-Ljava/lang/reflect/InvocationTargetException;?&java/lang/ReflectiveOperationException"Ljava/lang/ClassNotFoundException;"Ljava/lang/IllegalAccessException;!Ljava/lang/NoSuchMethodException;:(Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Thread;nameLjava/lang/String;runnableLjava/lang/Runnable;resultLjava/lang/Thread;?java/lang/String?java/lang/RunnablerenamingDecoratora(Ljava/util/concurrent/Executor;Lcom/google/common/base/Supplier;)Ljava/util/concurrent/Executor;nameSupplier!Lcom/google/common/base/Supplier;5Lcom/google/common/base/Supplier;u(Ljava/util/concurrent/Executor;Lcom/google/common/base/Supplier;)Ljava/util/concurrent/Executor;o(Ljava/util/concurrent/ExecutorService;Lcom/google/common/base/Supplier;)Ljava/util/concurrent/ExecutorService;?(Ljava/util/concurrent/ExecutorService;Lcom/google/common/base/Supplier;)Ljava/util/concurrent/ExecutorService;?(Ljava/util/concurrent/ScheduledExecutorService;Lcom/google/common/base/Supplier;)Ljava/util/concurrent/ScheduledExecutorService;?(Ljava/util/concurrent/ScheduledExecutorService;Lcom/google/common/base/Supplier;)Ljava/util/concurrent/ScheduledExecutorService;=(Ljava/util/concurrent/ExecutorService;Ljava/time/Duration;)Z8Lcom/google/errorprone/annotations/CanIgnoreReturnValue;iehalfTimeoutNanosrejectionPropagatingExecutorr(Ljava/util/concurrent/Executor;Lcom/google/common/util/concurrent/AbstractFuture;)Ljava/util/concurrent/Executor;2Lcom/google/common/util/concurrent/AbstractFuture;5Lcom/google/common/util/concurrent/AbstractFuture<*>;u(Ljava/util/concurrent/Executor;Lcom/google/common/util/concurrent/AbstractFuture<*>;)Ljava/util/concurrent/Executor;
access$000x0
SourceFileMoreExecutors.javaCLcom/google/common/util/concurrent/ElementTypesAreNonnullByDefault;-Lcom/google/common/annotations/GwtCompatible;emulatedInnerClassesApplicationScheduledListeningDecoratorListeningDecorator1f/*??gChij	kfH*+?
???gVWVhlmnop	lnq
rs	fL?Y?*-? ?glh lmntup
lnuq
rs	#f6?Y?*?!?ghlmplq
rs	&vfH*+?
??$?g???hlwnop	lnq
rs	&'fT?Y?*-?(?g?
?
?h lwntup
lnuq
rs	&+f6?Y?*?)?g?hlwplq
rs	.xfD*+?
??,?g
??hyznop	ynq
rs	./fP?Y?*-?0?g
?
?h yzntup
ynuq
rs
fX*?1Y?3?4*?8?>?B?E?g&	(
)*&+hlmplq
rs	{|f ?HY?J?gIqs	??f?K?g?	}~f3	?QY*?S?g?h	?pqs	??fx,*?V?
*?V? *?X??ZY*?X?\??_Y*?a?g????#?+?h,z?GVpq
rs	??fZ*?d?
*?d??ZY*?\?g????h??Gdpq
rsh?fp*+-?
??f?g??
?h*???????o???????p????????q
rs?
?hif?*?jW?jW+?p6???v?z:??:!??7	:?	???	7+??:*????????W??6????:?u?$??*????????W??O????7	?????:???Y?????7	ee7	7?????:?X????:??:???????:??W????::?:?:??Y??:??#?
??Y??:?:??:???????:??W??????,???5???:?4?\,^\g?4???? ?'?,?4?7?D?L?d?g?j?v?{??????????????????????????????????????&?)?,?.?2?5?7?:?<?G?J?O?Y?\?}?????h???t	??.??7??<??v???7%??D?tL??j???}	?????????????t??y??'e??,`??4X?t	?H	??v???L??}	?????'e??,`?????@?#
Vq???@?'??6?!???!?Vq??????H?D???	Vq????
Vq?????!????p?????????q
rs?
?
??f?*+??N-??Y,-?ѸԹ?-?gh*????????? ??????p
?????q
rs?
?	#=f?:?ޚ??????????????K?Y*??K*???
#$?
#$?
#$
#1	g. 
#$%&##$'%(1)2*h%??2???
Y?L	q
rs
??f$E?????W?K????????????K?K?K?K??89?8<	8??8BgJ1	25867;%<-=8;9?:A<B=D?E@GBHCJh4??:??=??@??C???	I?@@?B	B?Bq
rs&?f?%*?jW+?jW?!+?$?(?-M,*?/?N,?"3gUV
XZ]"[#^h %??%??????"??-3p	??q
rs??fb*?jW+?jW?5Y*+?7?grs
thl??????p	l???q
rs??fb*?jW+?jW?:Y*+?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy