public class org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy extends org.apache.cassandra.db.compaction.AbstractCompactionStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy
super_class: org.apache.cassandra.db.compaction.AbstractCompactionStrategy
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Comparator<org.apache.cassandra.utils.Pair<java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader>, java.lang.Double>> bucketsByHotnessComparator;
descriptor: Ljava/util/Comparator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Comparator<Lorg/apache/cassandra/utils/Pair<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Double;>;>;
protected org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions sizeTieredOptions;
descriptor: Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategyOptions;
flags: (0x0004) ACC_PROTECTED
protected volatile int estimatedRemainingTasks;
descriptor: I
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
protected final java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> sstables;
descriptor: Ljava/util/Set;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.$assertionsDisabled:Z
3: ldc Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.logger:Lorg/slf4j/Logger;
4: new org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1
dup
invokespecial org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1.<init>:()V
putstatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.bucketsByHotnessComparator:Ljava/util/Comparator;
5: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.db.ColumnFamilyStore, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.apache.cassandra.db.compaction.AbstractCompactionStrategy.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/Map;)V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.sstables:Ljava/util/Set;
2: aload 0
iconst_0
putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.estimatedRemainingTasks:I
3: aload 0
new org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions
dup
aload 2
invokespecial org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.<init>:(Ljava/util/Map;)V
putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.sizeTieredOptions:Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategyOptions;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
0 5 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
0 5 2 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
cfs
options
private synchronized java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader> getNextBackgroundSSTables(int);
descriptor: (I)Ljava/util/List;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=7, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getMinimumCompactionThreshold:()I
istore 2
start local 2 1: aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getMaximumCompactionThreshold:()I
istore 3
start local 3 2: aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getUncompactingSSTables:()Ljava/lang/Iterable;
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.sstables:Ljava/util/Set;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Ljava/util/Set;)Lcom/google/common/base/Predicate;
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;)Z
java/util/Set.contains(Ljava/lang/Object;)Z (9 itf)
(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Z
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.filterSuspectSSTables:(Ljava/lang/Iterable;)Ljava/util/List;
astore 4
start local 4 3: aload 4
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.createSSTableAndLengthPairs:(Ljava/lang/Iterable;)Ljava/util/List;
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.sizeTieredOptions:Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategyOptions;
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.bucketHigh:D
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.sizeTieredOptions:Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategyOptions;
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.bucketLow:D
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.sizeTieredOptions:Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategyOptions;
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.minSSTableSize:J
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.getBuckets:(Ljava/util/Collection;DDJ)Ljava/util/List;
astore 6
start local 6 4: getstatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.logger:Lorg/slf4j/Logger;
ldc "Compaction buckets are {}"
aload 6
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
5: aload 0
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 6
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.getEstimatedCompactionsByTasks:(Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/List;)I
putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.estimatedRemainingTasks:I
6: aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCompactionStrategyManager:()Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
getfield org.apache.cassandra.db.compaction.CompactionStrategyManager.compactionLogger:Lorg/apache/cassandra/db/compaction/CompactionLogger;
aload 0
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.estimatedRemainingTasks:I
invokevirtual org.apache.cassandra.db.compaction.CompactionLogger.pending:(Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;I)V
7: aload 6
iload 2
iload 3
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.mostInterestingBucket:(Ljava/util/List;II)Ljava/util/List;
astore 7
start local 7 8: aload 7
invokeinterface java.util.List.isEmpty:()Z
ifne 10
9: aload 7
areturn
10: StackMap locals: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy int int int java.lang.Iterable top java.util.List java.util.List
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 11: aload 4
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 10
goto 15
StackMap locals: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy int int int java.lang.Iterable top java.util.List java.util.List java.util.List top java.util.Iterator
StackMap stack:
12: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 9
start local 9 13: aload 0
aload 9
iload 1
invokevirtual org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.worthDroppingTombstones:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;I)Z
ifeq 15
14: aload 8
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 15: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
16: aload 8
invokeinterface java.util.List.isEmpty:()Z
ifeq 18
17: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
18: StackMap locals: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy int int int java.lang.Iterable top java.util.List java.util.List java.util.List
StackMap stack:
aload 8
getstatic org.apache.cassandra.io.sstable.format.SSTableReader.sizeComparator:Ljava/util/Comparator;
invokestatic java.util.Collections.max:(Ljava/util/Collection;Ljava/util/Comparator;)Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
0 19 1 gcBefore I
1 19 2 minThreshold I
2 19 3 maxThreshold I
3 19 4 candidates Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
4 19 6 buckets Ljava/util/List<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;
8 19 7 mostInteresting Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
11 19 8 sstablesWithTombstones Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
13 15 9 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (I)Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
gcBefore final
public static java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader> mostInterestingBucket(java.util.List<java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader>>, int, int);
descriptor: (Ljava/util/List;II)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
aload 0
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: java.util.List int int java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 3: aload 4
iload 2
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.trimToThresholdWithHotness:(Ljava/util/List;I)Lorg/apache/cassandra/utils/Pair;
astore 6
start local 6 4: aload 6
ifnull 6
aload 6
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.size:()I
iload 1
if_icmplt 6
5: aload 3
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 9
8: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
9: StackMap locals: java.util.List int int java.util.List
StackMap stack:
aload 3
getstatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.bucketsByHotnessComparator:Ljava/util/Comparator;
invokestatic java.util.Collections.max:(Ljava/util/Collection;Ljava/util/Comparator;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.Pair
astore 4
start local 4 10: aload 4
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.util.List
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 buckets Ljava/util/List<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;
0 11 1 minThreshold I
0 11 2 maxThreshold I
1 11 3 prunedBucketsAndHotness Ljava/util/List<Lorg/apache/cassandra/utils/Pair<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Double;>;>;
3 6 4 bucket Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
4 6 6 bucketAndHotness Lorg/apache/cassandra/utils/Pair<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Double;>;
10 11 4 hottest Lorg/apache/cassandra/utils/Pair<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Double;>;
Signature: (Ljava/util/List<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;II)Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
buckets
minThreshold
maxThreshold
static org.apache.cassandra.utils.Pair<java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader>, java.lang.Double> trimToThresholdWithHotness(java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader>, int);
descriptor: (Ljava/util/List;I)Lorg/apache/cassandra/utils/Pair;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.getHotnessMap:(Ljava/util/Collection;)Ljava/util/Map;
astore 2
start local 2 1: aload 0
new org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2
dup
aload 2
invokespecial org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2.<init>:(Ljava/util/Map;)V
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
2: aload 0
iconst_0
aload 0
invokeinterface java.util.List.size:()I
iload 1
invokestatic java.lang.Math.min:(II)I
invokeinterface java.util.List.subList:(II)Ljava/util/List;
astore 3
start local 3 3: dconst_0
dstore 4
start local 4 4: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 7
StackMap locals: java.util.List int java.util.Map java.util.List double top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 6
start local 6 6: dload 4
aload 6
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.hotness:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)D
dadd
dstore 4
end local 6 7: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 3
dload 4
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokestatic org.apache.cassandra.utils.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 bucket Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 9 1 maxThreshold I
1 9 2 hotnessSnapshot Ljava/util/Map<Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/lang/Double;>;
3 9 3 prunedBucket Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
4 9 4 bucketHotness D
6 7 6 sstr Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;I)Lorg/apache/cassandra/utils/Pair<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Double;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
bucket
maxThreshold
private static java.util.Map<org.apache.cassandra.io.sstable.format.SSTableReader, java.lang.Double> getHotnessMap(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/util/Collection;)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.HashMap
dup
aload 0
invokeinterface java.util.Collection.size:()I
invokespecial java.util.HashMap.<init>:(I)V
astore 1
start local 1 1: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.Collection java.util.Map top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 2
start local 2 3: aload 1
aload 2
aload 2
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.hotness:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sstables Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
1 6 1 hotness Ljava/util/Map<Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/lang/Double;>;
3 4 2 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Ljava/util/Map<Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/lang/Double;>;
MethodParameters:
Name Flags
sstables
private static double hotness(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getReadMeter:()Lorg/apache/cassandra/metrics/RestorableMeter;
ifnonnull 1
dconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getReadMeter:()Lorg/apache/cassandra/metrics/RestorableMeter;
invokevirtual org.apache.cassandra.metrics.RestorableMeter.twoHourRate:()D
aload 0
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.estimatedKeys:()J
l2d
ddiv
StackMap locals:
StackMap stack: double
2: dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 sstr Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
sstr
public org.apache.cassandra.db.compaction.AbstractCompactionTask getNextBackgroundTask(int);
descriptor: (I)Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: StackMap locals: java.util.List
StackMap stack:
aload 0
iload 1
invokevirtual org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.getNextBackgroundSSTables:(I)Ljava/util/List;
astore 3
start local 3 2: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
3: aconst_null
areturn
4: StackMap locals: java.util.List
StackMap stack:
aload 3
aload 2
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifeq 9
5: getstatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.logger:Lorg/slf4j/Logger;
ldc "Could not acquire references for compacting SSTables {} which is not a problem per se,unless it happens frequently, in which case it must be reported. Will retry later."
6: aload 3
7: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTracker:()Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 3
getstatic org.apache.cassandra.db.compaction.OperationType.COMPACTION:Lorg/apache/cassandra/db/compaction/OperationType;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.tryModify:(Ljava/lang/Iterable;Lorg/apache/cassandra/db/compaction/OperationType;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
astore 4
start local 4 10: aload 4
ifnull 12
11: new org.apache.cassandra.db.compaction.CompactionTask
dup
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 4
iload 1
invokespecial org.apache.cassandra.db.compaction.CompactionTask.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;I)V
areturn
12: StackMap locals: org.apache.cassandra.db.lifecycle.LifecycleTransaction
StackMap stack:
aload 3
astore 2
end local 4 end local 3 13: goto 1
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
0 14 1 gcBefore I
1 14 2 previousCandidate Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
2 13 3 hottestBucket Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
10 13 4 transaction Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
MethodParameters:
Name Flags
gcBefore
public synchronized java.util.Collection<org.apache.cassandra.db.compaction.AbstractCompactionTask> getMaximalTask(int, boolean);
descriptor: (IZ)Ljava/util/Collection;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.sstables:Ljava/util/Set;
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.filterSuspectSSTables:(Ljava/lang/Iterable;)Ljava/util/List;
astore 3
start local 3 1: aload 3
invokestatic com.google.common.collect.Iterables.isEmpty:(Ljava/lang/Iterable;)Z
ifeq 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Iterable
StackMap stack:
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTracker:()Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 3
getstatic org.apache.cassandra.db.compaction.OperationType.COMPACTION:Lorg/apache/cassandra/db/compaction/OperationType;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.tryModify:(Ljava/lang/Iterable;Lorg/apache/cassandra/db/compaction/OperationType;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
astore 4
start local 4 4: aload 4
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals: org.apache.cassandra.db.lifecycle.LifecycleTransaction
StackMap stack:
iload 2
ifeq 8
7: iconst_1
anewarray org.apache.cassandra.db.compaction.AbstractCompactionTask
dup
iconst_0
new org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$SplittingCompactionTask
dup
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 4
iload 1
invokespecial org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$SplittingCompactionTask.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;I)V
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
8: StackMap locals:
StackMap stack:
iconst_1
anewarray org.apache.cassandra.db.compaction.AbstractCompactionTask
dup
iconst_0
new org.apache.cassandra.db.compaction.CompactionTask
dup
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 4
iload 1
invokespecial org.apache.cassandra.db.compaction.CompactionTask.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;I)V
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
0 9 1 gcBefore I
0 9 2 splitOutput Z
1 9 3 filteredSSTables Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
4 9 4 txn Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
Signature: (IZ)Ljava/util/Collection<Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;>;
MethodParameters:
Name Flags
gcBefore final
splitOutput
public org.apache.cassandra.db.compaction.AbstractCompactionTask getUserDefinedTask(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>, int);
descriptor: (Ljava/util/Collection;I)Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.$assertionsDisabled:Z
ifne 1
aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTracker:()Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 1
getstatic org.apache.cassandra.db.compaction.OperationType.COMPACTION:Lorg/apache/cassandra/db/compaction/OperationType;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.tryModify:(Ljava/lang/Iterable;Lorg/apache/cassandra/db/compaction/OperationType;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
astore 3
start local 3 2: aload 3
ifnonnull 5
3: getstatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.logger:Lorg/slf4j/Logger;
ldc "Unable to mark {} for compaction; probably a background compaction got to it first. You can disable background compactions temporarily if this is a problem"
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
4: aconst_null
areturn
5: StackMap locals: org.apache.cassandra.db.lifecycle.LifecycleTransaction
StackMap stack:
new org.apache.cassandra.db.compaction.CompactionTask
dup
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 3
iload 2
invokespecial org.apache.cassandra.db.compaction.CompactionTask.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;I)V
iconst_1
invokevirtual org.apache.cassandra.db.compaction.CompactionTask.setUserDefined:(Z)Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
areturn
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/db/compaction/SizeTieredCompactionStrategy;
0 6 1 sstables Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 6 2 gcBefore I
2 6 3 transaction Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;I)Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
MethodParameters:
Name Flags
sstables
gcBefore final
public int getEstimatedRemainingTasks();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.estimatedRemainingTasks:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
public static java.util.List<org.apache.cassandra.utils.Pair<org.apache.cassandra.io.sstable.format.SSTableReader, java.lang.Long>> createSSTableAndLengthPairs(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
invokestatic com.google.common.collect.Iterables.size:(Ljava/lang/Iterable;)I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.lang.Iterable java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 2
start local 2 3: aload 1
aload 2
aload 2
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.onDiskLength:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokestatic org.apache.cassandra.utils.Pair.create:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sstables Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
1 6 1 sstableLengthPairs Ljava/util/List<Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/lang/Long;>;>;
3 4 2 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Ljava/util/List<Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/lang/Long;>;>;
MethodParameters:
Name Flags
sstables
public static <T> java.util.List<java.util.List<T>> getBuckets(java.util.Collection<org.apache.cassandra.utils.Pair<T, java.lang.Long>>, double, double, long);
descriptor: (Ljava/util/Collection;DDJ)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=22, args_size=4
start local 0 start local 1 start local 3 start local 5 0: new java.util.ArrayList
dup
aload 0
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 7
start local 7 1: aload 7
new org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$3
dup
invokespecial org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$3.<init>:()V
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 8
start local 8 3: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 22
StackMap locals: java.util.Collection double double long java.util.List java.util.Map top java.util.Iterator
StackMap stack:
4: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.Pair
astore 9
start local 9 5: aload 9
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 11
start local 11 6: aload 8
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 14
goto 18
StackMap locals: java.util.Collection double double long java.util.List java.util.Map org.apache.cassandra.utils.Pair java.util.Iterator long top java.util.Iterator
StackMap stack:
7: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 13
start local 13 8: aload 13
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 15
start local 15 9: aload 13
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 16
start local 16 10: lload 11
l2d
lload 16
l2d
dload 3
dmul
dcmpl
ifle 11
lload 11
l2d
lload 16
l2d
dload 1
dmul
dcmpg
iflt 12
11: StackMap locals: java.util.Collection double double long java.util.List java.util.Map org.apache.cassandra.utils.Pair java.util.Iterator long java.util.Map$Entry java.util.Iterator java.util.List long
StackMap stack:
lload 11
lload 5
lcmp
ifge 18
lload 16
lload 5
lcmp
ifge 18
12: StackMap locals:
StackMap stack:
aload 8
lload 16
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 15
invokeinterface java.util.List.size:()I
i2l
lload 16
lmul
lstore 18
start local 18 14: lload 18
lload 11
ladd
aload 15
invokeinterface java.util.List.size:()I
iconst_1
iadd
i2l
ldiv
lstore 20
start local 20 15: aload 15
aload 9
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: aload 8
lload 20
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 15
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: goto 22
end local 20 end local 18 end local 16 end local 15 end local 13 18: StackMap locals: java.util.Collection double double long java.util.List java.util.Map org.apache.cassandra.utils.Pair java.util.Iterator long top java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
19: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 13
start local 13 20: aload 13
aload 9
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
21: aload 8
lload 11
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 13
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 end local 11 end local 9 22: StackMap locals: java.util.Collection double double long java.util.List java.util.Map top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
23: new java.util.ArrayList
dup
aload 8
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
end local 8 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 files Ljava/util/Collection<Lorg/apache/cassandra/utils/Pair<TT;Ljava/lang/Long;>;>;
0 24 1 bucketHigh D
0 24 3 bucketLow D
0 24 5 minSSTableSize J
1 24 7 sortedFiles Ljava/util/List<Lorg/apache/cassandra/utils/Pair<TT;Ljava/lang/Long;>;>;
3 24 8 buckets Ljava/util/Map<Ljava/lang/Long;Ljava/util/List<TT;>;>;
5 22 9 pair Lorg/apache/cassandra/utils/Pair<TT;Ljava/lang/Long;>;
6 22 11 size J
8 18 13 entry Ljava/util/Map$Entry<Ljava/lang/Long;Ljava/util/List<TT;>;>;
9 18 15 bucket Ljava/util/List<TT;>;
10 18 16 oldAverageSize J
14 18 18 totalSize J
15 18 20 newAverageSize J
20 22 13 bucket Ljava/util/ArrayList<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<Lorg/apache/cassandra/utils/Pair<TT;Ljava/lang/Long;>;>;DDJ)Ljava/util/List<Ljava/util/List<TT;>;>;
MethodParameters:
Name Flags
files
bucketHigh
bucketLow
minSSTableSize
public static int getEstimatedCompactionsByTasks(org.apache.cassandra.db.ColumnFamilyStore, java.util.List<java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader>>);
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/List;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.List int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 3: aload 3
invokeinterface java.util.List.size:()I
aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getMinimumCompactionThreshold:()I
if_icmplt 5
4: iload 2
i2d
aload 3
invokeinterface java.util.List.size:()I
i2d
aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getMaximumCompactionThreshold:()I
i2d
ddiv
invokestatic java.lang.Math.ceil:(D)D
dadd
d2i
istore 2
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
0 7 1 tasks Ljava/util/List<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;
1 7 2 n I
3 5 3 bucket Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
Signature: (Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/List<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;)I
MethodParameters:
Name Flags
cfs
tasks
public long getMaxSSTableBytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc 9223372036854775807
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
public static java.util.Map<java.lang.String, java.lang.String> validateOptions(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.db.compaction.AbstractCompactionStrategy.validateOptions:(Ljava/util/Map;)Ljava/util/Map;
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.apache.cassandra.db.compaction.SizeTieredCompactionStrategyOptions.validateOptions:(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
astore 1
2: aload 1
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;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
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;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 5 1 uncheckedOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
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;>;
MethodParameters:
Name Flags
options
public boolean shouldDefragment();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
public synchronized void addSSTable(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.sstables:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
0 2 1 added Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
added
public synchronized void removeSSTable(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.sstables:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
0 2 1 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
sstable
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "SizeTieredCompactionStrategy[%s/%s]"
iconst_2
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getMinimumCompactionThreshold:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
2: aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getMaximumCompactionThreshold:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy;
}
SourceFile: "SizeTieredCompactionStrategy.java"
NestMembers:
org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1 org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2 org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$3 org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$SplittingCompactionTask
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1
org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2
org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$3
private SplittingCompactionTask = org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$SplittingCompactionTask of org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy
public final Option = org.apache.cassandra.schema.CompactionParams$Option of org.apache.cassandra.schema.CompactionParams