public class javax.management.monitor.CounterMonitor extends javax.management.monitor.Monitor implements javax.management.monitor.CounterMonitorMBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.management.monitor.CounterMonitor
super_class: javax.management.monitor.Monitor
{
private java.lang.Number modulus;
descriptor: Ljava/lang/Number;
flags: (0x0002) ACC_PRIVATE
private java.lang.Number offset;
descriptor: Ljava/lang/Number;
flags: (0x0002) ACC_PRIVATE
private boolean notify;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean differenceMode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Number initThreshold;
descriptor: Ljava/lang/Number;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String[] types;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final javax.management.MBeanNotificationInfo[] notifsInfo;
descriptor: [Ljavax/management/MBeanNotificationInfo;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$javax$management$monitor$Monitor$NumericalType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: bipush 6
anewarray java.lang.String
dup
iconst_0
1: ldc "jmx.monitor.error.runtime"
aastore
dup
iconst_1
2: ldc "jmx.monitor.error.mbean"
aastore
dup
iconst_2
3: ldc "jmx.monitor.error.attribute"
aastore
dup
iconst_3
4: ldc "jmx.monitor.error.type"
aastore
dup
iconst_4
5: ldc "jmx.monitor.error.threshold"
aastore
dup
iconst_5
6: ldc "jmx.monitor.counter.threshold"
aastore
7: putstatic javax.management.monitor.CounterMonitor.types:[Ljava/lang/String;
8: iconst_1
anewarray javax.management.MBeanNotificationInfo
dup
iconst_0
9: new javax.management.MBeanNotificationInfo
dup
10: getstatic javax.management.monitor.CounterMonitor.types:[Ljava/lang/String;
11: ldc "javax.management.monitor.MonitorNotification"
12: ldc "Notifications sent by the CounterMonitor MBean"
13: invokespecial javax.management.MBeanNotificationInfo.<init>:([Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
14: putstatic javax.management.monitor.CounterMonitor.notifsInfo:[Ljavax/management/MBeanNotificationInfo;
15: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.management.monitor.Monitor.<init>:()V
1: aload 0
getstatic javax.management.monitor.CounterMonitor.INTEGER_ZERO:Ljava/lang/Integer;
putfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
2: aload 0
getstatic javax.management.monitor.CounterMonitor.INTEGER_ZERO:Ljava/lang/Integer;
putfield javax.management.monitor.CounterMonitor.offset:Ljava/lang/Number;
3: aload 0
iconst_0
putfield javax.management.monitor.CounterMonitor.notify:Z
4: aload 0
iconst_0
putfield javax.management.monitor.CounterMonitor.differenceMode:Z
5: aload 0
getstatic javax.management.monitor.CounterMonitor.INTEGER_ZERO:Ljava/lang/Integer;
putfield javax.management.monitor.CounterMonitor.initThreshold:Ljava/lang/Number;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/management/monitor/CounterMonitor;
public synchronized void start();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.management.monitor.CounterMonitor.isActive:()Z
ifeq 5
1: getstatic com.sun.jmx.defaults.JmxProperties.MONITOR_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
ldc Ljavax/management/monitor/CounterMonitor;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
2: ldc "start"
ldc "the monitor is already active"
3: invokevirtual java.util.logging.Logger.logp:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.monitor.CounterMonitor.observedObjects:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 13
StackMap locals: javax.management.monitor.CounterMonitor top java.util.Iterator
StackMap stack:
6: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.monitor.Monitor$ObservedObject
astore 1
start local 1 7: aload 1
checkcast javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
8: astore 3
start local 3 9: aload 3
aload 0
getfield javax.management.monitor.CounterMonitor.initThreshold:Ljava/lang/Number;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setThreshold:(Ljava/lang/Number;)V
10: aload 3
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setModulusExceeded:(Z)V
11: aload 3
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setEventAlreadyNotified:(Z)V
12: aload 3
aconst_null
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setPreviousScanCounter:(Ljava/lang/Number;)V
end local 3 end local 1 13: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
14: aload 0
invokevirtual javax.management.monitor.CounterMonitor.doStart:()V
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/management/monitor/CounterMonitor;
7 13 1 o Ljavax/management/monitor/Monitor$ObservedObject;
9 13 3 cmo Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
public synchronized void stop();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.management.monitor.CounterMonitor.doStop:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/monitor/CounterMonitor;
public synchronized java.lang.Number getDerivedGauge(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)Ljava/lang/Number;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.management.monitor.Monitor.getDerivedGauge:(Ljavax/management/ObjectName;)Ljava/lang/Object;
checkcast java.lang.Number
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/monitor/CounterMonitor;
0 1 1 object Ljavax/management/ObjectName;
MethodParameters:
Name Flags
object
public synchronized long getDerivedGaugeTimeStamp(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.management.monitor.Monitor.getDerivedGaugeTimeStamp:(Ljavax/management/ObjectName;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/monitor/CounterMonitor;
0 1 1 object Ljavax/management/ObjectName;
MethodParameters:
Name Flags
object
public synchronized java.lang.Number getThreshold(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)Ljava/lang/Number;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.management.monitor.CounterMonitor.getObservedObject:(Ljavax/management/ObjectName;)Ljavax/management/monitor/Monitor$ObservedObject;
checkcast javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
1: astore 2
start local 2 2: aload 2
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
StackMap stack:
aload 0
getfield javax.management.monitor.CounterMonitor.offset:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lconst_0
lcmp
ifle 8
5: aload 0
getfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lconst_0
lcmp
ifle 8
6: aload 2
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getThreshold:()Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
aload 0
getfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lcmp
ifle 8
7: aload 0
getfield javax.management.monitor.CounterMonitor.initThreshold:Ljava/lang/Number;
areturn
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getThreshold:()Ljava/lang/Number;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/management/monitor/CounterMonitor;
0 9 1 object Ljavax/management/ObjectName;
2 9 2 o Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
MethodParameters:
Name Flags
object
public synchronized java.lang.Number getInitThreshold();
descriptor: ()Ljava/lang/Number;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.monitor.CounterMonitor.initThreshold:Ljava/lang/Number;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/monitor/CounterMonitor;
public synchronized void setInitThreshold(java.lang.Number);
descriptor: (Ljava/lang/Number;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null threshold"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Number.longValue:()J
lconst_0
lcmp
ifge 4
3: new java.lang.IllegalArgumentException
dup
ldc "Negative threshold"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.monitor.CounterMonitor.initThreshold:Ljava/lang/Number;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.management.monitor.CounterMonitor.initThreshold:Ljava/lang/Number;
7: iconst_0
istore 2
start local 2 8: aload 0
getfield javax.management.monitor.CounterMonitor.observedObjects:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 16
StackMap locals: javax.management.monitor.CounterMonitor java.lang.Number int top java.util.Iterator
StackMap stack:
9: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.monitor.Monitor$ObservedObject
astore 3
start local 3 10: aload 0
aload 3
iload 2
iinc 2 1
bipush 16
invokevirtual javax.management.monitor.CounterMonitor.resetAlreadyNotified:(Ljavax/management/monitor/Monitor$ObservedObject;II)V
11: aload 3
checkcast javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
12: astore 5
start local 5 13: aload 5
aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setThreshold:(Ljava/lang/Number;)V
14: aload 5
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setModulusExceeded:(Z)V
15: aload 5
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setEventAlreadyNotified:(Z)V
end local 5 end local 3 16: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
17: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/management/monitor/CounterMonitor;
0 18 1 value Ljava/lang/Number;
8 18 2 index I
10 16 3 o Ljavax/management/monitor/Monitor$ObservedObject;
13 16 5 cmo Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
value
public synchronized java.lang.Number getDerivedGauge();
descriptor: ()Ljava/lang/Number;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.monitor.CounterMonitor.observedObjects:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.monitor.CounterMonitor.observedObjects:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.management.monitor.Monitor$ObservedObject
invokevirtual javax.management.monitor.Monitor$ObservedObject.getDerivedGauge:()Ljava/lang/Object;
checkcast java.lang.Number
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/management/monitor/CounterMonitor;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public synchronized long getDerivedGaugeTimeStamp();
descriptor: ()J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.monitor.CounterMonitor.observedObjects:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.monitor.CounterMonitor.observedObjects:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.management.monitor.Monitor$ObservedObject
invokevirtual javax.management.monitor.Monitor$ObservedObject.getDerivedGaugeTimeStamp:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/management/monitor/CounterMonitor;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public synchronized java.lang.Number getThreshold();
descriptor: ()Ljava/lang/Number;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual javax.management.monitor.CounterMonitor.getObservedObject:()Ljavax/management/ObjectName;
invokevirtual javax.management.monitor.CounterMonitor.getThreshold:(Ljavax/management/ObjectName;)Ljava/lang/Number;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/monitor/CounterMonitor;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public synchronized void setThreshold(java.lang.Number);
descriptor: (Ljava/lang/Number;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.management.monitor.CounterMonitor.setInitThreshold:(Ljava/lang/Number;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/monitor/CounterMonitor;
0 2 1 value Ljava/lang/Number;
Exceptions:
throws java.lang.IllegalArgumentException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
value
public synchronized java.lang.Number getOffset();
descriptor: ()Ljava/lang/Number;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.monitor.CounterMonitor.offset:Ljava/lang/Number;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/monitor/CounterMonitor;
public synchronized void setOffset(java.lang.Number);
descriptor: (Ljava/lang/Number;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null offset"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Number.longValue:()J
lconst_0
lcmp
ifge 4
3: new java.lang.IllegalArgumentException
dup
ldc "Negative offset"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.monitor.CounterMonitor.offset:Ljava/lang/Number;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.management.monitor.CounterMonitor.offset:Ljava/lang/Number;
7: iconst_0
istore 2
start local 2 8: aload 0
getfield javax.management.monitor.CounterMonitor.observedObjects:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: javax.management.monitor.CounterMonitor java.lang.Number int top java.util.Iterator
StackMap stack:
9: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.monitor.Monitor$ObservedObject
astore 3
start local 3 10: aload 0
aload 3
iload 2
iinc 2 1
bipush 16
invokevirtual javax.management.monitor.CounterMonitor.resetAlreadyNotified:(Ljavax/management/monitor/Monitor$ObservedObject;II)V
end local 3 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/management/monitor/CounterMonitor;
0 13 1 value Ljava/lang/Number;
8 13 2 index I
10 11 3 o Ljavax/management/monitor/Monitor$ObservedObject;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
value
public synchronized java.lang.Number getModulus();
descriptor: ()Ljava/lang/Number;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/monitor/CounterMonitor;
public synchronized void setModulus(java.lang.Number);
descriptor: (Ljava/lang/Number;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null modulus"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Number.longValue:()J
lconst_0
lcmp
ifge 4
3: new java.lang.IllegalArgumentException
dup
ldc "Negative modulus"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
7: iconst_0
istore 2
start local 2 8: aload 0
getfield javax.management.monitor.CounterMonitor.observedObjects:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals: javax.management.monitor.CounterMonitor java.lang.Number int top java.util.Iterator
StackMap stack:
9: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.monitor.Monitor$ObservedObject
astore 3
start local 3 10: aload 0
aload 3
iload 2
iinc 2 1
bipush 16
invokevirtual javax.management.monitor.CounterMonitor.resetAlreadyNotified:(Ljavax/management/monitor/Monitor$ObservedObject;II)V
11: aload 3
checkcast javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
12: astore 5
start local 5 13: aload 5
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setModulusExceeded:(Z)V
end local 5 end local 3 14: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/management/monitor/CounterMonitor;
0 16 1 value Ljava/lang/Number;
8 16 2 index I
10 14 3 o Ljavax/management/monitor/Monitor$ObservedObject;
13 14 5 cmo Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
value
public synchronized boolean getNotify();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.monitor.CounterMonitor.notify:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/monitor/CounterMonitor;
public synchronized void setNotify(boolean);
descriptor: (Z)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.management.monitor.CounterMonitor.notify:Z
iload 1
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.management.monitor.CounterMonitor.notify:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/management/monitor/CounterMonitor;
0 4 1 value Z
MethodParameters:
Name Flags
value
public synchronized boolean getDifferenceMode();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.monitor.CounterMonitor.differenceMode:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/monitor/CounterMonitor;
public synchronized void setDifferenceMode(boolean);
descriptor: (Z)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.management.monitor.CounterMonitor.differenceMode:Z
iload 1
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.management.monitor.CounterMonitor.differenceMode:Z
3: aload 0
getfield javax.management.monitor.CounterMonitor.observedObjects:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: javax.management.monitor.CounterMonitor int top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.monitor.Monitor$ObservedObject
astore 2
start local 2 5: aload 2
checkcast javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
6: astore 4
start local 4 7: aload 4
aload 0
getfield javax.management.monitor.CounterMonitor.initThreshold:Ljava/lang/Number;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setThreshold:(Ljava/lang/Number;)V
8: aload 4
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setModulusExceeded:(Z)V
9: aload 4
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setEventAlreadyNotified:(Z)V
10: aload 4
aconst_null
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setPreviousScanCounter:(Ljava/lang/Number;)V
end local 4 end local 2 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/management/monitor/CounterMonitor;
0 13 1 value Z
5 11 2 o Ljavax/management/monitor/Monitor$ObservedObject;
7 11 4 cmo Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
MethodParameters:
Name Flags
value
public javax.management.MBeanNotificationInfo[] getNotificationInfo();
descriptor: ()[Ljavax/management/MBeanNotificationInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic javax.management.monitor.CounterMonitor.notifsInfo:[Ljavax/management/MBeanNotificationInfo;
invokevirtual javax.management.MBeanNotificationInfo[].clone:()Ljava/lang/Object;
checkcast javax.management.MBeanNotificationInfo[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/monitor/CounterMonitor;
private synchronized boolean updateDerivedGauge(java.lang.Object, javax.management.monitor.CounterMonitor$CounterMonitorObservedObject);
descriptor: (Ljava/lang/Object;Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;)Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.management.monitor.CounterMonitor.differenceMode:Z
ifeq 15
1: aload 2
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getPreviousScanCounter:()Ljava/lang/Number;
ifnull 12
2: aload 0
aload 1
checkcast java.lang.Number
aconst_null
aload 2
invokevirtual javax.management.monitor.CounterMonitor.setDerivedGaugeWithDifference:(Ljava/lang/Number;Ljava/lang/Number;Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;)V
3: aload 2
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGauge:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.longValue:()J
lconst_0
lcmp
ifge 10
4: aload 0
getfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lconst_0
lcmp
ifle 8
5: aload 0
aload 1
checkcast java.lang.Number
6: aload 0
getfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
aload 2
7: invokevirtual javax.management.monitor.CounterMonitor.setDerivedGaugeWithDifference:(Ljava/lang/Number;Ljava/lang/Number;Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;)V
8: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield javax.management.monitor.CounterMonitor.initThreshold:Ljava/lang/Number;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setThreshold:(Ljava/lang/Number;)V
9: aload 2
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setEventAlreadyNotified:(Z)V
10: StackMap locals:
StackMap stack:
iconst_1
istore 3
start local 3 11: goto 13
end local 3 12: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 13: StackMap locals: int
StackMap stack:
aload 2
aload 1
checkcast java.lang.Number
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setPreviousScanCounter:(Ljava/lang/Number;)V
14: goto 17
end local 3 15: StackMap locals:
StackMap stack:
aload 2
aload 1
checkcast java.lang.Number
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setDerivedGauge:(Ljava/lang/Object;)V
16: iconst_1
istore 3
start local 3 17: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/management/monitor/CounterMonitor;
0 18 1 scanCounter Ljava/lang/Object;
0 18 2 o Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
11 12 3 is_derived_gauge_valid Z
13 15 3 is_derived_gauge_valid Z
17 18 3 is_derived_gauge_valid Z
MethodParameters:
Name Flags
scanCounter
o
private synchronized javax.management.monitor.MonitorNotification updateNotifications(javax.management.monitor.CounterMonitor$CounterMonitorObservedObject);
descriptor: (Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;)Ljavax/management/monitor/MonitorNotification;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=13, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getEventAlreadyNotified:()Z
ifne 18
2: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGauge:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.longValue:()J
3: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getThreshold:()Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lcmp
iflt 34
4: aload 0
getfield javax.management.monitor.CounterMonitor.notify:Z
ifeq 15
5: new javax.management.monitor.MonitorNotification
dup
ldc "jmx.monitor.counter.threshold"
6: aload 0
7: lconst_0
8: lconst_0
9: ldc ""
10: aconst_null
11: aconst_null
12: aconst_null
13: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getThreshold:()Ljava/lang/Number;
14: invokespecial javax.management.monitor.MonitorNotification.<init>:(Ljava/lang/String;Ljava/lang/Object;JJLjava/lang/String;Ljavax/management/ObjectName;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
astore 2
15: StackMap locals: javax.management.monitor.MonitorNotification
StackMap stack:
aload 0
getfield javax.management.monitor.CounterMonitor.differenceMode:Z
ifne 34
16: aload 1
iconst_1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setEventAlreadyNotified:(Z)V
17: goto 34
18: StackMap locals:
StackMap stack:
getstatic com.sun.jmx.defaults.JmxProperties.MONITOR_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 34
19: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
20: ldc "The notification:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: ldc "\n\tNotification observed object = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getObservedObject:()Ljavax/management/ObjectName;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
23: ldc "\n\tNotification observed attribute = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: aload 0
invokevirtual javax.management.monitor.CounterMonitor.getObservedAttribute:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: ldc "\n\tNotification threshold level = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getThreshold:()Ljava/lang/Number;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
27: ldc "\n\tNotification derived gauge = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGauge:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
29: ldc "\nhas already been sent"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: astore 3
start local 3 31: getstatic com.sun.jmx.defaults.JmxProperties.MONITOR_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
ldc Ljavax/management/monitor/CounterMonitor;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
32: ldc "updateNotifications"
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: invokevirtual java.util.logging.Logger.logp:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 3 34: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Ljavax/management/monitor/CounterMonitor;
0 35 1 o Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
1 35 2 n Ljavax/management/monitor/MonitorNotification;
31 34 3 strb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
o
private synchronized void updateThreshold(javax.management.monitor.CounterMonitor$CounterMonitorObservedObject);
descriptor: (Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGauge:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.longValue:()J
1: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getThreshold:()Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lcmp
iflt 35
2: aload 0
getfield javax.management.monitor.CounterMonitor.offset:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lconst_0
lcmp
ifle 33
3: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getThreshold:()Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lstore 2
start local 2 4: goto 6
5: StackMap locals: long
StackMap stack:
lload 2
aload 0
getfield javax.management.monitor.CounterMonitor.offset:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
ladd
lstore 2
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGauge:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.longValue:()J
7: lload 2
8: lcmp
ifge 5
9: invokestatic javax.management.monitor.CounterMonitor.$SWITCH_TABLE$javax$management$monitor$Monitor$NumericalType:()[I
aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getType:()Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.Monitor$NumericalType.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 12
2: 14
3: 10
4: 16
default: 18
}
10: StackMap locals:
StackMap stack:
aload 1
lload 2
l2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setThreshold:(Ljava/lang/Number;)V
11: goto 23
12: StackMap locals:
StackMap stack:
aload 1
lload 2
l2i
i2b
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setThreshold:(Ljava/lang/Number;)V
13: goto 23
14: StackMap locals:
StackMap stack:
aload 1
lload 2
l2i
i2s
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setThreshold:(Ljava/lang/Number;)V
15: goto 23
16: StackMap locals:
StackMap stack:
aload 1
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setThreshold:(Ljava/lang/Number;)V
17: goto 23
18: StackMap locals:
StackMap stack:
getstatic com.sun.jmx.defaults.JmxProperties.MONITOR_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
19: ldc Ljavax/management/monitor/CounterMonitor;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
20: ldc "updateThreshold"
21: ldc "the threshold type is invalid"
22: invokevirtual java.util.logging.Logger.logp:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.monitor.CounterMonitor.differenceMode:Z
ifne 31
24: aload 0
getfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lconst_0
lcmp
ifle 31
25: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getThreshold:()Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
26: aload 0
getfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lcmp
ifle 31
27: aload 1
iconst_1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setModulusExceeded:(Z)V
28: aload 1
29: aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGauge:()Ljava/lang/Object;
checkcast java.lang.Number
30: invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setDerivedGaugeExceeded:(Ljava/lang/Number;)V
31: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setEventAlreadyNotified:(Z)V
end local 2 32: goto 35
33: StackMap locals:
StackMap stack:
aload 1
iconst_1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setModulusExceeded:(Z)V
34: aload 1
aload 1
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGauge:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setDerivedGaugeExceeded:(Ljava/lang/Number;)V
35: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Ljavax/management/monitor/CounterMonitor;
0 36 1 o Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
4 32 2 threshold_value J
MethodParameters:
Name Flags
o
private synchronized void setDerivedGaugeWithDifference(java.lang.Number, java.lang.Number, javax.management.monitor.CounterMonitor$CounterMonitorObservedObject);
descriptor: (Ljava/lang/Number;Ljava/lang/Number;Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.lang.Number.longValue:()J
aload 3
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getPreviousScanCounter:()Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lsub
1: lstore 4
start local 4 2: aload 2
ifnull 4
3: lload 4
aload 0
getfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
ladd
lstore 4
4: StackMap locals: long
StackMap stack:
invokestatic javax.management.monitor.CounterMonitor.$SWITCH_TABLE$javax$management$monitor$Monitor$NumericalType:()[I
aload 3
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getType:()Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.Monitor$NumericalType.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 6
2: 7
3: 5
4: 8
default: 9
}
5: StackMap locals:
StackMap stack:
aload 3
lload 4
l2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setDerivedGauge:(Ljava/lang/Object;)V
goto 13
6: StackMap locals:
StackMap stack:
aload 3
lload 4
l2i
i2b
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setDerivedGauge:(Ljava/lang/Object;)V
goto 13
7: StackMap locals:
StackMap stack:
aload 3
lload 4
l2i
i2s
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setDerivedGauge:(Ljava/lang/Object;)V
goto 13
8: StackMap locals:
StackMap stack:
aload 3
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setDerivedGauge:(Ljava/lang/Object;)V
goto 13
9: StackMap locals:
StackMap stack:
getstatic com.sun.jmx.defaults.JmxProperties.MONITOR_LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
ldc Ljavax/management/monitor/CounterMonitor;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
10: ldc "setDerivedGaugeWithDifference"
11: ldc "the threshold type is invalid"
12: invokevirtual java.util.logging.Logger.logp:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/management/monitor/CounterMonitor;
0 14 1 scanCounter Ljava/lang/Number;
0 14 2 mod Ljava/lang/Number;
0 14 3 o Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
2 14 4 derived J
MethodParameters:
Name Flags
scanCounter
mod
o
javax.management.monitor.Monitor$ObservedObject createObservedObject(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)Ljavax/management/monitor/Monitor$ObservedObject;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
dup
aload 1
invokespecial javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.<init>:(Ljavax/management/ObjectName;)V
1: astore 2
start local 2 2: aload 2
aload 0
getfield javax.management.monitor.CounterMonitor.initThreshold:Ljava/lang/Number;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setThreshold:(Ljava/lang/Number;)V
3: aload 2
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setModulusExceeded:(Z)V
4: aload 2
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setEventAlreadyNotified:(Z)V
5: aload 2
aconst_null
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setPreviousScanCounter:(Ljava/lang/Number;)V
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/management/monitor/CounterMonitor;
0 7 1 object Ljavax/management/ObjectName;
2 7 2 cmo Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
MethodParameters:
Name Flags
object
synchronized boolean isComparableTypeValid(javax.management.ObjectName, java.lang.String, java.lang.Comparable<?>);
descriptor: (Ljavax/management/ObjectName;Ljava/lang/String;Ljava/lang/Comparable;)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual javax.management.monitor.CounterMonitor.getObservedObject:(Ljavax/management/ObjectName;)Ljavax/management/monitor/Monitor$ObservedObject;
checkcast javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
1: astore 4
start local 4 2: aload 4
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
StackMap stack:
aload 3
instanceof java.lang.Integer
ifeq 7
5: aload 4
getstatic javax.management.monitor.Monitor$NumericalType.INTEGER:Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setType:(Ljavax/management/monitor/Monitor$NumericalType;)V
6: goto 17
StackMap locals:
StackMap stack:
7: aload 3
instanceof java.lang.Byte
ifeq 10
8: aload 4
getstatic javax.management.monitor.Monitor$NumericalType.BYTE:Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setType:(Ljavax/management/monitor/Monitor$NumericalType;)V
9: goto 17
StackMap locals:
StackMap stack:
10: aload 3
instanceof java.lang.Short
ifeq 13
11: aload 4
getstatic javax.management.monitor.Monitor$NumericalType.SHORT:Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setType:(Ljavax/management/monitor/Monitor$NumericalType;)V
12: goto 17
StackMap locals:
StackMap stack:
13: aload 3
instanceof java.lang.Long
ifeq 16
14: aload 4
getstatic javax.management.monitor.Monitor$NumericalType.LONG:Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setType:(Ljavax/management/monitor/Monitor$NumericalType;)V
15: goto 17
16: StackMap locals:
StackMap stack:
iconst_0
ireturn
17: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/management/monitor/CounterMonitor;
0 18 1 object Ljavax/management/ObjectName;
0 18 2 attribute Ljava/lang/String;
0 18 3 value Ljava/lang/Comparable<*>;
2 18 4 o Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
Signature: (Ljavax/management/ObjectName;Ljava/lang/String;Ljava/lang/Comparable<*>;)Z
MethodParameters:
Name Flags
object
attribute
value
synchronized java.lang.Comparable<?> getDerivedGaugeFromComparable(javax.management.ObjectName, java.lang.String, java.lang.Comparable<?>);
descriptor: (Ljavax/management/ObjectName;Ljava/lang/String;Ljava/lang/Comparable;)Ljava/lang/Comparable;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual javax.management.monitor.CounterMonitor.getObservedObject:(Ljavax/management/ObjectName;)Ljavax/management/monitor/Monitor$ObservedObject;
checkcast javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
1: astore 4
start local 4 2: aload 4
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
StackMap stack:
aload 4
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getModulusExceeded:()Z
ifeq 10
5: aload 4
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGauge:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.longValue:()J
6: aload 4
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGaugeExceeded:()Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
lcmp
ifge 10
7: aload 4
aload 0
getfield javax.management.monitor.CounterMonitor.initThreshold:Ljava/lang/Number;
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setThreshold:(Ljava/lang/Number;)V
8: aload 4
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setModulusExceeded:(Z)V
9: aload 4
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setEventAlreadyNotified:(Z)V
10: StackMap locals:
StackMap stack:
aload 4
aload 0
aload 3
aload 4
invokevirtual javax.management.monitor.CounterMonitor.updateDerivedGauge:(Ljava/lang/Object;Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;)Z
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setDerivedGaugeValid:(Z)V
11: aload 4
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGauge:()Ljava/lang/Object;
checkcast java.lang.Comparable
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/management/monitor/CounterMonitor;
0 12 1 object Ljavax/management/ObjectName;
0 12 2 attribute Ljava/lang/String;
0 12 3 value Ljava/lang/Comparable<*>;
2 12 4 o Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
Signature: (Ljavax/management/ObjectName;Ljava/lang/String;Ljava/lang/Comparable<*>;)Ljava/lang/Comparable<*>;
MethodParameters:
Name Flags
object
attribute
value
synchronized void onErrorNotification(javax.management.monitor.MonitorNotification);
descriptor: (Ljavax/management/monitor/MonitorNotification;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.management.monitor.MonitorNotification.getObservedObject:()Ljavax/management/ObjectName;
invokevirtual javax.management.monitor.CounterMonitor.getObservedObject:(Ljavax/management/ObjectName;)Ljavax/management/monitor/Monitor$ObservedObject;
1: checkcast javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
astore 2
start local 2 2: aload 2
ifnonnull 4
3: return
4: StackMap locals: javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
StackMap stack:
aload 2
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setModulusExceeded:(Z)V
5: aload 2
iconst_0
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setEventAlreadyNotified:(Z)V
6: aload 2
aconst_null
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.setPreviousScanCounter:(Ljava/lang/Number;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/management/monitor/CounterMonitor;
0 8 1 notification Ljavax/management/monitor/MonitorNotification;
2 8 2 o Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
MethodParameters:
Name Flags
notification
synchronized javax.management.monitor.MonitorNotification buildAlarmNotification(javax.management.ObjectName, java.lang.String, java.lang.Comparable<?>);
descriptor: (Ljavax/management/ObjectName;Ljava/lang/String;Ljava/lang/Comparable;)Ljavax/management/monitor/MonitorNotification;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual javax.management.monitor.CounterMonitor.getObservedObject:(Ljavax/management/ObjectName;)Ljavax/management/monitor/Monitor$ObservedObject;
checkcast javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
1: astore 4
start local 4 2: aload 4
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
StackMap stack:
aload 4
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getDerivedGaugeValid:()Z
ifeq 8
5: aload 0
aload 4
invokevirtual javax.management.monitor.CounterMonitor.updateNotifications:(Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;)Ljavax/management/monitor/MonitorNotification;
astore 5
start local 5 6: aload 0
aload 4
invokevirtual javax.management.monitor.CounterMonitor.updateThreshold:(Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;)V
7: goto 9
end local 5 8: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 9: StackMap locals: javax.management.monitor.MonitorNotification
StackMap stack:
aload 5
areturn
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 10 0 this Ljavax/management/monitor/CounterMonitor;
0 10 1 object Ljavax/management/ObjectName;
0 10 2 attribute Ljava/lang/String;
0 10 3 value Ljava/lang/Comparable<*>;
2 10 4 o Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
6 8 5 alarm Ljavax/management/monitor/MonitorNotification;
9 10 5 alarm Ljavax/management/monitor/MonitorNotification;
Signature: (Ljavax/management/ObjectName;Ljava/lang/String;Ljava/lang/Comparable<*>;)Ljavax/management/monitor/MonitorNotification;
MethodParameters:
Name Flags
object
attribute
value
synchronized boolean isThresholdTypeValid(javax.management.ObjectName, java.lang.String, java.lang.Comparable<?>);
descriptor: (Ljavax/management/ObjectName;Ljava/lang/String;Ljava/lang/Comparable;)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual javax.management.monitor.CounterMonitor.getObservedObject:(Ljavax/management/ObjectName;)Ljavax/management/monitor/Monitor$ObservedObject;
checkcast javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
1: astore 4
start local 4 2: aload 4
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
StackMap stack:
aload 4
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getType:()Ljavax/management/monitor/Monitor$NumericalType;
invokestatic javax.management.monitor.CounterMonitor.classForType:(Ljavax/management/monitor/Monitor$NumericalType;)Ljava/lang/Class;
astore 5
start local 5 5: aload 5
aload 4
invokevirtual javax.management.monitor.CounterMonitor$CounterMonitorObservedObject.getThreshold:()Ljava/lang/Number;
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 9
6: aload 0
getfield javax.management.monitor.CounterMonitor.offset:Ljava/lang/Number;
aload 5
invokestatic javax.management.monitor.CounterMonitor.isValidForType:(Ljava/lang/Object;Ljava/lang/Class;)Z
ifeq 9
7: aload 0
getfield javax.management.monitor.CounterMonitor.modulus:Ljava/lang/Number;
aload 5
invokestatic javax.management.monitor.CounterMonitor.isValidForType:(Ljava/lang/Object;Ljava/lang/Class;)Z
ifeq 9
8: iconst_1
ireturn
StackMap locals: java.lang.Class
StackMap stack:
9: iconst_0
ireturn
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 10 0 this Ljavax/management/monitor/CounterMonitor;
0 10 1 object Ljavax/management/ObjectName;
0 10 2 attribute Ljava/lang/String;
0 10 3 value Ljava/lang/Comparable<*>;
2 10 4 o Ljavax/management/monitor/CounterMonitor$CounterMonitorObservedObject;
5 10 5 c Ljava/lang/Class<+Ljava/lang/Number;>;
Signature: (Ljavax/management/ObjectName;Ljava/lang/String;Ljava/lang/Comparable<*>;)Z
MethodParameters:
Name Flags
object
attribute
value
public java.lang.Object getDerivedGauge(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual javax.management.monitor.CounterMonitor.getDerivedGauge:(Ljavax/management/ObjectName;)Ljava/lang/Number;
areturn
LocalVariableTable:
Start End Slot Name Signature
static int[] $SWITCH_TABLE$javax$management$monitor$Monitor$NumericalType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic javax.management.monitor.CounterMonitor.$SWITCH_TABLE$javax$management$monitor$Monitor$NumericalType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javax.management.monitor.Monitor$NumericalType.values:()[Ljavax/management/monitor/Monitor$NumericalType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javax.management.monitor.Monitor$NumericalType.BYTE:Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.Monitor$NumericalType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javax.management.monitor.Monitor$NumericalType.DOUBLE:Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.Monitor$NumericalType.ordinal:()I
bipush 6
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javax.management.monitor.Monitor$NumericalType.FLOAT:Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.Monitor$NumericalType.ordinal:()I
iconst_5
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javax.management.monitor.Monitor$NumericalType.INTEGER:Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.Monitor$NumericalType.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic javax.management.monitor.Monitor$NumericalType.LONG:Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.Monitor$NumericalType.ordinal:()I
iconst_4
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic javax.management.monitor.Monitor$NumericalType.SHORT:Ljavax/management/monitor/Monitor$NumericalType;
invokevirtual javax.management.monitor.Monitor$NumericalType.ordinal:()I
iconst_2
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic javax.management.monitor.CounterMonitor.$SWITCH_TABLE$javax$management$monitor$Monitor$NumericalType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "CounterMonitor.java"
NestMembers:
javax.management.monitor.CounterMonitor$CounterMonitorObservedObject
InnerClasses:
CounterMonitorObservedObject = javax.management.monitor.CounterMonitor$CounterMonitorObservedObject of javax.management.monitor.CounterMonitor
final NumericalType = javax.management.monitor.Monitor$NumericalType of javax.management.monitor.Monitor
ObservedObject = javax.management.monitor.Monitor$ObservedObject of javax.management.monitor.Monitor