public final class com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl extends com.sun.org.glassfish.external.statistics.impl.StatisticImpl implements com.sun.org.glassfish.external.statistics.AverageRangeStatistic, 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.AverageRangeStatisticImpl
super_class: com.sun.org.glassfish.external.statistics.impl.StatisticImpl
{
private long currentVal;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long highWaterMark;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long lowWaterMark;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long numberOfSamples;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long runningTotal;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private final long initCurrentVal;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long initHighWaterMark;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long initLowWaterMark;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long initNumberOfSamples;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long initRunningTotal;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.org.glassfish.external.statistics.AverageRangeStatistic as;
descriptor: Lcom/sun/org/glassfish/external/statistics/AverageRangeStatistic;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(long, long, long, java.lang.String, java.lang.String, java.lang.String, long, long);
descriptor: (JJJLjava/lang/String;Ljava/lang/String;Ljava/lang/String;JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=14, args_size=9
start local 0 start local 1 start local 3 start local 5 start local 7 start local 8 start local 9 start local 10 start local 12 0: aload 0
aload 7
aload 8
aload 9
lload 10
lload 12
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.AverageRangeStatisticImpl.currentVal:J
2: aload 0
ldc -9223372036854775808
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.highWaterMark:J
3: aload 0
ldc 9223372036854775807
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.lowWaterMark:J
4: aload 0
lconst_0
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.numberOfSamples:J
5: aload 0
lconst_0
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.runningTotal:J
6: aload 0
7: ldc Lcom/sun/org/glassfish/external/statistics/AverageRangeStatistic;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
8: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lcom/sun/org/glassfish/external/statistics/AverageRangeStatistic;
aastore
9: aload 0
10: 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.AverageRangeStatistic
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.as:Lcom/sun/org/glassfish/external/statistics/AverageRangeStatistic;
11: aload 0
lload 1
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.currentVal:J
12: aload 0
lload 1
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.initCurrentVal:J
13: aload 0
lload 3
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.highWaterMark:J
14: aload 0
lload 3
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.initHighWaterMark:J
15: aload 0
lload 5
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.lowWaterMark:J
16: aload 0
lload 5
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.initLowWaterMark:J
17: aload 0
lconst_0
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.numberOfSamples:J
18: aload 0
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.numberOfSamples:J
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.initNumberOfSamples:J
19: aload 0
lconst_0
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.runningTotal:J
20: aload 0
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.runningTotal:J
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.initRunningTotal:J
21: return
end local 12 end local 10 end local 9 end local 8 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl;
0 22 1 curVal J
0 22 3 highMark J
0 22 5 lowMark J
0 22 7 name Ljava/lang/String;
0 22 8 unit Ljava/lang/String;
0 22 9 desc Ljava/lang/String;
0 22 10 startTime J
0 22 12 sampleTime J
MethodParameters:
Name Flags
curVal
highMark
lowMark
name
unit
desc
startTime
sampleTime
public synchronized com.sun.org.glassfish.external.statistics.AverageRangeStatistic getStatistic();
descriptor: ()Lcom/sun/org/glassfish/external/statistics/AverageRangeStatistic;
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.AverageRangeStatisticImpl.as:Lcom/sun/org/glassfish/external/statistics/AverageRangeStatistic;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl;
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.AverageRangeStatisticImpl.NEWLINE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc "Current: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.getCurrent:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
getstatic com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.NEWLINE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "LowWaterMark: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.getLowWaterMark:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
getstatic com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.NEWLINE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "HighWaterMark: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.getHighWaterMark:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
getstatic com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.NEWLINE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "Average:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.getAverage:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl;
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 "current"
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.getCurrent:()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
ldc "lowwatermark"
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.getLowWaterMark:()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
3: aload 1
ldc "highwatermark"
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.getHighWaterMark:()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
4: aload 1
ldc "average"
aload 0
invokevirtual com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.getAverage:()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
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl;
1 6 1 m Ljava/util/Map;
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.AverageRangeStatisticImpl.initCurrentVal:J
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.currentVal:J
2: aload 0
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.initHighWaterMark:J
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.highWaterMark:J
3: aload 0
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.initLowWaterMark:J
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.lowWaterMark:J
4: aload 0
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.initNumberOfSamples:J
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.numberOfSamples:J
5: aload 0
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.initRunningTotal:J
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.runningTotal:J
6: aload 0
ldc -1
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.sampleTime:J
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl;
public synchronized long getAverage();
descriptor: ()J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.numberOfSamples:J
lconst_0
lcmp
ifne 2
1: ldc -1
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.runningTotal:J
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.numberOfSamples:J
ldiv
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl;
public synchronized long getCurrent();
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.AverageRangeStatisticImpl.currentVal:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl;
public synchronized void setCurrent(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
lload 1
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.currentVal:J
1: aload 0
lload 1
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.lowWaterMark:J
lcmp
iflt 2
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.lowWaterMark:J
goto 3
StackMap locals:
StackMap stack: com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl
2: lload 1
StackMap locals: com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl long
StackMap stack: com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl long
3: putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.lowWaterMark:J
4: aload 0
lload 1
aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.highWaterMark:J
lcmp
iflt 5
lload 1
goto 6
StackMap locals:
StackMap stack: com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl
5: aload 0
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.highWaterMark:J
StackMap locals: com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl long
StackMap stack: com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl long
6: putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.highWaterMark:J
7: aload 0
dup
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.numberOfSamples:J
lconst_1
ladd
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.numberOfSamples:J
8: aload 0
dup
getfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.runningTotal:J
lload 1
ladd
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.runningTotal:J
9: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.sun.org.glassfish.external.statistics.impl.AverageRangeStatisticImpl.sampleTime:J
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl;
0 11 1 curVal J
MethodParameters:
Name Flags
curVal
public synchronized long getHighWaterMark();
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.AverageRangeStatisticImpl.highWaterMark:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl;
public synchronized long getLowWaterMark();
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.AverageRangeStatisticImpl.lowWaterMark:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/glassfish/external/statistics/impl/AverageRangeStatisticImpl;
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.AverageRangeStatisticImpl.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/AverageRangeStatisticImpl;
0 10 1 proxy Ljava/lang/Object;
0 10 2 method 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
method
args
}
SourceFile: "AverageRangeStatisticImpl.java"