final class org.glassfish.jersey.message.internal.TracingInfo
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.jersey.message.internal.TracingInfo
super_class: java.lang.Object
{
private final java.util.List<org.glassfish.jersey.message.internal.TracingInfo$Message> messageList;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/glassfish/jersey/message/internal/TracingInfo$Message;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.glassfish.jersey.message.internal.TracingInfo.messageList:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/jersey/message/internal/TracingInfo;
public static java.lang.String formatDuration(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifne 2
1: ldc " ----"
areturn
2: StackMap locals:
StackMap stack:
ldc "%5.2f"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 0
l2d
ldc 1000000.0
ddiv
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 duration J
MethodParameters:
Name Flags
duration final
public static java.lang.String formatDuration(long, long);
descriptor: (JJ)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 2 0: lload 2
lload 0
lsub
invokestatic org.glassfish.jersey.message.internal.TracingInfo.formatDuration:(J)Ljava/lang/String;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fromTimestamp J
0 1 2 toTimestamp J
MethodParameters:
Name Flags
fromTimestamp final
toTimestamp final
public static java.lang.String formatPercent(long, long);
descriptor: (JJ)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 2 0: lload 0
lconst_0
lcmp
ifne 2
1: ldc " ----"
areturn
2: StackMap locals:
StackMap stack:
ldc "%6.2f"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc 100.0
lload 0
l2d
dmul
lload 2
l2d
ddiv
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value J
0 3 2 top J
MethodParameters:
Name Flags
value final
top final
public java.lang.String[] getMessages();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.message.internal.TracingInfo.messageList:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.jersey.message.internal.TracingInfo$Message
invokevirtual org.glassfish.jersey.message.internal.TracingInfo$Message.getTimestamp:()J
aload 0
getfield org.glassfish.jersey.message.internal.TracingInfo.messageList:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.jersey.message.internal.TracingInfo$Message
invokevirtual org.glassfish.jersey.message.internal.TracingInfo$Message.getDuration:()J
lsub
lstore 1
start local 1 1: aload 0
getfield org.glassfish.jersey.message.internal.TracingInfo.messageList:Ljava/util/List;
aload 0
getfield org.glassfish.jersey.message.internal.TracingInfo.messageList:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.jersey.message.internal.TracingInfo$Message
invokevirtual org.glassfish.jersey.message.internal.TracingInfo$Message.getTimestamp:()J
lstore 3
start local 3 2: aload 0
getfield org.glassfish.jersey.message.internal.TracingInfo.messageList:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray java.lang.String
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 18
5: StackMap locals: org.glassfish.jersey.message.internal.TracingInfo long long java.lang.String[] int
StackMap stack:
aload 0
getfield org.glassfish.jersey.message.internal.TracingInfo.messageList:Ljava/util/List;
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.jersey.message.internal.TracingInfo$Message
astore 7
start local 7 6: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 8
start local 8 7: aload 8
ldc "%-11s "
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
invokevirtual org.glassfish.jersey.message.internal.TracingInfo$Message.getEvent:()Lorg/glassfish/jersey/message/internal/TracingLogger$Event;
invokeinterface org.glassfish.jersey.message.internal.TracingLogger$Event.category:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 8
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
9: aload 7
invokevirtual org.glassfish.jersey.message.internal.TracingInfo$Message.getDuration:()J
invokestatic org.glassfish.jersey.message.internal.TracingInfo.formatDuration:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc " / "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: lload 1
aload 7
invokevirtual org.glassfish.jersey.message.internal.TracingInfo$Message.getTimestamp:()J
invokestatic org.glassfish.jersey.message.internal.TracingInfo.formatDuration:(JJ)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc " ms |"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 7
invokevirtual org.glassfish.jersey.message.internal.TracingInfo$Message.getDuration:()J
lload 3
lload 1
lsub
invokestatic org.glassfish.jersey.message.internal.TracingInfo.formatPercent:(JJ)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: ldc " %] "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 8
aload 7
invokevirtual org.glassfish.jersey.message.internal.TracingInfo$Message.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 5
iload 6
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
end local 8 end local 7 17: iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
aload 5
arraylength
if_icmplt 5
end local 6 19: aload 5
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/glassfish/jersey/message/internal/TracingInfo;
1 20 1 fromTimestamp J
2 20 3 toTimestamp J
3 20 5 messages [Ljava/lang/String;
4 19 6 i I
6 17 7 message Lorg/glassfish/jersey/message/internal/TracingInfo$Message;
7 17 8 textSB Ljava/lang/StringBuilder;
public void addMessage(org.glassfish.jersey.message.internal.TracingInfo$Message);
descriptor: (Lorg/glassfish/jersey/message/internal/TracingInfo$Message;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.jersey.message.internal.TracingInfo.messageList:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/message/internal/TracingInfo;
0 2 1 message Lorg/glassfish/jersey/message/internal/TracingInfo$Message;
MethodParameters:
Name Flags
message final
}
SourceFile: "TracingInfo.java"
NestMembers:
org.glassfish.jersey.message.internal.TracingInfo$Message
InnerClasses:
public Message = org.glassfish.jersey.message.internal.TracingInfo$Message of org.glassfish.jersey.message.internal.TracingInfo
public abstract Event = org.glassfish.jersey.message.internal.TracingLogger$Event of org.glassfish.jersey.message.internal.TracingLogger