public class org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport 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.LegacyJMXProgressSupport
super_class: java.lang.Object
{
protected static final java.util.regex.Pattern SESSION_FAILED_MATCHER;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final java.util.regex.Pattern SESSION_SUCCESS_MATCHER;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong notificationSerialNumber;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String jmxObjectName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.management.NotificationBroadcasterSupport broadcaster;
descriptor: Ljavax/management/NotificationBroadcasterSupport;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$utils$progress$ProgressEventType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "Repair session .* for range .* failed with error .*|Repair command .* failed with error .*"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.SESSION_FAILED_MATCHER:Ljava/util/regex/Pattern;
1: ldc "Repair session .* for range .* finished"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.SESSION_SUCCESS_MATCHER:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.management.NotificationBroadcasterSupport, java.lang.String);
descriptor: (Ljavax/management/NotificationBroadcasterSupport;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.notificationSerialNumber:Ljava/util/concurrent/atomic/AtomicLong;
2: aload 0
aload 1
putfield org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.broadcaster:Ljavax/management/NotificationBroadcasterSupport;
3: aload 0
aload 2
putfield org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.jmxObjectName:Ljava/lang/String;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/progress/jmx/LegacyJMXProgressSupport;
0 5 1 broadcaster Ljavax/management/NotificationBroadcasterSupport;
0 5 2 jmxObjectName Ljava/lang/String;
MethodParameters:
Name Flags
broadcaster
jmxObjectName
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=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "repair:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
1: aload 1
aload 2
invokestatic org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.getLegacyUserdata:(Ljava/lang/String;Lorg/apache/cassandra/utils/progress/ProgressEvent;)Ljava/util/Optional;
astore 3
start local 3 2: aload 3
invokevirtual java.util.Optional.isPresent:()Z
ifeq 6
3: new javax.management.Notification
dup
ldc "repair"
aload 0
getfield org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.jmxObjectName:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.notificationSerialNumber:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
aload 2
invokevirtual org.apache.cassandra.utils.progress.ProgressEvent.getMessage:()Ljava/lang/String;
invokespecial javax.management.Notification.<init>:(Ljava/lang/String;Ljava/lang/Object;JLjava/lang/String;)V
astore 4
start local 4 4: aload 4
aload 3
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
invokevirtual javax.management.Notification.setUserData:(Ljava/lang/Object;)V
5: aload 0
getfield org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.broadcaster:Ljavax/management/NotificationBroadcasterSupport;
aload 4
invokevirtual javax.management.NotificationBroadcasterSupport.sendNotification:(Ljavax/management/Notification;)V
end local 4 end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/utils/progress/jmx/LegacyJMXProgressSupport;
0 7 1 tag Ljava/lang/String;
0 7 2 event Lorg/apache/cassandra/utils/progress/ProgressEvent;
2 6 3 legacyUserData Ljava/util/Optional<[I>;
4 6 4 jmxNotification Ljavax/management/Notification;
MethodParameters:
Name Flags
tag
event
protected static java.util.Optional<int[]> getLegacyUserdata(java.lang.String, org.apache.cassandra.utils.progress.ProgressEvent);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/utils/progress/ProgressEvent;)Ljava/util/Optional;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.getStatus:(Lorg/apache/cassandra/utils/progress/ProgressEvent;)Ljava/util/Optional;
astore 2
start local 2 1: aload 2
invokevirtual java.util.Optional.isPresent:()Z
ifeq 6
2: iconst_2
newarray 10
astore 3
start local 3 3: aload 3
iconst_0
aload 0
invokestatic org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.getCmd:(Ljava/lang/String;)I
iastore
4: aload 3
iconst_1
aload 2
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast org.apache.cassandra.service.ActiveRepairService$Status
invokevirtual org.apache.cassandra.service.ActiveRepairService$Status.ordinal:()I
iastore
5: aload 3
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 3 6: StackMap locals: java.util.Optional
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 tag Ljava/lang/String;
0 7 1 event Lorg/apache/cassandra/utils/progress/ProgressEvent;
1 7 2 status Ljava/util/Optional<Lorg/apache/cassandra/service/ActiveRepairService$Status;>;
3 6 3 result [I
Signature: (Ljava/lang/String;Lorg/apache/cassandra/utils/progress/ProgressEvent;)Ljava/util/Optional<[I>;
MethodParameters:
Name Flags
tag
event
protected static java.util.Optional<org.apache.cassandra.service.ActiveRepairService$Status> getStatus(org.apache.cassandra.utils.progress.ProgressEvent);
descriptor: (Lorg/apache/cassandra/utils/progress/ProgressEvent;)Ljava/util/Optional;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.$SWITCH_TABLE$org$apache$cassandra$utils$progress$ProgressEventType:()[I
aload 0
invokevirtual org.apache.cassandra.utils.progress.ProgressEvent.getType:()Lorg/apache/cassandra/utils/progress/ProgressEventType;
invokevirtual org.apache.cassandra.utils.progress.ProgressEventType.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 1
2: 3
3: 3
4: 7
5: 7
6: 2
default: 7
}
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.service.ActiveRepairService$Status.STARTED:Lorg/apache/cassandra/service/ActiveRepairService$Status;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.service.ActiveRepairService$Status.FINISHED:Lorg/apache/cassandra/service/ActiveRepairService$Status;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
3: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.SESSION_FAILED_MATCHER:Ljava/util/regex/Pattern;
aload 0
invokevirtual org.apache.cassandra.utils.progress.ProgressEvent.getMessage:()Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 5
4: getstatic org.apache.cassandra.service.ActiveRepairService$Status.SESSION_FAILED:Lorg/apache/cassandra/service/ActiveRepairService$Status;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
5: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.SESSION_SUCCESS_MATCHER:Ljava/util/regex/Pattern;
aload 0
invokevirtual org.apache.cassandra.utils.progress.ProgressEvent.getMessage:()Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 7
6: getstatic org.apache.cassandra.service.ActiveRepairService$Status.SESSION_SUCCESS:Lorg/apache/cassandra/service/ActiveRepairService$Status;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
7: StackMap locals:
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 event Lorg/apache/cassandra/utils/progress/ProgressEvent;
Signature: (Lorg/apache/cassandra/utils/progress/ProgressEvent;)Ljava/util/Optional<Lorg/apache/cassandra/service/ActiveRepairService$Status;>;
MethodParameters:
Name Flags
event
protected static int getCmd(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
iconst_1
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 tag Ljava/lang/String;
MethodParameters:
Name Flags
tag
static int[] $SWITCH_TABLE$org$apache$cassandra$utils$progress$ProgressEventType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.$SWITCH_TABLE$org$apache$cassandra$utils$progress$ProgressEventType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.utils.progress.ProgressEventType.values:()[Lorg/apache/cassandra/utils/progress/ProgressEventType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.utils.progress.ProgressEventType.ABORT:Lorg/apache/cassandra/utils/progress/ProgressEventType;
invokevirtual org.apache.cassandra.utils.progress.ProgressEventType.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.cassandra.utils.progress.ProgressEventType.COMPLETE:Lorg/apache/cassandra/utils/progress/ProgressEventType;
invokevirtual org.apache.cassandra.utils.progress.ProgressEventType.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 org.apache.cassandra.utils.progress.ProgressEventType.ERROR:Lorg/apache/cassandra/utils/progress/ProgressEventType;
invokevirtual org.apache.cassandra.utils.progress.ProgressEventType.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.apache.cassandra.utils.progress.ProgressEventType.NOTIFICATION:Lorg/apache/cassandra/utils/progress/ProgressEventType;
invokevirtual org.apache.cassandra.utils.progress.ProgressEventType.ordinal:()I
bipush 7
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.apache.cassandra.utils.progress.ProgressEventType.PROGRESS:Lorg/apache/cassandra/utils/progress/ProgressEventType;
invokevirtual org.apache.cassandra.utils.progress.ProgressEventType.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.apache.cassandra.utils.progress.ProgressEventType.START:Lorg/apache/cassandra/utils/progress/ProgressEventType;
invokevirtual org.apache.cassandra.utils.progress.ProgressEventType.ordinal:()I
iconst_1
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic org.apache.cassandra.utils.progress.ProgressEventType.SUCCESS:Lorg/apache/cassandra/utils/progress/ProgressEventType;
invokevirtual org.apache.cassandra.utils.progress.ProgressEventType.ordinal:()I
iconst_5
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
dup
putstatic org.apache.cassandra.utils.progress.jmx.LegacyJMXProgressSupport.$SWITCH_TABLE$org$apache$cassandra$utils$progress$ProgressEventType:[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
20 21 22 Class java.lang.NoSuchFieldError
}
SourceFile: "LegacyJMXProgressSupport.java"
InnerClasses:
public final Status = org.apache.cassandra.service.ActiveRepairService$Status of org.apache.cassandra.service.ActiveRepairService