public class org.apache.cassandra.utils.progress.jmx.JMXProgressSupport implements org.apache.cassandra.utils.progress.ProgressListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.progress.jmx.JMXProgressSupport
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicLong notificationSerialNumber;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.management.NotificationBroadcasterSupport broadcaster;
descriptor: Ljavax/management/NotificationBroadcasterSupport;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(javax.management.NotificationBroadcasterSupport);
descriptor: (Ljavax/management/NotificationBroadcasterSupport;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // org.apache.cassandra.utils.progress.jmx.JMXProgressSupport this
start local 1 // javax.management.NotificationBroadcasterSupport broadcaster
0: .line 38
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 34
aload 0 /* this */
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.apache.cassandra.utils.progress.jmx.JMXProgressSupport.notificationSerialNumber:Ljava/util/concurrent/atomic/AtomicLong;
2: .line 40
aload 0 /* this */
aload 1 /* broadcaster */
putfield org.apache.cassandra.utils.progress.jmx.JMXProgressSupport.broadcaster:Ljavax/management/NotificationBroadcasterSupport;
3: .line 41
return
end local 1 // javax.management.NotificationBroadcasterSupport broadcaster
end local 0 // org.apache.cassandra.utils.progress.jmx.JMXProgressSupport this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/progress/jmx/JMXProgressSupport;
0 4 1 broadcaster Ljavax/management/NotificationBroadcasterSupport;
MethodParameters:
Name Flags
broadcaster
public void progress(java.lang.String, org.apache.cassandra.utils.progress.ProgressEvent);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/utils/progress/ProgressEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=3
start local 0 // org.apache.cassandra.utils.progress.jmx.JMXProgressSupport this
start local 1 // java.lang.String tag
start local 2 // org.apache.cassandra.utils.progress.ProgressEvent event
0: .line 46
new javax.management.Notification
dup
ldc "progress"
1: .line 47
aload 1 /* tag */
2: .line 48
aload 0 /* this */
getfield org.apache.cassandra.utils.progress.jmx.JMXProgressSupport.notificationSerialNumber:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.getAndIncrement:()J
3: .line 49
invokestatic java.lang.System.currentTimeMillis:()J
4: .line 50
aload 2 /* event */
invokevirtual org.apache.cassandra.utils.progress.ProgressEvent.getMessage:()Ljava/lang/String;
5: .line 46
invokespecial javax.management.Notification.<init>:(Ljava/lang/String;Ljava/lang/Object;JJLjava/lang/String;)V
astore 3 /* notification */
start local 3 // javax.management.Notification notification
6: .line 51
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4 /* userData */
start local 4 // java.util.Map userData
7: .line 52
aload 4 /* userData */
ldc "type"
aload 2 /* event */
invokevirtual org.apache.cassandra.utils.progress.ProgressEvent.getType:()Lorg/apache/cassandra/utils/progress/ProgressEventType;
invokevirtual org.apache.cassandra.utils.progress.ProgressEventType.ordinal:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: .line 53
aload 4 /* userData */
ldc "progressCount"
aload 2 /* event */
invokevirtual org.apache.cassandra.utils.progress.ProgressEvent.getProgressCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: .line 54
aload 4 /* userData */
ldc "total"
aload 2 /* event */
invokevirtual org.apache.cassandra.utils.progress.ProgressEvent.getTotal:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: .line 55
aload 3 /* notification */
aload 4 /* userData */
invokevirtual javax.management.Notification.setUserData:(Ljava/lang/Object;)V
11: .line 56
aload 0 /* this */
getfield org.apache.cassandra.utils.progress.jmx.JMXProgressSupport.broadcaster:Ljavax/management/NotificationBroadcasterSupport;
aload 3 /* notification */
invokevirtual javax.management.NotificationBroadcasterSupport.sendNotification:(Ljavax/management/Notification;)V
12: .line 57
return
end local 4 // java.util.Map userData
end local 3 // javax.management.Notification notification
end local 2 // org.apache.cassandra.utils.progress.ProgressEvent event
end local 1 // java.lang.String tag
end local 0 // org.apache.cassandra.utils.progress.jmx.JMXProgressSupport this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/utils/progress/jmx/JMXProgressSupport;
0 13 1 tag Ljava/lang/String;
0 13 2 event Lorg/apache/cassandra/utils/progress/ProgressEvent;
6 13 3 notification Ljavax/management/Notification;
7 13 4 userData Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
MethodParameters:
Name Flags
tag
event
}
SourceFile: "JMXProgressSupport.java"