final class org.apache.commons.pool2.PoolUtils$ErodingFactor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.commons.pool2.PoolUtils$ErodingFactor
super_class: java.lang.Object
{
private final float factor;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile transient long nextShrink;
descriptor: J
flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT
private volatile transient int idleHighWaterMark;
descriptor: I
flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT
public void <init>(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
fload 1
putfield org.apache.commons.pool2.PoolUtils$ErodingFactor.factor:F
2: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
ldc 900000.0
fload 1
fmul
f2l
ladd
putfield org.apache.commons.pool2.PoolUtils$ErodingFactor.nextShrink:J
3: aload 0
iconst_1
putfield org.apache.commons.pool2.PoolUtils$ErodingFactor.idleHighWaterMark:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/pool2/PoolUtils$ErodingFactor;
0 5 1 factor F
MethodParameters:
Name Flags
factor final
public void update(long, int);
descriptor: (JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 3 0: iconst_0
iload 3
invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 1: aload 0
iload 4
aload 0
getfield org.apache.commons.pool2.PoolUtils$ErodingFactor.idleHighWaterMark:I
invokestatic java.lang.Math.max:(II)I
putfield org.apache.commons.pool2.PoolUtils$ErodingFactor.idleHighWaterMark:I
2: ldc 15.0
3: ldc -14.0
aload 0
getfield org.apache.commons.pool2.PoolUtils$ErodingFactor.idleHighWaterMark:I
i2f
fdiv
iload 4
i2f
fmul
4: fadd
fstore 5
start local 5 5: aload 0
lload 1
fload 5
ldc 60000.0
fmul
aload 0
getfield org.apache.commons.pool2.PoolUtils$ErodingFactor.factor:F
fmul
f2l
ladd
putfield org.apache.commons.pool2.PoolUtils$ErodingFactor.nextShrink:J
6: return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/pool2/PoolUtils$ErodingFactor;
0 7 1 now J
0 7 3 numIdle I
1 7 4 idle I
5 7 5 minutes F
MethodParameters:
Name Flags
now final
numIdle final
public long getNextShrink();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.pool2.PoolUtils$ErodingFactor.nextShrink:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/pool2/PoolUtils$ErodingFactor;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ErodingFactor{factor="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.commons.pool2.PoolUtils$ErodingFactor.factor:F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
1: ldc ", idleHighWaterMark="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.commons.pool2.PoolUtils$ErodingFactor.idleHighWaterMark:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/pool2/PoolUtils$ErodingFactor;
}
SourceFile: "PoolUtils.java"
NestHost: org.apache.commons.pool2.PoolUtils
InnerClasses:
private final ErodingFactor = org.apache.commons.pool2.PoolUtils$ErodingFactor of org.apache.commons.pool2.PoolUtils