public class org.ehcache.impl.internal.executor.PooledExecutionService implements org.ehcache.core.spi.service.ExecutionService
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.ehcache.impl.internal.executor.PooledExecutionService
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOGGER;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String defaultPoolAlias;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration$PoolConfiguration> poolConfigurations;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/ehcache/impl/config/executor/PooledExecutionServiceConfiguration$PoolConfiguration;>;
private final java.util.Map<java.lang.String, java.util.concurrent.ThreadPoolExecutor> pools;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/ThreadPoolExecutor;>;
private volatile boolean running;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile org.ehcache.impl.internal.executor.OutOfBandScheduledExecutor scheduledExecutor;
descriptor: Lorg/ehcache/impl/internal/executor/OutOfBandScheduledExecutor;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/ehcache/impl/internal/executor/PooledExecutionService;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.ehcache.impl.internal.executor.PooledExecutionService.LOGGER:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration);
descriptor: (Lorg/ehcache/impl/config/executor/PooledExecutionServiceConfiguration;)V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.ehcache.impl.internal.concurrent.ConcurrentHashMap
dup
bipush 8
ldc 0.75
iconst_1
invokespecial org.ehcache.impl.internal.concurrent.ConcurrentHashMap.<init>:(IFI)V
putfield org.ehcache.impl.internal.executor.PooledExecutionService.pools:Ljava/util/Map;
2: aload 0
iconst_0
putfield org.ehcache.impl.internal.executor.PooledExecutionService.running:Z
3: aload 0
aload 1
invokevirtual org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration.getDefaultPoolAlias:()Ljava/lang/String;
putfield org.ehcache.impl.internal.executor.PooledExecutionService.defaultPoolAlias:Ljava/lang/String;
4: aload 0
aload 1
invokevirtual org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration.getPoolConfigurations:()Ljava/util/Map;
putfield org.ehcache.impl.internal.executor.PooledExecutionService.poolConfigurations:Ljava/util/Map;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/ehcache/impl/internal/executor/PooledExecutionService;
0 6 1 configuration Lorg/ehcache/impl/config/executor/PooledExecutionServiceConfiguration;
MethodParameters:
Name Flags
configuration
public java.util.concurrent.ScheduledExecutorService getScheduledExecutor(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new org.ehcache.impl.internal.executor.PartitionedScheduledExecutor
dup
aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.scheduledExecutor:Lorg/ehcache/impl/internal/executor/OutOfBandScheduledExecutor;
aload 0
aload 1
new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
invokevirtual org.ehcache.impl.internal.executor.PooledExecutionService.getUnorderedExecutor:(Ljava/lang/String;Ljava/util/concurrent/BlockingQueue;)Ljava/util/concurrent/ExecutorService;
invokespecial org.ehcache.impl.internal.executor.PartitionedScheduledExecutor.<init>:(Lorg/ehcache/impl/internal/executor/OutOfBandScheduledExecutor;Ljava/util/concurrent/ExecutorService;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/ehcache/impl/internal/executor/PooledExecutionService;
0 1 1 poolAlias Ljava/lang/String;
MethodParameters:
Name Flags
poolAlias
public java.util.concurrent.ExecutorService getOrderedExecutor(java.lang.String, java.util.concurrent.BlockingQueue<java.lang.Runnable>);
descriptor: (Ljava/lang/String;Ljava/util/concurrent/BlockingQueue;)Ljava/util/concurrent/ExecutorService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.ehcache.impl.internal.executor.PooledExecutionService.getThreadPoolExecutor:(Ljava/lang/String;)Ljava/util/concurrent/ThreadPoolExecutor;
astore 3
start local 3 1: new org.ehcache.impl.internal.executor.PartitionedOrderedExecutor
dup
aload 2
aload 3
invokespecial org.ehcache.impl.internal.executor.PartitionedOrderedExecutor.<init>:(Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ExecutorService;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/ehcache/impl/internal/executor/PooledExecutionService;
0 2 1 poolAlias Ljava/lang/String;
0 2 2 queue Ljava/util/concurrent/BlockingQueue<Ljava/lang/Runnable;>;
1 2 3 executor Ljava/util/concurrent/ThreadPoolExecutor;
Signature: (Ljava/lang/String;Ljava/util/concurrent/BlockingQueue<Ljava/lang/Runnable;>;)Ljava/util/concurrent/ExecutorService;
MethodParameters:
Name Flags
poolAlias
queue
public java.util.concurrent.ExecutorService getUnorderedExecutor(java.lang.String, java.util.concurrent.BlockingQueue<java.lang.Runnable>);
descriptor: (Ljava/lang/String;Ljava/util/concurrent/BlockingQueue;)Ljava/util/concurrent/ExecutorService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.ehcache.impl.internal.executor.PooledExecutionService.getThreadPoolExecutor:(Ljava/lang/String;)Ljava/util/concurrent/ThreadPoolExecutor;
astore 3
start local 3 1: new org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor
dup
aload 2
aload 3
aload 3
invokevirtual java.util.concurrent.ThreadPoolExecutor.getMaximumPoolSize:()I
invokespecial org.ehcache.impl.internal.executor.PartitionedUnorderedExecutor.<init>:(Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ExecutorService;I)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/ehcache/impl/internal/executor/PooledExecutionService;
0 2 1 poolAlias Ljava/lang/String;
0 2 2 queue Ljava/util/concurrent/BlockingQueue<Ljava/lang/Runnable;>;
1 2 3 executor Ljava/util/concurrent/ThreadPoolExecutor;
Signature: (Ljava/lang/String;Ljava/util/concurrent/BlockingQueue<Ljava/lang/Runnable;>;)Ljava/util/concurrent/ExecutorService;
MethodParameters:
Name Flags
poolAlias
queue
private java.util.concurrent.ThreadPoolExecutor getThreadPoolExecutor(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/concurrent/ThreadPoolExecutor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.running:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Service cannot be used, it isn't running"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 3
aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.defaultPoolAlias:Ljava/lang/String;
goto 4
StackMap locals:
StackMap stack:
3: aload 1
StackMap locals:
StackMap stack: java.lang.String
4: astore 1
5: aload 1
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
ldc "Null pool alias provided and no default pool configured"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.pools:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.ThreadPoolExecutor
astore 2
start local 2 8: aload 2
ifnonnull 10
9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Pool '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' is not in the set of available pools "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.pools:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: java.util.concurrent.ThreadPoolExecutor
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/ehcache/impl/internal/executor/PooledExecutionService;
0 11 1 poolAlias Ljava/lang/String;
8 11 2 executor Ljava/util/concurrent/ThreadPoolExecutor;
MethodParameters:
Name Flags
poolAlias
public void start(org.ehcache.spi.service.ServiceProvider<org.ehcache.spi.service.Service>);
descriptor: (Lorg/ehcache/spi/service/ServiceProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.poolConfigurations:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Pool configuration is empty"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.poolConfigurations:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.ehcache.impl.internal.executor.PooledExecutionService org.ehcache.spi.service.ServiceProvider top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 4: aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.pools:Ljava/util/Map;
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration$PoolConfiguration
invokestatic org.ehcache.impl.internal.executor.PooledExecutionService.createPool:(Ljava/lang/String;Lorg/ehcache/impl/config/executor/PooledExecutionServiceConfiguration$PoolConfiguration;)Ljava/util/concurrent/ThreadPoolExecutor;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.defaultPoolAlias:Ljava/lang/String;
ifnull 10
7: aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.pools:Ljava/util/Map;
aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.defaultPoolAlias:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.ThreadPoolExecutor
astore 2
start local 2 8: aload 2
ifnonnull 11
9: new java.lang.IllegalStateException
dup
ldc "Pool for default pool alias is null"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 10: StackMap locals: org.ehcache.impl.internal.executor.PooledExecutionService org.ehcache.spi.service.ServiceProvider
StackMap stack:
getstatic org.ehcache.impl.internal.executor.PooledExecutionService.LOGGER:Lorg/slf4j/Logger;
ldc "No default pool configured, services requiring thread pools must be configured explicitly using named thread pools"
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
new org.ehcache.impl.internal.executor.OutOfBandScheduledExecutor
dup
invokespecial org.ehcache.impl.internal.executor.OutOfBandScheduledExecutor.<init>:()V
putfield org.ehcache.impl.internal.executor.PooledExecutionService.scheduledExecutor:Lorg/ehcache/impl/internal/executor/OutOfBandScheduledExecutor;
12: aload 0
iconst_1
putfield org.ehcache.impl.internal.executor.PooledExecutionService.running:Z
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/ehcache/impl/internal/executor/PooledExecutionService;
0 14 1 serviceProvider Lorg/ehcache/spi/service/ServiceProvider<Lorg/ehcache/spi/service/Service;>;
4 5 2 e Ljava/util/Map$Entry<Ljava/lang/String;Lorg/ehcache/impl/config/executor/PooledExecutionServiceConfiguration$PoolConfiguration;>;
8 10 2 defaultPool Ljava/util/concurrent/ThreadPoolExecutor;
Signature: (Lorg/ehcache/spi/service/ServiceProvider<Lorg/ehcache/spi/service/Service;>;)V
MethodParameters:
Name Flags
serviceProvider
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: getstatic org.ehcache.impl.internal.executor.PooledExecutionService.LOGGER:Lorg/slf4j/Logger;
ldc "Shutting down PooledExecutionService"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
1: aload 0
iconst_0
putfield org.ehcache.impl.internal.executor.PooledExecutionService.running:Z
2: aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.scheduledExecutor:Lorg/ehcache/impl/internal/executor/OutOfBandScheduledExecutor;
invokevirtual org.ehcache.impl.internal.executor.OutOfBandScheduledExecutor.shutdownNow:()V
3: aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.pools:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 1
start local 1 4: goto 12
5: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 6: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.concurrent.ThreadPoolExecutor
invokestatic org.ehcache.impl.internal.executor.PooledExecutionService.destroyPool:(Ljava/lang/String;Ljava/util/concurrent/ThreadPoolExecutor;)V
7: goto 11
StackMap locals: org.ehcache.impl.internal.executor.PooledExecutionService java.util.Iterator java.util.Map$Entry
StackMap stack: java.lang.Throwable
8: astore 3
9: aload 1
invokeinterface java.util.Iterator.remove:()V
10: aload 3
athrow
11: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.remove:()V
end local 2 12: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 1 13: goto 15
14: StackMap locals:
StackMap stack:
getstatic org.ehcache.impl.internal.executor.PooledExecutionService.LOGGER:Lorg/slf4j/Logger;
ldc "Timeout while waiting on scheduler to finish, keep waiting"
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.scheduledExecutor:Lorg/ehcache/impl/internal/executor/OutOfBandScheduledExecutor;
ldc 30
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.ehcache.impl.internal.executor.OutOfBandScheduledExecutor.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
ifeq 14
16: goto 19
StackMap locals:
StackMap stack: java.lang.InterruptedException
17: pop
18: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/ehcache/impl/internal/executor/PooledExecutionService;
4 13 1 it Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/concurrent/ThreadPoolExecutor;>;>;
6 12 2 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/concurrent/ThreadPoolExecutor;>;
Exception table:
from to target type
6 8 8 any
13 16 17 Class java.lang.InterruptedException
public boolean isStopping();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.scheduledExecutor:Lorg/ehcache/impl/internal/executor/OutOfBandScheduledExecutor;
invokevirtual org.ehcache.impl.internal.executor.OutOfBandScheduledExecutor.isTerminating:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/ehcache/impl/internal/executor/PooledExecutionService;
public boolean isStopped();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.ehcache.impl.internal.executor.PooledExecutionService.scheduledExecutor:Lorg/ehcache/impl/internal/executor/OutOfBandScheduledExecutor;
invokevirtual org.ehcache.impl.internal.executor.OutOfBandScheduledExecutor.isTerminated:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/ehcache/impl/internal/executor/PooledExecutionService;
private static java.util.concurrent.ThreadPoolExecutor createPool(java.lang.String, org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration$PoolConfiguration);
descriptor: (Ljava/lang/String;Lorg/ehcache/impl/config/executor/PooledExecutionServiceConfiguration$PoolConfiguration;)Ljava/util/concurrent/ThreadPoolExecutor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: new java.util.concurrent.ThreadPoolExecutor
dup
aload 1
invokevirtual org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration$PoolConfiguration.minSize:()I
aload 1
invokevirtual org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration$PoolConfiguration.maxSize:()I
ldc 10
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
aload 0
invokestatic org.ehcache.impl.internal.util.ThreadFactoryUtil.threadFactory:(Ljava/lang/String;)Ljava/util/concurrent/ThreadFactory;
invokespecial java.util.concurrent.ThreadPoolExecutor.<init>:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 alias Ljava/lang/String;
0 1 1 config Lorg/ehcache/impl/config/executor/PooledExecutionServiceConfiguration$PoolConfiguration;
MethodParameters:
Name Flags
alias
config
private static void destroyPool(java.lang.String, java.util.concurrent.ThreadPoolExecutor);
descriptor: (Ljava/lang/String;Ljava/util/concurrent/ThreadPoolExecutor;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.concurrent.ThreadPoolExecutor.shutdownNow:()Ljava/util/List;
astore 2
start local 2 1: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 3
2: getstatic org.ehcache.impl.internal.executor.PooledExecutionService.LOGGER:Lorg/slf4j/Logger;
ldc "Tasks remaining in pool '{}' at shutdown: {}"
aload 0
aload 2
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals: java.util.List
StackMap stack:
iconst_0
istore 3
start local 3 4: StackMap locals: int
StackMap stack:
aload 1
ldc 30
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.ThreadPoolExecutor.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
ifeq 8
5: iload 3
ifeq 7
6: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
7: StackMap locals:
StackMap stack:
return
8: StackMap locals:
StackMap stack:
getstatic org.ehcache.impl.internal.executor.PooledExecutionService.LOGGER:Lorg/slf4j/Logger;
ldc "Still waiting for termination of pool '{}'"
aload 0
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
9: goto 4
StackMap locals:
StackMap stack: java.lang.InterruptedException
10: pop
11: iconst_1
istore 3
12: goto 4
13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
14: iload 3
ifeq 16
15: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
16: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 alias Ljava/lang/String;
0 17 1 executor Ljava/util/concurrent/ThreadPoolExecutor;
1 17 2 tasks Ljava/util/List<Ljava/lang/Runnable;>;
4 17 3 interrupted Z
Exception table:
from to target type
4 5 10 Class java.lang.InterruptedException
8 9 10 Class java.lang.InterruptedException
4 5 13 any
8 13 13 any
MethodParameters:
Name Flags
alias
executor
}
SourceFile: "PooledExecutionService.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public final PoolConfiguration = org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration$PoolConfiguration of org.ehcache.impl.config.executor.PooledExecutionServiceConfiguration