public class org.apache.tomcat.util.log.UserDataHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.log.UserDataHelper
super_class: java.lang.Object
{
private final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.tomcat.util.log.UserDataHelper$Config config;
descriptor: Lorg/apache/tomcat/util/log/UserDataHelper$Config;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long suppressionTime;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile long lastInfoTime;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(org.apache.juli.logging.Log);
descriptor: (Lorg/apache/juli/logging/Log;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lconst_0
putfield org.apache.tomcat.util.log.UserDataHelper.lastInfoTime:J
2: aload 0
aload 1
putfield org.apache.tomcat.util.log.UserDataHelper.log:Lorg/apache/juli/logging/Log;
3: ldc "org.apache.juli.logging.UserDataHelper.CONFIG"
4: invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnonnull 8
6: getstatic org.apache.tomcat.util.log.UserDataHelper$Config.INFO_THEN_DEBUG:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
astore 2
start local 2 7: goto 12
end local 2 8: StackMap locals: org.apache.tomcat.util.log.UserDataHelper org.apache.juli.logging.Log top java.lang.String
StackMap stack:
aload 3
invokestatic org.apache.tomcat.util.log.UserDataHelper$Config.valueOf:(Ljava/lang/String;)Lorg/apache/tomcat/util/log/UserDataHelper$Config;
astore 2
start local 2 9: goto 12
end local 2 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
10: pop
11: getstatic org.apache.tomcat.util.log.UserDataHelper$Config.INFO_THEN_DEBUG:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
astore 2
start local 2 12: StackMap locals: org.apache.tomcat.util.log.UserDataHelper org.apache.juli.logging.Log org.apache.tomcat.util.log.UserDataHelper$Config java.lang.String
StackMap stack:
aload 0
13: ldc "org.apache.juli.logging.UserDataHelper.SUPPRESSION_TIME"
14: ldc 86400
15: invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
16: invokevirtual java.lang.Integer.intValue:()I
i2l
ldc 1000
17: lmul
putfield org.apache.tomcat.util.log.UserDataHelper.suppressionTime:J
18: aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.suppressionTime:J
lconst_0
lcmp
ifne 20
19: getstatic org.apache.tomcat.util.log.UserDataHelper$Config.INFO_ALL:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
astore 2
20: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.apache.tomcat.util.log.UserDataHelper.config:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
21: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/tomcat/util/log/UserDataHelper;
0 22 1 log Lorg/apache/juli/logging/Log;
7 8 2 tempConfig Lorg/apache/tomcat/util/log/UserDataHelper$Config;
9 10 2 tempConfig Lorg/apache/tomcat/util/log/UserDataHelper$Config;
12 22 2 tempConfig Lorg/apache/tomcat/util/log/UserDataHelper$Config;
5 22 3 configString Ljava/lang/String;
Exception table:
from to target type
8 9 10 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
log
public org.apache.tomcat.util.log.UserDataHelper$Mode getNextMode();
descriptor: ()Lorg/apache/tomcat/util/log/UserDataHelper$Mode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.tomcat.util.log.UserDataHelper$Config.NONE:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.config:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
if_acmpne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.tomcat.util.log.UserDataHelper$Config.DEBUG_ALL:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.config:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
if_acmpne 6
3: aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 4
getstatic org.apache.tomcat.util.log.UserDataHelper$Mode.DEBUG:Lorg/apache/tomcat/util/log/UserDataHelper$Mode;
goto 5
StackMap locals:
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: org.apache.tomcat.util.log.UserDataHelper$Mode
5: areturn
6: StackMap locals:
StackMap stack:
getstatic org.apache.tomcat.util.log.UserDataHelper$Config.INFO_THEN_DEBUG:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.config:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
if_acmpne 14
7: aload 0
invokevirtual org.apache.tomcat.util.log.UserDataHelper.logAtInfo:()Z
ifeq 11
8: aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 9
getstatic org.apache.tomcat.util.log.UserDataHelper$Mode.INFO_THEN_DEBUG:Lorg/apache/tomcat/util/log/UserDataHelper$Mode;
goto 10
StackMap locals:
StackMap stack:
9: aconst_null
StackMap locals:
StackMap stack: org.apache.tomcat.util.log.UserDataHelper$Mode
10: areturn
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 12
getstatic org.apache.tomcat.util.log.UserDataHelper$Mode.DEBUG:Lorg/apache/tomcat/util/log/UserDataHelper$Mode;
goto 13
StackMap locals:
StackMap stack:
12: aconst_null
StackMap locals:
StackMap stack: org.apache.tomcat.util.log.UserDataHelper$Mode
13: areturn
14: StackMap locals:
StackMap stack:
getstatic org.apache.tomcat.util.log.UserDataHelper$Config.INFO_ALL:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.config:Lorg/apache/tomcat/util/log/UserDataHelper$Config;
if_acmpne 18
15: aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 16
getstatic org.apache.tomcat.util.log.UserDataHelper$Mode.INFO:Lorg/apache/tomcat/util/log/UserDataHelper$Mode;
goto 17
StackMap locals:
StackMap stack:
16: aconst_null
StackMap locals:
StackMap stack: org.apache.tomcat.util.log.UserDataHelper$Mode
17: areturn
18: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/tomcat/util/log/UserDataHelper;
private boolean logAtInfo();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.suppressionTime:J
lconst_0
lcmp
ifge 2
aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.lastInfoTime:J
lconst_0
lcmp
ifle 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 1
start local 1 3: aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.lastInfoTime:J
aload 0
getfield org.apache.tomcat.util.log.UserDataHelper.suppressionTime:J
ladd
lload 1
lcmp
ifle 5
4: iconst_0
ireturn
5: StackMap locals: long
StackMap stack:
aload 0
lload 1
putfield org.apache.tomcat.util.log.UserDataHelper.lastInfoTime:J
6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/log/UserDataHelper;
3 7 1 now J
}
SourceFile: "UserDataHelper.java"
NestMembers:
org.apache.tomcat.util.log.UserDataHelper$Config org.apache.tomcat.util.log.UserDataHelper$Mode
InnerClasses:
private final Config = org.apache.tomcat.util.log.UserDataHelper$Config of org.apache.tomcat.util.log.UserDataHelper
public final Mode = org.apache.tomcat.util.log.UserDataHelper$Mode of org.apache.tomcat.util.log.UserDataHelper