public final class com.google.common.util.concurrent.MoreExecutors
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.util.concurrent.MoreExecutors
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/MoreExecutors;
public static java.util.concurrent.ExecutorService getExitingExecutorService(java.util.concurrent.ThreadPoolExecutor, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/ThreadPoolExecutor;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ExecutorService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: new com.google.common.util.concurrent.MoreExecutors$Application
dup
invokespecial com.google.common.util.concurrent.MoreExecutors$Application.<init>:()V
aload 0
lload 1
aload 3
invokevirtual com.google.common.util.concurrent.MoreExecutors$Application.getExitingExecutorService:(Ljava/util/concurrent/ThreadPoolExecutor;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ExecutorService;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 executor Ljava/util/concurrent/ThreadPoolExecutor;
0 1 1 terminationTimeout J
0 1 3 timeUnit Ljava/util/concurrent/TimeUnit;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
executor
terminationTimeout
timeUnit
public static java.util.concurrent.ExecutorService getExitingExecutorService(java.util.concurrent.ThreadPoolExecutor);
descriptor: (Ljava/util/concurrent/ThreadPoolExecutor;)Ljava/util/concurrent/ExecutorService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new com.google.common.util.concurrent.MoreExecutors$Application
dup
invokespecial com.google.common.util.concurrent.MoreExecutors$Application.<init>:()V
aload 0
invokevirtual com.google.common.util.concurrent.MoreExecutors$Application.getExitingExecutorService:(Ljava/util/concurrent/ThreadPoolExecutor;)Ljava/util/concurrent/ExecutorService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 executor Ljava/util/concurrent/ThreadPoolExecutor;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
executor
public static java.util.concurrent.ScheduledExecutorService getExitingScheduledExecutorService(java.util.concurrent.ScheduledThreadPoolExecutor, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/ScheduledThreadPoolExecutor;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: new com.google.common.util.concurrent.MoreExecutors$Application
dup
invokespecial com.google.common.util.concurrent.MoreExecutors$Application.<init>:()V
1: aload 0
lload 1
aload 3
invokevirtual com.google.common.util.concurrent.MoreExecutors$Application.getExitingScheduledExecutorService:(Ljava/util/concurrent/ScheduledThreadPoolExecutor;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledExecutorService;
2: areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 executor Ljava/util/concurrent/ScheduledThreadPoolExecutor;
0 3 1 terminationTimeout J
0 3 3 timeUnit Ljava/util/concurrent/TimeUnit;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
executor
terminationTimeout
timeUnit
public static java.util.concurrent.ScheduledExecutorService getExitingScheduledExecutorService(java.util.concurrent.ScheduledThreadPoolExecutor);
descriptor: (Ljava/util/concurrent/ScheduledThreadPoolExecutor;)Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new com.google.common.util.concurrent.MoreExecutors$Application
dup
invokespecial com.google.common.util.concurrent.MoreExecutors$Application.<init>:()V
aload 0
invokevirtual com.google.common.util.concurrent.MoreExecutors$Application.getExitingScheduledExecutorService:(Ljava/util/concurrent/ScheduledThreadPoolExecutor;)Ljava/util/concurrent/ScheduledExecutorService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 executor Ljava/util/concurrent/ScheduledThreadPoolExecutor;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
executor
public static void addDelayedShutdownHook(java.util.concurrent.ExecutorService, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/ExecutorService;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: new com.google.common.util.concurrent.MoreExecutors$Application
dup
invokespecial com.google.common.util.concurrent.MoreExecutors$Application.<init>:()V
aload 0
lload 1
aload 3
invokevirtual com.google.common.util.concurrent.MoreExecutors$Application.addDelayedShutdownHook:(Ljava/util/concurrent/ExecutorService;JLjava/util/concurrent/TimeUnit;)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 service Ljava/util/concurrent/ExecutorService;
0 2 1 terminationTimeout J
0 2 3 timeUnit Ljava/util/concurrent/TimeUnit;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
service
terminationTimeout
timeUnit
private static void useDaemonThreadFactory(java.util.concurrent.ThreadPoolExecutor);
descriptor: (Ljava/util/concurrent/ThreadPoolExecutor;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
1: new com.google.common.util.concurrent.ThreadFactoryBuilder
dup
invokespecial com.google.common.util.concurrent.ThreadFactoryBuilder.<init>:()V
2: iconst_1
invokevirtual com.google.common.util.concurrent.ThreadFactoryBuilder.setDaemon:(Z)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
3: aload 0
invokevirtual java.util.concurrent.ThreadPoolExecutor.getThreadFactory:()Ljava/util/concurrent/ThreadFactory;
invokevirtual com.google.common.util.concurrent.ThreadFactoryBuilder.setThreadFactory:(Ljava/util/concurrent/ThreadFactory;)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
4: invokevirtual com.google.common.util.concurrent.ThreadFactoryBuilder.build:()Ljava/util/concurrent/ThreadFactory;
5: invokevirtual java.util.concurrent.ThreadPoolExecutor.setThreadFactory:(Ljava/util/concurrent/ThreadFactory;)V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 executor Ljava/util/concurrent/ThreadPoolExecutor;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
executor
public static com.google.common.util.concurrent.ListeningExecutorService newDirectExecutorService();
descriptor: ()Lcom/google/common/util/concurrent/ListeningExecutorService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.common.util.concurrent.MoreExecutors$DirectExecutorService
dup
invokespecial com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
public static java.util.concurrent.Executor directExecutor();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.util.concurrent.MoreExecutors$DirectExecutor.INSTANCE:Lcom/google/common/util/concurrent/MoreExecutors$DirectExecutor;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.util.concurrent.Executor newSequentialExecutor(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Executor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.util.concurrent.SequentialExecutor
dup
aload 0
invokespecial com.google.common.util.concurrent.SequentialExecutor.<init>:(Ljava/util/concurrent/Executor;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 delegate Ljava/util/concurrent/Executor;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
delegate
public static com.google.common.util.concurrent.ListeningExecutorService listeningDecorator(java.util.concurrent.ExecutorService);
descriptor: (Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/ListeningExecutorService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.google.common.util.concurrent.ListeningExecutorService
ifeq 2
1: aload 0
checkcast com.google.common.util.concurrent.ListeningExecutorService
goto 5
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.concurrent.ScheduledExecutorService
ifeq 4
3: new com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator
dup
aload 0
checkcast java.util.concurrent.ScheduledExecutorService
invokespecial com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator.<init>:(Ljava/util/concurrent/ScheduledExecutorService;)V
goto 5
4: StackMap locals:
StackMap stack:
new com.google.common.util.concurrent.MoreExecutors$ListeningDecorator
dup
aload 0
invokespecial com.google.common.util.concurrent.MoreExecutors$ListeningDecorator.<init>:(Ljava/util/concurrent/ExecutorService;)V
5: StackMap locals:
StackMap stack: com.google.common.util.concurrent.ListeningExecutorService
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 delegate Ljava/util/concurrent/ExecutorService;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
delegate
public static com.google.common.util.concurrent.ListeningScheduledExecutorService listeningDecorator(java.util.concurrent.ScheduledExecutorService);
descriptor: (Ljava/util/concurrent/ScheduledExecutorService;)Lcom/google/common/util/concurrent/ListeningScheduledExecutorService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.google.common.util.concurrent.ListeningScheduledExecutorService
ifeq 2
1: aload 0
checkcast com.google.common.util.concurrent.ListeningScheduledExecutorService
goto 3
2: StackMap locals:
StackMap stack:
new com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator
dup
aload 0
invokespecial com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator.<init>:(Ljava/util/concurrent/ScheduledExecutorService;)V
3: StackMap locals:
StackMap stack: com.google.common.util.concurrent.ListeningScheduledExecutorService
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 delegate Ljava/util/concurrent/ScheduledExecutorService;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
delegate
static <T> T invokeAnyImpl(com.google.common.util.concurrent.ListeningExecutorService, java.util.Collection<? extends java.util.concurrent.Callable<T>>, boolean, long, java.util.concurrent.TimeUnit);
descriptor: (Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/Collection;ZJLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=23, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 5
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
invokeinterface java.util.Collection.size:()I
istore 6
start local 6 3: iload 6
ifle 4
iconst_1
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
6: iload 6
invokestatic com.google.common.collect.Lists.newArrayListWithCapacity:(I)Ljava/util/ArrayList;
astore 7
start local 7 7: invokestatic com.google.common.collect.Queues.newLinkedBlockingQueue:()Ljava/util/concurrent/LinkedBlockingQueue;
astore 8
start local 8 8: aload 5
lload 3
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lstore 9
start local 9 9: aconst_null
astore 11
start local 11 10: iload 2
ifeq 11
invokestatic java.lang.System.nanoTime:()J
goto 12
StackMap locals: com.google.common.util.concurrent.ListeningExecutorService java.util.Collection int long java.util.concurrent.TimeUnit int java.util.List java.util.concurrent.BlockingQueue long java.util.concurrent.ExecutionException
StackMap stack:
11: lconst_0
StackMap locals:
StackMap stack: long
12: lstore 12
start local 12 13: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 14
start local 14 14: aload 7
aload 0
aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Callable
aload 8
invokestatic com.google.common.util.concurrent.MoreExecutors.submitAndAddQueueListener:(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/concurrent/Callable;Ljava/util/concurrent/BlockingQueue;)Lcom/google/common/util/concurrent/ListenableFuture;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: iinc 6 -1
16: iconst_1
istore 15
start local 15 17: StackMap locals: long java.util.Iterator int
StackMap stack:
aload 8
invokeinterface java.util.concurrent.BlockingQueue.poll:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 16
start local 16 18: aload 16
ifnonnull 35
19: iload 6
ifle 24
20: iinc 6 -1
21: aload 7
aload 0
aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Callable
aload 8
invokestatic com.google.common.util.concurrent.MoreExecutors.submitAndAddQueueListener:(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/concurrent/Callable;Ljava/util/concurrent/BlockingQueue;)Lcom/google/common/util/concurrent/ListenableFuture;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: iinc 15 1
23: goto 35
StackMap locals: java.util.concurrent.Future
StackMap stack:
24: iload 15
ifne 26
25: goto 49
26: StackMap locals:
StackMap stack:
iload 2
ifeq 34
27: aload 8
lload 9
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.BlockingQueue.poll:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 16
28: aload 16
ifnonnull 30
29: new java.util.concurrent.TimeoutException
dup
invokespecial java.util.concurrent.TimeoutException.<init>:()V
athrow
30: StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 17
start local 17 31: lload 9
lload 17
lload 12
lsub
lsub
lstore 9
32: lload 17
lstore 12
end local 17 33: goto 35
34: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.concurrent.BlockingQueue.take:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 16
35: StackMap locals:
StackMap stack:
aload 16
ifnull 17
36: iinc 15 -1
37: aload 16
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
astore 20
38: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 22
goto 41
StackMap locals: com.google.common.util.concurrent.ListeningExecutorService java.util.Collection int long java.util.concurrent.TimeUnit int java.util.List java.util.concurrent.BlockingQueue long java.util.concurrent.ExecutionException long java.util.Iterator int java.util.concurrent.Future top top top java.lang.Object top java.util.Iterator
StackMap stack:
39: aload 22
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 21
start local 21 40: aload 21
iconst_1
invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
end local 21 41: StackMap locals:
StackMap stack:
aload 22
invokeinterface java.util.Iterator.hasNext:()Z
ifne 39
42: aload 20
areturn
43: StackMap locals: com.google.common.util.concurrent.ListeningExecutorService java.util.Collection int long java.util.concurrent.TimeUnit int java.util.List java.util.concurrent.BlockingQueue long java.util.concurrent.ExecutionException long java.util.Iterator int java.util.concurrent.Future
StackMap stack: java.util.concurrent.ExecutionException
astore 17
start local 17 44: aload 17
astore 11
end local 17 45: goto 17
46: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 17
start local 17 47: new java.util.concurrent.ExecutionException
dup
aload 17
invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
astore 11
end local 17 end local 16 48: goto 17
49: StackMap locals:
StackMap stack:
aload 11
ifnonnull 51
50: new java.util.concurrent.ExecutionException
dup
aconst_null
invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
astore 11
51: StackMap locals:
StackMap stack:
aload 11
athrow
end local 15 end local 14 end local 12 end local 11 52: StackMap locals: com.google.common.util.concurrent.ListeningExecutorService java.util.Collection int long java.util.concurrent.TimeUnit int java.util.List java.util.concurrent.BlockingQueue long
StackMap stack: java.lang.Throwable
astore 19
53: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 22
goto 56
StackMap locals: com.google.common.util.concurrent.ListeningExecutorService java.util.Collection int long java.util.concurrent.TimeUnit int java.util.List java.util.concurrent.BlockingQueue long top top top top top top top top java.lang.Throwable top top java.util.Iterator
StackMap stack:
54: aload 22
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 21
start local 21 55: aload 21
iconst_1
invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
end local 21 56: StackMap locals:
StackMap stack:
aload 22
invokeinterface java.util.Iterator.hasNext:()Z
ifne 54
57: aload 19
athrow
end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 executorService Lcom/google/common/util/concurrent/ListeningExecutorService;
0 58 1 tasks Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;
0 58 2 timed Z
0 58 3 timeout J
0 58 5 unit Ljava/util/concurrent/TimeUnit;
3 58 6 ntasks I
7 58 7 futures Ljava/util/List<Ljava/util/concurrent/Future<TT;>;>;
8 58 8 futureQueue Ljava/util/concurrent/BlockingQueue<Ljava/util/concurrent/Future<TT;>;>;
9 58 9 timeoutNanos J
10 52 11 ee Ljava/util/concurrent/ExecutionException;
13 52 12 lastTime J
14 52 14 it Ljava/util/Iterator<+Ljava/util/concurrent/Callable<TT;>;>;
17 52 15 active I
18 48 16 f Ljava/util/concurrent/Future<TT;>;
31 33 17 now J
44 45 17 eex Ljava/util/concurrent/ExecutionException;
47 48 17 rex Ljava/lang/RuntimeException;
40 41 21 f Ljava/util/concurrent/Future<TT;>;
55 56 21 f Ljava/util/concurrent/Future<TT;>;
Exception table:
from to target type
37 38 43 Class java.util.concurrent.ExecutionException
37 38 46 Class java.lang.RuntimeException
9 38 52 any
43 52 52 any
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
Signature: <T:Ljava/lang/Object;>(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;ZJLjava/util/concurrent/TimeUnit;)TT;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
executorService
tasks
timed
timeout
unit
private static <T> com.google.common.util.concurrent.ListenableFuture<T> submitAndAddQueueListener(com.google.common.util.concurrent.ListeningExecutorService, java.util.concurrent.Callable<T>, java.util.concurrent.BlockingQueue<java.util.concurrent.Future<T>>);
descriptor: (Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/concurrent/Callable;Ljava/util/concurrent/BlockingQueue;)Lcom/google/common/util/concurrent/ListenableFuture;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface com.google.common.util.concurrent.ListeningExecutorService.submit:(Ljava/util/concurrent/Callable;)Lcom/google/common/util/concurrent/ListenableFuture;
astore 3
start local 3 1: aload 3
2: new com.google.common.util.concurrent.MoreExecutors$1
dup
aload 2
aload 3
invokespecial com.google.common.util.concurrent.MoreExecutors$1.<init>:(Ljava/util/concurrent/BlockingQueue;Lcom/google/common/util/concurrent/ListenableFuture;)V
3: invokestatic com.google.common.util.concurrent.MoreExecutors.directExecutor:()Ljava/util/concurrent/Executor;
4: invokeinterface com.google.common.util.concurrent.ListenableFuture.addListener:(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 executorService Lcom/google/common/util/concurrent/ListeningExecutorService;
0 6 1 task Ljava/util/concurrent/Callable<TT;>;
0 6 2 queue Ljava/util/concurrent/BlockingQueue<Ljava/util/concurrent/Future<TT;>;>;
1 6 3 future Lcom/google/common/util/concurrent/ListenableFuture<TT;>;
Signature: <T:Ljava/lang/Object;>(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/concurrent/Callable<TT;>;Ljava/util/concurrent/BlockingQueue<Ljava/util/concurrent/Future<TT;>;>;)Lcom/google/common/util/concurrent/ListenableFuture<TT;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
executorService
task
queue final
public static java.util.concurrent.ThreadFactory platformThreadFactory();
descriptor: ()Ljava/util/concurrent/ThreadFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic com.google.common.util.concurrent.MoreExecutors.isAppEngine:()Z
ifne 2
1: invokestatic java.util.concurrent.Executors.defaultThreadFactory:()Ljava/util/concurrent/ThreadFactory;
areturn
2: StackMap locals:
StackMap stack:
ldc "com.google.appengine.api.ThreadManager"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
3: ldc "currentRequestThreadFactory"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
4: aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
5: checkcast java.util.concurrent.ThreadFactory
6: areturn
7: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 0
start local 0 8: new java.lang.RuntimeException
dup
ldc "Couldn't invoke ThreadManager.currentRequestThreadFactory"
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 9: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 0
start local 0 10: aload 0
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
invokestatic com.google.common.base.Throwables.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
8 9 0 e Ljava/lang/ReflectiveOperationException;
10 11 0 e Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
2 6 7 Class java.lang.IllegalAccessException
2 6 7 Class java.lang.ClassNotFoundException
2 6 7 Class java.lang.NoSuchMethodException
2 6 9 Class java.lang.reflect.InvocationTargetException
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()
private static boolean isAppEngine();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc "com.google.appengine.runtime.environment"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
ldc "com.google.apphosting.api.ApiProxy"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
3: ldc "getCurrentEnvironment"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
4: aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
5: ifnull 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
7: ireturn
8: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
pop
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
pop
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
15: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 7 8 Class java.lang.ClassNotFoundException
2 7 10 Class java.lang.reflect.InvocationTargetException
2 7 12 Class java.lang.IllegalAccessException
2 7 14 Class java.lang.NoSuchMethodException
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
static java.lang.Thread newThread(java.lang.String, java.lang.Runnable);
descriptor: (Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: invokestatic com.google.common.util.concurrent.MoreExecutors.platformThreadFactory:()Ljava/util/concurrent/ThreadFactory;
aload 1
invokeinterface java.util.concurrent.ThreadFactory.newThread:(Ljava/lang/Runnable;)Ljava/lang/Thread;
astore 2
start local 2 3: aload 2
aload 0
invokevirtual java.lang.Thread.setName:(Ljava/lang/String;)V
4: goto 6
StackMap locals: java.lang.String java.lang.Runnable java.lang.Thread
StackMap stack: java.lang.SecurityException
5: pop
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 name Ljava/lang/String;
0 7 1 runnable Ljava/lang/Runnable;
3 7 2 result Ljava/lang/Thread;
Exception table:
from to target type
3 4 5 Class java.lang.SecurityException
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
name
runnable
static java.util.concurrent.Executor renamingDecorator(java.util.concurrent.Executor, com.google.common.base.Supplier<java.lang.String>);
descriptor: (Ljava/util/concurrent/Executor;Lcom/google/common/base/Supplier;)Ljava/util/concurrent/Executor;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: invokestatic com.google.common.util.concurrent.MoreExecutors.isAppEngine:()Z
ifeq 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
new com.google.common.util.concurrent.MoreExecutors$2
dup
aload 0
aload 1
invokespecial com.google.common.util.concurrent.MoreExecutors$2.<init>:(Ljava/util/concurrent/Executor;Lcom/google/common/base/Supplier;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 executor Ljava/util/concurrent/Executor;
0 5 1 nameSupplier Lcom/google/common/base/Supplier<Ljava/lang/String;>;
Signature: (Ljava/util/concurrent/Executor;Lcom/google/common/base/Supplier<Ljava/lang/String;>;)Ljava/util/concurrent/Executor;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
executor final
nameSupplier final
static java.util.concurrent.ExecutorService renamingDecorator(java.util.concurrent.ExecutorService, com.google.common.base.Supplier<java.lang.String>);
descriptor: (Ljava/util/concurrent/ExecutorService;Lcom/google/common/base/Supplier;)Ljava/util/concurrent/ExecutorService;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: invokestatic com.google.common.util.concurrent.MoreExecutors.isAppEngine:()Z
ifeq 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
new com.google.common.util.concurrent.MoreExecutors$3
dup
aload 0
aload 1
invokespecial com.google.common.util.concurrent.MoreExecutors$3.<init>:(Ljava/util/concurrent/ExecutorService;Lcom/google/common/base/Supplier;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 service Ljava/util/concurrent/ExecutorService;
0 5 1 nameSupplier Lcom/google/common/base/Supplier<Ljava/lang/String;>;
Signature: (Ljava/util/concurrent/ExecutorService;Lcom/google/common/base/Supplier<Ljava/lang/String;>;)Ljava/util/concurrent/ExecutorService;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
service final
nameSupplier final
static java.util.concurrent.ScheduledExecutorService renamingDecorator(java.util.concurrent.ScheduledExecutorService, com.google.common.base.Supplier<java.lang.String>);
descriptor: (Ljava/util/concurrent/ScheduledExecutorService;Lcom/google/common/base/Supplier;)Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: invokestatic com.google.common.util.concurrent.MoreExecutors.isAppEngine:()Z
ifeq 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
new com.google.common.util.concurrent.MoreExecutors$4
dup
aload 0
aload 1
invokespecial com.google.common.util.concurrent.MoreExecutors$4.<init>:(Ljava/util/concurrent/ScheduledExecutorService;Lcom/google/common/base/Supplier;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 service Ljava/util/concurrent/ScheduledExecutorService;
0 5 1 nameSupplier Lcom/google/common/base/Supplier<Ljava/lang/String;>;
Signature: (Ljava/util/concurrent/ScheduledExecutorService;Lcom/google/common/base/Supplier<Ljava/lang/String;>;)Ljava/util/concurrent/ScheduledExecutorService;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
service final
nameSupplier final
public static boolean shutdownAndAwaitTermination(java.util.concurrent.ExecutorService, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/ExecutorService;JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
ldc 2
ldiv
lstore 4
start local 4 1: aload 0
invokeinterface java.util.concurrent.ExecutorService.shutdown:()V
2: aload 0
lload 4
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
ifne 9
3: aload 0
invokeinterface java.util.concurrent.ExecutorService.shutdownNow:()Ljava/util/List;
pop
4: aload 0
lload 4
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
pop
5: goto 9
StackMap locals: java.util.concurrent.ExecutorService long java.util.concurrent.TimeUnit long
StackMap stack: java.lang.InterruptedException
6: pop
7: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
8: aload 0
invokeinterface java.util.concurrent.ExecutorService.shutdownNow:()Ljava/util/List;
pop
9: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.concurrent.ExecutorService.isTerminated:()Z
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 service Ljava/util/concurrent/ExecutorService;
0 10 1 timeout J
0 10 3 unit Ljava/util/concurrent/TimeUnit;
1 10 4 halfTimeoutNanos J
Exception table:
from to target type
2 5 6 Class java.lang.InterruptedException
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.errorprone.annotations.CanIgnoreReturnValue()
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
service
timeout
unit
static java.util.concurrent.Executor rejectionPropagatingExecutor(java.util.concurrent.Executor, com.google.common.util.concurrent.AbstractFuture<?>);
descriptor: (Ljava/util/concurrent/Executor;Lcom/google/common/util/concurrent/AbstractFuture;)Ljava/util/concurrent/Executor;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokestatic com.google.common.util.concurrent.MoreExecutors.directExecutor:()Ljava/util/concurrent/Executor;
if_acmpne 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
new com.google.common.util.concurrent.MoreExecutors$5
dup
aload 0
aload 1
invokespecial com.google.common.util.concurrent.MoreExecutors$5.<init>:(Ljava/util/concurrent/Executor;Lcom/google/common/util/concurrent/AbstractFuture;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 delegate Ljava/util/concurrent/Executor;
0 5 1 future Lcom/google/common/util/concurrent/AbstractFuture<*>;
Signature: (Ljava/util/concurrent/Executor;Lcom/google/common/util/concurrent/AbstractFuture<*>;)Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
delegate final
future final
}
SourceFile: "MoreExecutors.java"
NestMembers:
com.google.common.util.concurrent.MoreExecutors$1 com.google.common.util.concurrent.MoreExecutors$2 com.google.common.util.concurrent.MoreExecutors$3 com.google.common.util.concurrent.MoreExecutors$4 com.google.common.util.concurrent.MoreExecutors$5 com.google.common.util.concurrent.MoreExecutors$5$1 com.google.common.util.concurrent.MoreExecutors$Application com.google.common.util.concurrent.MoreExecutors$Application$1 com.google.common.util.concurrent.MoreExecutors$DirectExecutor com.google.common.util.concurrent.MoreExecutors$DirectExecutorService com.google.common.util.concurrent.MoreExecutors$ListeningDecorator com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator$ListenableScheduledTask com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator$NeverSuccessfulListenableFutureTask
InnerClasses:
com.google.common.util.concurrent.MoreExecutors$1
com.google.common.util.concurrent.MoreExecutors$2
com.google.common.util.concurrent.MoreExecutors$3
com.google.common.util.concurrent.MoreExecutors$4
com.google.common.util.concurrent.MoreExecutors$5
Application = com.google.common.util.concurrent.MoreExecutors$Application of com.google.common.util.concurrent.MoreExecutors
private final DirectExecutor = com.google.common.util.concurrent.MoreExecutors$DirectExecutor of com.google.common.util.concurrent.MoreExecutors
private final DirectExecutorService = com.google.common.util.concurrent.MoreExecutors$DirectExecutorService of com.google.common.util.concurrent.MoreExecutors
private ListeningDecorator = com.google.common.util.concurrent.MoreExecutors$ListeningDecorator of com.google.common.util.concurrent.MoreExecutors
private final ScheduledListeningDecorator = com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator of com.google.common.util.concurrent.MoreExecutors
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)