public final class org.apache.cassandra.utils.MBeanWrapper$OnException extends java.lang.Enum<org.apache.cassandra.utils.MBeanWrapper$OnException>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.apache.cassandra.utils.MBeanWrapper$OnException
super_class: java.lang.Enum
{
public static final org.apache.cassandra.utils.MBeanWrapper$OnException THROW;
descriptor: Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.apache.cassandra.utils.MBeanWrapper$OnException LOG;
descriptor: Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.apache.cassandra.utils.MBeanWrapper$OnException IGNORE;
descriptor: Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private java.util.function.Consumer<java.lang.Exception> handler;
descriptor: Ljava/util/function/Consumer;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/function/Consumer<Ljava/lang/Exception;>;
private static final org.apache.cassandra.utils.MBeanWrapper$OnException[] ENUM$VALUES;
descriptor: [Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new org.apache.cassandra.utils.MBeanWrapper$OnException
dup
ldc "THROW"
iconst_0
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/apache/cassandra/utils/MBeanWrapper$OnException.lambda$1(Ljava/lang/Exception;)V (6)
(Ljava/lang/Exception;)V
invokespecial org.apache.cassandra.utils.MBeanWrapper$OnException.<init>:(Ljava/lang/String;ILjava/util/function/Consumer;)V
putstatic org.apache.cassandra.utils.MBeanWrapper$OnException.THROW:Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
1: new org.apache.cassandra.utils.MBeanWrapper$OnException
dup
ldc "LOG"
iconst_1
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/apache/cassandra/utils/MBeanWrapper$OnException.lambda$0(Ljava/lang/Exception;)V (6)
(Ljava/lang/Exception;)V
invokespecial org.apache.cassandra.utils.MBeanWrapper$OnException.<init>:(Ljava/lang/String;ILjava/util/function/Consumer;)V
putstatic org.apache.cassandra.utils.MBeanWrapper$OnException.LOG:Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
2: new org.apache.cassandra.utils.MBeanWrapper$OnException
dup
ldc "IGNORE"
iconst_2
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/apache/cassandra/utils/MBeanWrapper$OnException.lambda$2(Ljava/lang/Exception;)V (6)
(Ljava/lang/Exception;)V
invokespecial org.apache.cassandra.utils.MBeanWrapper$OnException.<init>:(Ljava/lang/String;ILjava/util/function/Consumer;)V
putstatic org.apache.cassandra.utils.MBeanWrapper$OnException.IGNORE:Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
3: iconst_3
anewarray org.apache.cassandra.utils.MBeanWrapper$OnException
dup
iconst_0
getstatic org.apache.cassandra.utils.MBeanWrapper$OnException.THROW:Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
aastore
dup
iconst_1
getstatic org.apache.cassandra.utils.MBeanWrapper$OnException.LOG:Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
aastore
dup
iconst_2
getstatic org.apache.cassandra.utils.MBeanWrapper$OnException.IGNORE:Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
aastore
putstatic org.apache.cassandra.utils.MBeanWrapper$OnException.ENUM$VALUES:[Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.util.function.Consumer<java.lang.Exception>);
descriptor: (Ljava/lang/String;ILjava/util/function/Consumer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
aload 3
putfield org.apache.cassandra.utils.MBeanWrapper$OnException.handler:Ljava/util/function/Consumer;
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
0 3 3 handler Ljava/util/function/Consumer<Ljava/lang/Exception;>;
Signature: (Ljava/util/function/Consumer<Ljava/lang/Exception;>;)V
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
handler
public static org.apache.cassandra.utils.MBeanWrapper$OnException[] values();
descriptor: ()[Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.apache.cassandra.utils.MBeanWrapper$OnException.ENUM$VALUES:[Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.apache.cassandra.utils.MBeanWrapper$OnException
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.utils.MBeanWrapper$OnException valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/apache/cassandra/utils/MBeanWrapper$OnException;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.apache.cassandra.utils.MBeanWrapper$OnException
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
private static void lambda$1(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljava/lang/Exception;
private static void lambda$0(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.utils.MBeanWrapper.logger:Lorg/slf4j/Logger;
ldc "Error in MBean wrapper: "
aload 0
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljava/lang/Exception;
private static void lambda$2(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljava/lang/Exception;
}
Signature: Ljava/lang/Enum<Lorg/apache/cassandra/utils/MBeanWrapper$OnException;>;
SourceFile: "MBeanWrapper.java"
NestHost: org.apache.cassandra.utils.MBeanWrapper
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final OnException = org.apache.cassandra.utils.MBeanWrapper$OnException of org.apache.cassandra.utils.MBeanWrapper