public class org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl implements org.jboss.resteasy.spi.statistics.MethodStatisticsLogger
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl
super_class: java.lang.Object
{
private volatile long invocationCnt;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile long failureCnt;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile long totalExecutionTime;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lconst_0
putfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.invocationCnt:J
2: aload 0
lconst_0
putfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.failureCnt:J
3: aload 0
lconst_0
putfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.totalExecutionTime:J
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/statistics/MethodStatisticsLoggerImpl;
public long timestamp();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.nanoTime:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/statistics/MethodStatisticsLoggerImpl;
public void duration(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
dup
getfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.invocationCnt:J
lconst_1
ladd
putfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.invocationCnt:J
2: aload 0
dup
getfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.totalExecutionTime:J
invokestatic java.lang.System.nanoTime:()J
lload 1
lsub
ladd
putfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.totalExecutionTime:J
3: aload 3
monitorexit
4: goto 7
StackMap locals: org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl long org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl
StackMap stack: java.lang.Throwable
5: aload 3
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jboss/resteasy/statistics/MethodStatisticsLoggerImpl;
0 8 1 fromTimestamp J
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
fromTimestamp final
public void incFailureCnt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.failureCnt:J
lconst_1
ladd
putfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.failureCnt:J
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/statistics/MethodStatisticsLoggerImpl;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
lconst_0
putfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.invocationCnt:J
2: aload 0
lconst_0
putfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.failureCnt:J
3: aload 0
lconst_0
putfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.totalExecutionTime:J
4: aload 1
monitorexit
5: goto 8
StackMap locals: org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jboss/resteasy/statistics/MethodStatisticsLoggerImpl;
Exception table:
from to target type
1 5 6 any
6 7 6 any
public long getInvocationCnt();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.invocationCnt:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/statistics/MethodStatisticsLoggerImpl;
public long getFailedInvocationCnt();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.failureCnt:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/statistics/MethodStatisticsLoggerImpl;
public long getAvgExecutionTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: ldc -1
lstore 1
start local 1 1: aload 0
dup
astore 3
monitorenter
2: aload 0
getfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.totalExecutionTime:J
aload 0
getfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.invocationCnt:J
ldiv
lstore 1
3: goto 7
StackMap locals: org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl long org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl
StackMap stack: java.lang.Exception
4: pop
5: aload 0
getfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.invocationCnt:J
lconst_0
lcmp
ifne 7
aload 0
getfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.totalExecutionTime:J
lconst_0
lcmp
ifne 7
6: lconst_0
lstore 1
7: StackMap locals:
StackMap stack:
aload 3
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jboss/resteasy/statistics/MethodStatisticsLoggerImpl;
1 12 1 avgExecTime J
Exception table:
from to target type
2 3 4 Class java.lang.Exception
2 8 9 any
9 10 9 any
public long getTotalExecutionTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.statistics.MethodStatisticsLoggerImpl.totalExecutionTime:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/statistics/MethodStatisticsLoggerImpl;
}
SourceFile: "MethodStatisticsLoggerImpl.java"