public class org.apache.catalina.valves.AbstractAccessLogValve$ElapsedTimeElement implements org.apache.catalina.valves.AbstractAccessLogValve$AccessLogElement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.valves.AbstractAccessLogValve$ElapsedTimeElement
super_class: java.lang.Object
{
private final boolean micros;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean millis;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.apache.catalina.valves.AbstractAccessLogValve$ElapsedTimeElement.micros:Z
2: aload 0
iload 2
putfield org.apache.catalina.valves.AbstractAccessLogValve$ElapsedTimeElement.millis:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/valves/AbstractAccessLogValve$ElapsedTimeElement;
0 4 1 micros Z
0 4 2 millis Z
MethodParameters:
Name Flags
micros
millis
public void addElement(java.io.CharArrayWriter, java.util.Date, org.apache.catalina.connector.Request, org.apache.catalina.connector.Response, long);
descriptor: (Ljava/io/CharArrayWriter;Ljava/util/Date;Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield org.apache.catalina.valves.AbstractAccessLogValve$ElapsedTimeElement.micros:Z
ifeq 3
1: aload 1
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
lload 5
invokevirtual java.util.concurrent.TimeUnit.toMicros:(J)J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
invokevirtual java.io.CharArrayWriter.append:(Ljava/lang/CharSequence;)Ljava/io/CharArrayWriter;
pop
2: goto 7
StackMap locals:
StackMap stack:
3: aload 0
getfield org.apache.catalina.valves.AbstractAccessLogValve$ElapsedTimeElement.millis:Z
ifeq 6
4: aload 1
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
lload 5
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
invokevirtual java.io.CharArrayWriter.append:(Ljava/lang/CharSequence;)Ljava/io/CharArrayWriter;
pop
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
lload 5
invokevirtual java.util.concurrent.TimeUnit.toSeconds:(J)J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
invokevirtual java.io.CharArrayWriter.append:(Ljava/lang/CharSequence;)Ljava/io/CharArrayWriter;
pop
7: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/valves/AbstractAccessLogValve$ElapsedTimeElement;
0 8 1 buf Ljava/io/CharArrayWriter;
0 8 2 date Ljava/util/Date;
0 8 3 request Lorg/apache/catalina/connector/Request;
0 8 4 response Lorg/apache/catalina/connector/Response;
0 8 5 time J
MethodParameters:
Name Flags
buf
date
request
response
time
}
SourceFile: "AbstractAccessLogValve.java"
NestHost: org.apache.catalina.valves.AbstractAccessLogValve
InnerClasses:
protected abstract AccessLogElement = org.apache.catalina.valves.AbstractAccessLogValve$AccessLogElement of org.apache.catalina.valves.AbstractAccessLogValve
protected ElapsedTimeElement = org.apache.catalina.valves.AbstractAccessLogValve$ElapsedTimeElement of org.apache.catalina.valves.AbstractAccessLogValve