abstract class com.google.common.util.concurrent.WrappingExecutorService implements java.util.concurrent.ExecutorService
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.util.concurrent.WrappingExecutorService
super_class: java.lang.Object
{
private final java.util.concurrent.ExecutorService delegate;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(java.util.concurrent.ExecutorService);
descriptor: (Ljava/util/concurrent/ExecutorService;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.ExecutorService
putfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 3 1 delegate Ljava/util/concurrent/ExecutorService;
MethodParameters:
Name Flags
delegate
protected abstract <T> java.util.concurrent.Callable<T> wrapTask(java.util.concurrent.Callable<T>);
descriptor: (Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/Callable<TT;>;)Ljava/util/concurrent/Callable<TT;>;
MethodParameters:
Name Flags
callable
protected java.lang.Runnable wrapTask(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Runnable;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokestatic java.util.concurrent.Executors.callable:(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Callable;
invokevirtual com.google.common.util.concurrent.WrappingExecutorService.wrapTask:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;
astore 2
start local 2 1: new com.google.common.util.concurrent.WrappingExecutorService$1
dup
aload 0
aload 2
invokespecial com.google.common.util.concurrent.WrappingExecutorService$1.<init>:(Lcom/google/common/util/concurrent/WrappingExecutorService;Ljava/util/concurrent/Callable;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 2 1 command Ljava/lang/Runnable;
1 2 2 wrapped Ljava/util/concurrent/Callable<Ljava/lang/Object;>;
MethodParameters:
Name Flags
command
private <T> com.google.common.collect.ImmutableList<java.util.concurrent.Callable<T>> wrapTasks(java.util.Collection<? extends java.util.concurrent.Callable<T>>);
descriptor: (Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: invokestatic com.google.common.collect.ImmutableList.builder:()Lcom/google/common/collect/ImmutableList$Builder;
astore 2
start local 2 1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: com.google.common.util.concurrent.WrappingExecutorService java.util.Collection com.google.common.collect.ImmutableList$Builder top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Callable
astore 3
start local 3 3: aload 2
aload 0
aload 3
invokevirtual com.google.common.util.concurrent.WrappingExecutorService.wrapTask:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;
invokevirtual com.google.common.collect.ImmutableList$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 2
invokevirtual com.google.common.collect.ImmutableList$Builder.build:()Lcom/google/common/collect/ImmutableList;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 6 1 tasks Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;
1 6 2 builder Lcom/google/common/collect/ImmutableList$Builder<Ljava/util/concurrent/Callable<TT;>;>;
3 4 3 task Ljava/util/concurrent/Callable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;)Lcom/google/common/collect/ImmutableList<Ljava/util/concurrent/Callable<TT;>;>;
MethodParameters:
Name Flags
tasks
public final void execute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
aload 0
aload 1
invokevirtual com.google.common.util.concurrent.WrappingExecutorService.wrapTask:(Ljava/lang/Runnable;)Ljava/lang/Runnable;
invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 2 1 command Ljava/lang/Runnable;
MethodParameters:
Name Flags
command
public final <T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T>);
descriptor: (Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.Callable
invokevirtual com.google.common.util.concurrent.WrappingExecutorService.wrapTask:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 1 1 task Ljava/util/concurrent/Callable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/Callable<TT;>;)Ljava/util/concurrent/Future<TT;>;
MethodParameters:
Name Flags
task
public final java.util.concurrent.Future<?> submit(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
aload 0
aload 1
invokevirtual com.google.common.util.concurrent.WrappingExecutorService.wrapTask:(Ljava/lang/Runnable;)Ljava/lang/Runnable;
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 1 1 task Ljava/lang/Runnable;
Signature: (Ljava/lang/Runnable;)Ljava/util/concurrent/Future<*>;
MethodParameters:
Name Flags
task
public final <T> java.util.concurrent.Future<T> submit(java.lang.Runnable, T);
descriptor: (Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
aload 0
aload 1
invokevirtual com.google.common.util.concurrent.WrappingExecutorService.wrapTask:(Ljava/lang/Runnable;)Ljava/lang/Runnable;
aload 2
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 1 1 task Ljava/lang/Runnable;
0 1 2 result TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Runnable;TT;)Ljava/util/concurrent/Future<TT;>;
MethodParameters:
Name Flags
task
result
public final <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>);
descriptor: (Ljava/util/Collection;)Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
aload 0
aload 1
invokevirtual com.google.common.util.concurrent.WrappingExecutorService.wrapTasks:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
invokeinterface java.util.concurrent.ExecutorService.invokeAll:(Ljava/util/Collection;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 1 1 tasks Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;
Exceptions:
throws java.lang.InterruptedException
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;)Ljava/util/List<Ljava/util/concurrent/Future<TT;>;>;
MethodParameters:
Name Flags
tasks
public final <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
aload 0
aload 1
invokevirtual com.google.common.util.concurrent.WrappingExecutorService.wrapTasks:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
lload 2
aload 4
invokeinterface java.util.concurrent.ExecutorService.invokeAll:(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/util/List;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 1 1 tasks Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;
0 1 2 timeout J
0 1 4 unit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.lang.InterruptedException
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;JLjava/util/concurrent/TimeUnit;)Ljava/util/List<Ljava/util/concurrent/Future<TT;>;>;
MethodParameters:
Name Flags
tasks
timeout
unit
public final <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>);
descriptor: (Ljava/util/Collection;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
aload 0
aload 1
invokevirtual com.google.common.util.concurrent.WrappingExecutorService.wrapTasks:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
invokeinterface java.util.concurrent.ExecutorService.invokeAny:(Ljava/util/Collection;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 1 1 tasks Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;)TT;
MethodParameters:
Name Flags
tasks
public final <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
aload 0
aload 1
invokevirtual com.google.common.util.concurrent.WrappingExecutorService.wrapTasks:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
lload 2
aload 4
invokeinterface java.util.concurrent.ExecutorService.invokeAny:(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 1 1 tasks Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;
0 1 2 timeout J
0 1 4 unit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<+Ljava/util/concurrent/Callable<TT;>;>;JLjava/util/concurrent/TimeUnit;)TT;
MethodParameters:
Name Flags
tasks
timeout
unit
public final void shutdown();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
invokeinterface java.util.concurrent.ExecutorService.shutdown:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
public final java.util.List<java.lang.Runnable> shutdownNow();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
invokeinterface java.util.concurrent.ExecutorService.shutdownNow:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
Signature: ()Ljava/util/List<Ljava/lang/Runnable;>;
public final boolean isShutdown();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
invokeinterface java.util.concurrent.ExecutorService.isShutdown:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
public final boolean isTerminated();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
invokeinterface java.util.concurrent.ExecutorService.isTerminated:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
public final boolean awaitTermination(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield com.google.common.util.concurrent.WrappingExecutorService.delegate:Ljava/util/concurrent/ExecutorService;
lload 1
aload 3
invokeinterface java.util.concurrent.ExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/WrappingExecutorService;
0 1 1 timeout J
0 1 3 unit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
timeout
unit
}
SourceFile: "WrappingExecutorService.java"
NestMembers:
com.google.common.util.concurrent.WrappingExecutorService$1
InnerClasses:
public final Builder = com.google.common.collect.ImmutableList$Builder of com.google.common.collect.ImmutableList
com.google.common.util.concurrent.WrappingExecutorService$1
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
com.google.common.annotations.GwtIncompatible()