public final class com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl extends com.sun.org.glassfish.external.statistics.impl.StatisticImpl implements com.sun.org.glassfish.external.statistics.CountStatistic, java.lang.reflect.InvocationHandler
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl
super_class: com.sun.org.glassfish.external.statistics.impl.StatisticImpl
{
private long count;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private final long initCount;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.org.glassfish.external.statistics.CountStatistic cs;
descriptor: Lcom/sun/org/glassfish/external/statistics/CountStatistic;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(long, java.lang.String, java.lang.String, java.lang.String, long, long);
descriptor: (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=10, args_size=7
start local 0 start local 1 start local 3 start local 4 start local 5 start local 6 start local 8 0: aload 0
aload 3
aload 4
aload 5
lload 8
lload 6
invokespecial com.sun.org.glassfish.external.statistics.impl.StatisticImpl.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJ)V
1: aload 0
lconst_0
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
2: aload 0
3: ldc Lcom/sun/org/glassfish/external/statistics/CountStatistic;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
4: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lcom/sun/org/glassfish/external/statistics/CountStatistic;
aastore
5: aload 0
6: invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
checkcast com.sun.org.glassfish.external.statistics.CountStatistic
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.cs:Lcom/sun/org/glassfish/external/statistics/CountStatistic;
7: aload 0
lload 1
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
8: aload 0
lload 1
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.initCount:J
9: return
end local 8 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
0 10 1 countVal J
0 10 3 name Ljava/lang/String;
0 10 4 unit Ljava/lang/String;
0 10 5 desc Ljava/lang/String;
0 10 6 sampleTime J
0 10 8 startTime J
MethodParameters:
Name Flags
countVal
name
unit
desc
sampleTime
startTime
public void <init>(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
lconst_0
aload 1
aload 2
aload 3
ldc -1
invokestatic java.lang.System.currentTimeMillis:()J
invokespecial com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.<init>:(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;JJ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
0 2 1 name Ljava/lang/String;
0 2 2 unit Ljava/lang/String;
0 2 3 desc Ljava/lang/String;
MethodParameters:
Name Flags
name
unit
desc
public synchronized com.sun.org.glassfish.external.statistics.CountStatistic getStatistic();
descriptor: ()Lcom/sun/org/glassfish/external/statistics/CountStatistic;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.cs:Lcom/sun/org/glassfish/external/statistics/CountStatistic;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
public synchronized java.util.Map getStaticAsMap();
descriptor: ()Ljava/util/Map;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.glassfish.external.statistics.impl.StatisticImpl.getStaticAsMap:()Ljava/util/Map;
astore 1
start local 1 1: aload 1
ldc "count"
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.getCount:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
1 3 1 m Ljava/util/Map;
public synchronized java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial com.sun.org.glassfish.external.statistics.impl.StatisticImpl.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.NEWLINE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "Count: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.getCount:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
public synchronized long getCount();
descriptor: ()J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
public synchronized void setCount(long);
descriptor: (J)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.sampleTime:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
0 3 1 countVal J
MethodParameters:
Name Flags
countVal
public synchronized void increment();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
lconst_1
ladd
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.sampleTime:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
public synchronized void increment(long);
descriptor: (J)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
lload 1
ladd
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.sampleTime:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
0 3 1 delta J
MethodParameters:
Name Flags
delta
public synchronized void decrement();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
lconst_1
lsub
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.sampleTime:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
public synchronized void reset();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.glassfish.external.statistics.impl.StatisticImpl.reset:()V
1: aload 0
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.initCount:J
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.count:J
2: aload 0
ldc -1
putfield com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.sampleTime:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
public java.lang.Object invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual com.sun.org.glassfish.external.statistics.impl.CountStatisticImpl.checkMethod:(Ljava/lang/reflect/Method;)V
1: aload 2
aload 0
aload 3
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 2: goto 9
end local 4 StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
3: astore 5
start local 5 4: aload 5
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
athrow
end local 5 5: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 6: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "unexpected invocation exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 5
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 5 start local 4 9: StackMap locals: java.lang.Object
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/glassfish/external/statistics/impl/CountStatisticImpl;
0 10 1 proxy Ljava/lang/Object;
0 10 2 m Ljava/lang/reflect/Method;
0 10 3 args [Ljava/lang/Object;
2 3 4 result Ljava/lang/Object;
9 10 4 result Ljava/lang/Object;
4 5 5 e Ljava/lang/reflect/InvocationTargetException;
6 9 5 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.reflect.InvocationTargetException
1 2 5 Class java.lang.Exception
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
proxy
m
args
}
SourceFile: "CountStatisticImpl.java"