public final class org.apache.cassandra.schema.CompactionParams
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.schema.CompactionParams
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final int DEFAULT_MIN_THRESHOLD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int DEFAULT_MAX_THRESHOLD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32
public static final boolean DEFAULT_ENABLED;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final org.apache.cassandra.schema.CompactionParams$TombstoneOption DEFAULT_PROVIDE_OVERLAPPING_TOMBSTONES;
descriptor: Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Map<java.lang.String, java.lang.String> DEFAULT_THRESHOLDS;
descriptor: Ljava/util/Map;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public static final org.apache.cassandra.schema.CompactionParams DEFAULT;
descriptor: Lorg/apache/cassandra/schema/CompactionParams;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final java.lang.Class<? extends org.apache.cassandra.db.compaction.AbstractCompactionStrategy> klass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<+Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;>;
private final com.google.common.collect.ImmutableMap<java.lang.String, java.lang.String> options;
descriptor: Lcom/google/common/collect/ImmutableMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableMap<Ljava/lang/String;Ljava/lang/String;>;
private final boolean isEnabled;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.schema.CompactionParams$TombstoneOption tombstoneOption;
descriptor: Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/schema/CompactionParams;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.schema.CompactionParams.logger:Lorg/slf4j/Logger;
1: ldc "default.provide.overlapping.tombstones"
getstatic org.apache.cassandra.schema.CompactionParams$TombstoneOption.NONE:Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
invokevirtual org.apache.cassandra.schema.CompactionParams$TombstoneOption.toString:()Ljava/lang/String;
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokestatic org.apache.cassandra.schema.CompactionParams$TombstoneOption.valueOf:(Ljava/lang/String;)Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
2: putstatic org.apache.cassandra.schema.CompactionParams.DEFAULT_PROVIDE_OVERLAPPING_TOMBSTONES:Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
3: getstatic org.apache.cassandra.schema.CompactionParams$Option.MIN_THRESHOLD:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
iconst_4
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
4: getstatic org.apache.cassandra.schema.CompactionParams$Option.MAX_THRESHOLD:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
bipush 32
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
5: invokestatic com.google.common.collect.ImmutableMap.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap;
6: putstatic org.apache.cassandra.schema.CompactionParams.DEFAULT_THRESHOLDS:Ljava/util/Map;
7: new org.apache.cassandra.schema.CompactionParams
dup
ldc Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
getstatic org.apache.cassandra.schema.CompactionParams.DEFAULT_THRESHOLDS:Ljava/util/Map;
iconst_1
getstatic org.apache.cassandra.schema.CompactionParams.DEFAULT_PROVIDE_OVERLAPPING_TOMBSTONES:Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
invokespecial org.apache.cassandra.schema.CompactionParams.<init>:(Ljava/lang/Class;Ljava/util/Map;ZLorg/apache/cassandra/schema/CompactionParams$TombstoneOption;)V
8: putstatic org.apache.cassandra.schema.CompactionParams.DEFAULT:Lorg/apache/cassandra/schema/CompactionParams;
9: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.Class<? extends org.apache.cassandra.db.compaction.AbstractCompactionStrategy>, java.util.Map<java.lang.String, java.lang.String>, boolean, org.apache.cassandra.schema.CompactionParams$TombstoneOption);
descriptor: (Ljava/lang/Class;Ljava/util/Map;ZLorg/apache/cassandra/schema/CompactionParams$TombstoneOption;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
2: aload 0
aload 2
invokestatic com.google.common.collect.ImmutableMap.copyOf:(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;
putfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
3: aload 0
iload 3
putfield org.apache.cassandra.schema.CompactionParams.isEnabled:Z
4: aload 0
aload 4
putfield org.apache.cassandra.schema.CompactionParams.tombstoneOption:Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/schema/CompactionParams;
0 6 1 klass Ljava/lang/Class<+Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;>;
0 6 2 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 6 3 isEnabled Z
0 6 4 tombstoneOption Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
Signature: (Ljava/lang/Class<+Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;ZLorg/apache/cassandra/schema/CompactionParams$TombstoneOption;)V
MethodParameters:
Name Flags
klass
options
isEnabled
tombstoneOption
public static org.apache.cassandra.schema.CompactionParams create(java.lang.Class<? extends org.apache.cassandra.db.compaction.AbstractCompactionStrategy>, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/Class;Ljava/util/Map;)Lorg/apache/cassandra/schema/CompactionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.apache.cassandra.schema.CompactionParams$Option.ENABLED:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 1
getstatic org.apache.cassandra.schema.CompactionParams$Option.ENABLED:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
goto 3
2: StackMap locals:
StackMap stack:
iconst_1
3: StackMap locals:
StackMap stack: int
istore 2
start local 2 4: aload 1
getstatic org.apache.cassandra.schema.CompactionParams$Option.PROVIDE_OVERLAPPING_TOMBSTONES:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
5: getstatic org.apache.cassandra.schema.CompactionParams.DEFAULT_PROVIDE_OVERLAPPING_TOMBSTONES:Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
invokevirtual org.apache.cassandra.schema.CompactionParams$TombstoneOption.toString:()Ljava/lang/String;
6: invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
7: invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
8: invokestatic org.apache.cassandra.schema.CompactionParams$TombstoneOption.valueOf:(Ljava/lang/String;)Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
astore 3
start local 3 9: new java.util.HashMap
dup
aload 1
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 4
start local 4 10: aload 0
invokestatic org.apache.cassandra.schema.CompactionParams.supportsThresholdParams:(Ljava/lang/Class;)Z
ifeq 13
11: aload 4
getstatic org.apache.cassandra.schema.CompactionParams$Option.MIN_THRESHOLD:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
iconst_4
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 4
getstatic org.apache.cassandra.schema.CompactionParams$Option.MAX_THRESHOLD:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
bipush 32
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: StackMap locals: int org.apache.cassandra.schema.CompactionParams$TombstoneOption java.util.Map
StackMap stack:
new org.apache.cassandra.schema.CompactionParams
dup
aload 0
aload 4
iload 2
aload 3
invokespecial org.apache.cassandra.schema.CompactionParams.<init>:(Ljava/lang/Class;Ljava/util/Map;ZLorg/apache/cassandra/schema/CompactionParams$TombstoneOption;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 klass Ljava/lang/Class<+Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;>;
0 14 1 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 14 2 isEnabled Z
9 14 3 tombstoneOption Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
10 14 4 allOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/lang/Class<+Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lorg/apache/cassandra/schema/CompactionParams;
MethodParameters:
Name Flags
klass
options
public static org.apache.cassandra.schema.CompactionParams scts(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Lorg/apache/cassandra/schema/CompactionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
aload 0
invokestatic org.apache.cassandra.schema.CompactionParams.create:(Ljava/lang/Class;Ljava/util/Map;)Lorg/apache/cassandra/schema/CompactionParams;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lorg/apache/cassandra/schema/CompactionParams;
MethodParameters:
Name Flags
options
public static org.apache.cassandra.schema.CompactionParams lcs(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Lorg/apache/cassandra/schema/CompactionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Lorg/apache/cassandra/db/compaction/LeveledCompactionStrategy;
aload 0
invokestatic org.apache.cassandra.schema.CompactionParams.create:(Ljava/lang/Class;Ljava/util/Map;)Lorg/apache/cassandra/schema/CompactionParams;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lorg/apache/cassandra/schema/CompactionParams;
MethodParameters:
Name Flags
options
public int minCompactionThreshold();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
getstatic org.apache.cassandra.schema.CompactionParams$Option.MIN_THRESHOLD:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_4
goto 4
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
4: StackMap locals:
StackMap stack: int
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/schema/CompactionParams;
1 5 1 threshold Ljava/lang/String;
public int maxCompactionThreshold();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
getstatic org.apache.cassandra.schema.CompactionParams$Option.MAX_THRESHOLD:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ifnonnull 3
2: bipush 32
goto 4
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
4: StackMap locals:
StackMap stack: int
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/schema/CompactionParams;
1 5 1 threshold Ljava/lang/String;
public org.apache.cassandra.schema.CompactionParams$TombstoneOption tombstoneOption();
descriptor: ()Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompactionParams.tombstoneOption:Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompactionParams;
public void validate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
ldc "validateOptions"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/util/Map;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 1
start local 1 1: aload 1
invokeinterface java.util.Map.isEmpty:()Z
ifne 26
2: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Properties specified %s are not understood by %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aastore
dup
iconst_1
4: aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 6: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
7: getstatic org.apache.cassandra.schema.CompactionParams.logger:Lorg/slf4j/Logger;
ldc "Compaction strategy {} does not have a static validateOptions method. Validation ignored"
8: aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
9: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
goto 26
10: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 1
start local 1 11: aload 1
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
instanceof org.apache.cassandra.exceptions.ConfigurationException
ifeq 13
12: aload 1
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
checkcast org.apache.cassandra.exceptions.ConfigurationException
athrow
13: StackMap locals: java.lang.reflect.InvocationTargetException
StackMap stack:
aload 1
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
ifnonnull 15
14: aload 1
goto 16
15: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
16: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 17: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "%s.validateOptions() threw an error: %s %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
18: aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
19: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
20: aload 2
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
aastore
21: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
22: aload 1
23: invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 24: StackMap locals: org.apache.cassandra.schema.CompactionParams
StackMap stack: java.lang.IllegalAccessException
astore 1
start local 1 25: new org.apache.cassandra.exceptions.ConfigurationException
dup
new java.lang.StringBuilder
dup
ldc "Cannot access method validateOptions in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 26: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
getstatic org.apache.cassandra.schema.CompactionParams$Option.MIN_THRESHOLD:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 27: aload 1
ifnull 32
aload 1
invokestatic org.apache.commons.lang3.StringUtils.isNumeric:(Ljava/lang/CharSequence;)Z
ifne 32
28: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Invalid value %s for '%s' compaction sub-option - must be an integer"
iconst_2
anewarray java.lang.Object
dup
iconst_0
29: aload 1
aastore
dup
iconst_1
30: getstatic org.apache.cassandra.schema.CompactionParams$Option.MIN_THRESHOLD:Lorg/apache/cassandra/schema/CompactionParams$Option;
aastore
31: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
getstatic org.apache.cassandra.schema.CompactionParams$Option.MAX_THRESHOLD:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 33: aload 2
ifnull 38
aload 2
invokestatic org.apache.commons.lang3.StringUtils.isNumeric:(Ljava/lang/CharSequence;)Z
ifne 38
34: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Invalid value %s for '%s' compaction sub-option - must be an integer"
iconst_2
anewarray java.lang.Object
dup
iconst_0
35: aload 2
aastore
dup
iconst_1
36: getstatic org.apache.cassandra.schema.CompactionParams$Option.MAX_THRESHOLD:Lorg/apache/cassandra/schema/CompactionParams$Option;
aastore
37: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
38: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.schema.CompactionParams.minCompactionThreshold:()I
ifle 39
aload 0
invokevirtual org.apache.cassandra.schema.CompactionParams.maxCompactionThreshold:()I
ifgt 40
39: StackMap locals:
StackMap stack:
new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Disabling compaction by setting compaction thresholds to 0 has been removed, set the compaction option 'enabled' to false instead."
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
40: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.schema.CompactionParams.minCompactionThreshold:()I
iconst_1
if_icmpgt 44
41: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Min compaction threshold cannot be less than 2 (got %d)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
42: aload 0
invokevirtual org.apache.cassandra.schema.CompactionParams.minCompactionThreshold:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
43: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
44: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.schema.CompactionParams.minCompactionThreshold:()I
aload 0
invokevirtual org.apache.cassandra.schema.CompactionParams.maxCompactionThreshold:()I
if_icmple 49
45: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Min compaction threshold (got %d) cannot be greater than max compaction threshold (got %d)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
46: aload 0
invokevirtual org.apache.cassandra.schema.CompactionParams.minCompactionThreshold:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
47: aload 0
invokevirtual org.apache.cassandra.schema.CompactionParams.maxCompactionThreshold:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
48: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
49: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lorg/apache/cassandra/schema/CompactionParams;
1 6 1 unknownOptions Ljava/util/Map<**>;
11 24 1 e Ljava/lang/reflect/InvocationTargetException;
17 24 2 cause Ljava/lang/Throwable;
25 26 1 e Ljava/lang/IllegalAccessException;
27 50 1 minThreshold Ljava/lang/String;
33 50 2 maxThreshold Ljava/lang/String;
Exception table:
from to target type
0 6 6 Class java.lang.NoSuchMethodException
0 6 10 Class java.lang.reflect.InvocationTargetException
0 6 24 Class java.lang.IllegalAccessException
double defaultBloomFilterFbChance();
descriptor: ()D
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
ldc Lorg/apache/cassandra/db/compaction/LeveledCompactionStrategy;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 1
ldc 0.1
goto 2
StackMap locals:
StackMap stack:
1: ldc 0.01
StackMap locals:
StackMap stack: double
2: dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/CompactionParams;
public java.lang.Class<? extends org.apache.cassandra.db.compaction.AbstractCompactionStrategy> klass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompactionParams;
Signature: ()Ljava/lang/Class<+Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;>;
public java.util.Map<java.lang.String, java.lang.String> options();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompactionParams;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public boolean isEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.schema.CompactionParams.isEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompactionParams;
public static org.apache.cassandra.schema.CompactionParams fromMap(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Lorg/apache/cassandra/schema/CompactionParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: new java.util.HashMap
dup
aload 0
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 1
start local 1 1: aload 1
getstatic org.apache.cassandra.schema.CompactionParams$Option.CLASS:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 2
ifnonnull 7
3: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Missing sub-option '%s' for the '%s' option"
iconst_2
anewarray java.lang.Object
dup
iconst_0
4: getstatic org.apache.cassandra.schema.CompactionParams$Option.CLASS:Lorg/apache/cassandra/schema/CompactionParams$Option;
aastore
dup
iconst_1
5: getstatic org.apache.cassandra.schema.TableParams$Option.COMPACTION:Lorg/apache/cassandra/schema/TableParams$Option;
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.util.Map java.lang.String
StackMap stack:
aload 2
invokestatic org.apache.cassandra.schema.CompactionParams.classFromName:(Ljava/lang/String;)Ljava/lang/Class;
aload 1
invokestatic org.apache.cassandra.schema.CompactionParams.create:(Ljava/lang/Class;Ljava/util/Map;)Lorg/apache/cassandra/schema/CompactionParams;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 8 1 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 8 2 className Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lorg/apache/cassandra/schema/CompactionParams;
MethodParameters:
Name Flags
map
private static java.lang.Class<? extends org.apache.cassandra.db.compaction.AbstractCompactionStrategy> classFromName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
ldc "."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 2
1: aload 0
goto 3
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "org.apache.cassandra.db.compaction."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: StackMap locals:
StackMap stack: java.lang.String
astore 1
start local 1 4: aload 1
ldc "compaction strategy"
invokestatic org.apache.cassandra.utils.FBUtilities.classForName:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 5: ldc Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
aload 2
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
6: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "Compaction strategy class %s is not derived from AbstractReplicationStrategy"
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: aload 1
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.lang.String java.lang.Class
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 name Ljava/lang/String;
4 10 1 className Ljava/lang/String;
5 10 2 strategyClass Ljava/lang/Class<Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;>;
Signature: (Ljava/lang/String;)Ljava/lang/Class<+Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;>;
MethodParameters:
Name Flags
name
public static boolean supportsThresholdParams(java.lang.Class<? extends org.apache.cassandra.db.compaction.AbstractCompactionStrategy>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ldc "validateOptions"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/util/Map;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
1: aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic org.apache.cassandra.schema.CompactionParams.DEFAULT_THRESHOLDS:Ljava/util/Map;
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
2: checkcast java.util.Map
3: astore 1
start local 1 4: aload 1
invokeinterface java.util.Map.isEmpty:()Z
5: ireturn
end local 1 6: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 7: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 klass Ljava/lang/Class<+Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;>;
4 6 1 unrecognizedOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
7 8 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 5 6 Class java.lang.Exception
Signature: (Ljava/lang/Class<+Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;>;)Z
MethodParameters:
Name Flags
klass
public java.util.Map<java.lang.String, java.lang.String> asMap();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.HashMap
dup
aload 0
invokevirtual org.apache.cassandra.schema.CompactionParams.options:()Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 1
start local 1 1: aload 1
getstatic org.apache.cassandra.schema.CompactionParams$Option.CLASS:Lorg/apache/cassandra/schema/CompactionParams$Option;
invokevirtual org.apache.cassandra.schema.CompactionParams$Option.toString:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/schema/CompactionParams;
1 3 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
1: ldc "class"
aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
2: ldc "options"
aload 0
getfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
3: invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
4: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/schema/CompactionParams;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.schema.CompactionParams
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.schema.CompactionParams
astore 2
start local 2 5: aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
aload 2
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
aload 0
getfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
aload 2
getfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.equals:(Ljava/lang/Object;)Z
ifeq 6
iconst_1
ireturn
StackMap locals: org.apache.cassandra.schema.CompactionParams
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/schema/CompactionParams;
0 7 1 o Ljava/lang/Object;
5 7 2 cp Lorg/apache/cassandra/schema/CompactionParams;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.schema.CompactionParams.klass:Ljava/lang/Class;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.schema.CompactionParams.options:Lcom/google/common/collect/ImmutableMap;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/schema/CompactionParams;
}
SourceFile: "CompactionParams.java"
NestMembers:
org.apache.cassandra.schema.CompactionParams$Option org.apache.cassandra.schema.CompactionParams$TombstoneOption
InnerClasses:
public final ToStringHelper = com.google.common.base.MoreObjects$ToStringHelper of com.google.common.base.MoreObjects
public final Option = org.apache.cassandra.schema.CompactionParams$Option of org.apache.cassandra.schema.CompactionParams
public final TombstoneOption = org.apache.cassandra.schema.CompactionParams$TombstoneOption of org.apache.cassandra.schema.CompactionParams
public final Option = org.apache.cassandra.schema.TableParams$Option of org.apache.cassandra.schema.TableParams