class org.apache.commons.pool2.impl.EvictionTimer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.pool2.impl.EvictionTimer
super_class: java.lang.Object
{
private static java.util.concurrent.ScheduledThreadPoolExecutor executor;
descriptor: Ljava/util/concurrent/ScheduledThreadPoolExecutor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/pool2/impl/EvictionTimer;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "EvictionTimer []"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/pool2/impl/EvictionTimer;
1 3 1 builder Ljava/lang/StringBuilder;
static synchronized void schedule(org.apache.commons.pool2.impl.BaseGenericObjectPool<?>.Evictor, long, );
descriptor: (Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$Evictor;JJ)V
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 3 0: getstatic org.apache.commons.pool2.impl.EvictionTimer.executor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
ifnonnull 3
1: new java.util.concurrent.ScheduledThreadPoolExecutor
dup
iconst_1
new org.apache.commons.pool2.impl.EvictionTimer$EvictorThreadFactory
dup
invokespecial org.apache.commons.pool2.impl.EvictionTimer$EvictorThreadFactory.<init>:()V
invokespecial java.util.concurrent.ScheduledThreadPoolExecutor.<init>:(ILjava/util/concurrent/ThreadFactory;)V
putstatic org.apache.commons.pool2.impl.EvictionTimer.executor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
2: getstatic org.apache.commons.pool2.impl.EvictionTimer.executor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
iconst_1
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.setRemoveOnCancelPolicy:(Z)V
3: StackMap locals:
StackMap stack:
getstatic org.apache.commons.pool2.impl.EvictionTimer.executor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
aload 0
lload 1
lload 3
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
4: astore 5
start local 5 5: aload 0
aload 5
invokevirtual org.apache.commons.pool2.impl.BaseGenericObjectPool$Evictor.setScheduledFuture:(Ljava/util/concurrent/ScheduledFuture;)V
6: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 task Lorg/apache/commons/pool2/impl/BaseGenericObjectPool<*>.Evictor;
0 7 1 delay J
0 7 3 period J
5 7 5 scheduledFuture Ljava/util/concurrent/ScheduledFuture<*>;
Signature: (Lorg/apache/commons/pool2/impl/BaseGenericObjectPool<*>.Evictor;JJ)V
MethodParameters:
Name Flags
task final
delay final
period final
static synchronized void cancel(org.apache.commons.pool2.impl.BaseGenericObjectPool<?>.Evictor, long, java.util.concurrent.TimeUnit);
descriptor: (Lorg/apache/commons/pool2/impl/BaseGenericObjectPool$Evictor;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
ifnull 2
1: aload 0
invokevirtual org.apache.commons.pool2.impl.BaseGenericObjectPool$Evictor.cancel:()V
2: StackMap locals:
StackMap stack:
getstatic org.apache.commons.pool2.impl.EvictionTimer.executor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
ifnull 9
getstatic org.apache.commons.pool2.impl.EvictionTimer.executor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.getQueue:()Ljava/util/concurrent/BlockingQueue;
invokeinterface java.util.concurrent.BlockingQueue.isEmpty:()Z
ifeq 9
3: getstatic org.apache.commons.pool2.impl.EvictionTimer.executor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.shutdown:()V
4: getstatic org.apache.commons.pool2.impl.EvictionTimer.executor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
lload 1
aload 3
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
pop
5: goto 7
StackMap locals:
StackMap stack: java.lang.InterruptedException
6: pop
7: StackMap locals:
StackMap stack:
getstatic org.apache.commons.pool2.impl.EvictionTimer.executor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
iconst_0
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.setCorePoolSize:(I)V
8: aconst_null
putstatic org.apache.commons.pool2.impl.EvictionTimer.executor:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
9: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 evictor Lorg/apache/commons/pool2/impl/BaseGenericObjectPool<*>.Evictor;
0 10 1 timeout J
0 10 3 unit Ljava/util/concurrent/TimeUnit;
Exception table:
from to target type
4 5 6 Class java.lang.InterruptedException
Signature: (Lorg/apache/commons/pool2/impl/BaseGenericObjectPool<*>.Evictor;JLjava/util/concurrent/TimeUnit;)V
MethodParameters:
Name Flags
evictor final
timeout final
unit final
}
SourceFile: "EvictionTimer.java"
NestMembers:
org.apache.commons.pool2.impl.EvictionTimer$EvictorThreadFactory org.apache.commons.pool2.impl.EvictionTimer$EvictorThreadFactory$1
InnerClasses:
Evictor = org.apache.commons.pool2.impl.BaseGenericObjectPool$Evictor of org.apache.commons.pool2.impl.BaseGenericObjectPool
private EvictorThreadFactory = org.apache.commons.pool2.impl.EvictionTimer$EvictorThreadFactory of org.apache.commons.pool2.impl.EvictionTimer