public final class org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions
super_class: java.lang.Object
{
protected static final long DEFAULT_MIN_SSTABLE_SIZE;
descriptor: J
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 52428800
protected static final double DEFAULT_BUCKET_LOW;
descriptor: D
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0.5
protected static final double DEFAULT_BUCKET_HIGH;
descriptor: D
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1.5
protected static final java.lang.String MIN_SSTABLE_SIZE_KEY;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "min_sstable_size"
protected static final java.lang.String BUCKET_LOW_KEY;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "bucket_low"
protected static final java.lang.String BUCKET_HIGH_KEY;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "bucket_high"
protected long minSSTableSize;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected double bucketLow;
descriptor: D
flags: (0x0004) ACC_PROTECTED
protected double bucketHigh;
descriptor: D
flags: (0x0004) ACC_PROTECTED
public void <init>(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "min_sstable_size"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 0
aload 2
ifnonnull 3
ldc 52428800
goto 4
StackMap locals: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions java.util.Map java.lang.String
StackMap stack: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions
3: aload 2
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
StackMap locals: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions java.util.Map java.lang.String
StackMap stack: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions long
4: putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.minSSTableSize:J
5: aload 1
ldc "bucket_low"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
6: aload 0
aload 2
ifnonnull 7
ldc 0.5
goto 8
StackMap locals:
StackMap stack: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions
7: aload 2
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
StackMap locals: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions java.util.Map java.lang.String
StackMap stack: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions double
8: putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.bucketLow:D
9: aload 1
ldc "bucket_high"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
10: aload 0
aload 2
ifnonnull 11
ldc 1.5
goto 12
StackMap locals:
StackMap stack: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions
11: aload 2
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
StackMap locals: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions java.util.Map java.lang.String
StackMap stack: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions double
12: putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.bucketHigh:D
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategyOptions;
0 14 1 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 14 2 optionValue Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
options
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc 52428800
putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.minSSTableSize:J
2: aload 0
ldc 0.5
putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.bucketLow:D
3: aload 0
ldc 1.5
putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.bucketHigh:D
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategyOptions;
private static double parseDouble(java.util.Map<java.lang.String, java.lang.String>, java.lang.String, );
descriptor: (Ljava/util/Map;Ljava/lang/String;D)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 1: aload 4
ifnonnull 2
dload 2
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 4
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
StackMap locals:
StackMap stack: double
3: dreturn
4: StackMap locals:
StackMap stack: java.lang.NumberFormatException
astore 5
start local 5 5: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "%s is not a parsable float for %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 5
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 6 1 key Ljava/lang/String;
0 6 2 defaultValue D
1 6 4 optionValue Ljava/lang/String;
5 6 5 e Ljava/lang/NumberFormatException;
Exception table:
from to target type
1 3 4 Class java.lang.NumberFormatException
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/lang/String;D)D
MethodParameters:
Name Flags
options
key
defaultValue
public static java.util.Map<java.lang.String, java.lang.String> validateOptions(java.util.Map<java.lang.String, java.lang.String>, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=7, args_size=2
start local 0 start local 1 0: aload 0
ldc "min_sstable_size"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
ifnonnull 2
ldc 52428800
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 2
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
StackMap locals:
StackMap stack: long
3: lstore 3
start local 3 4: lload 3
lconst_0
lcmp
ifge 8
5: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "%s must be non negative: %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "min_sstable_size"
aastore
dup
iconst_1
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
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 3 6: StackMap locals:
StackMap stack: java.lang.NumberFormatException
astore 3
start local 3 7: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "%s is not a parsable int (base10) for %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
ldc "min_sstable_size"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 3
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 8: StackMap locals:
StackMap stack:
aload 0
ldc "bucket_low"
ldc 0.5
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.parseDouble:(Ljava/util/Map;Ljava/lang/String;D)D
dstore 3
start local 3 9: aload 0
ldc "bucket_high"
ldc 1.5
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.parseDouble:(Ljava/util/Map;Ljava/lang/String;D)D
dstore 5
start local 5 10: dload 5
dload 3
dcmpg
ifgt 14
11: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "%s value (%s) is less than or equal to the %s value (%s)"
iconst_4
anewarray java.lang.Object
dup
iconst_0
12: ldc "bucket_high"
aastore
dup
iconst_1
dload 5
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_2
ldc "bucket_low"
aastore
dup
iconst_3
dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
13: 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
14: StackMap locals: double double
StackMap stack:
aload 1
ldc "min_sstable_size"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 1
ldc "bucket_low"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 1
ldc "bucket_high"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
17: aload 1
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 18 1 uncheckedOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 18 2 optionValue Ljava/lang/String;
4 6 3 minSSTableSize J
7 8 3 e Ljava/lang/NumberFormatException;
9 18 3 bucketLow D
10 18 5 bucketHigh D
Exception table:
from to target type
1 6 6 Class java.lang.NumberFormatException
Exceptions:
throws org.apache.cassandra.exceptions.ConfigurationException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
options
uncheckedOptions
}
SourceFile: "SizeTieredCompactionStrategyOptions.java"