public abstract class org.apache.cassandra.db.compaction.AbstractCompactionStrategy
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.db.compaction.AbstractCompactionStrategy
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected static final float DEFAULT_TOMBSTONE_THRESHOLD;
descriptor: F
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0.2
protected static final long DEFAULT_TOMBSTONE_COMPACTION_INTERVAL;
descriptor: J
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 86400
protected static final boolean DEFAULT_UNCHECKED_TOMBSTONE_COMPACTION_OPTION;
descriptor: Z
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0
protected static final boolean DEFAULT_LOG_ALL_OPTION;
descriptor: Z
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0
protected static final java.lang.String TOMBSTONE_THRESHOLD_OPTION;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "tombstone_threshold"
protected static final java.lang.String TOMBSTONE_COMPACTION_INTERVAL_OPTION;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "tombstone_compaction_interval"
protected static final java.lang.String UNCHECKED_TOMBSTONE_COMPACTION_OPTION;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "unchecked_tombstone_compaction"
protected static final java.lang.String LOG_ALL_OPTION;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "log_all"
protected static final java.lang.String COMPACTION_ENABLED;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "enabled"
public static final java.lang.String ONLY_PURGE_REPAIRED_TOMBSTONES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "only_purge_repaired_tombstones"
protected java.util.Map<java.lang.String, java.lang.String> options;
descriptor: Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
protected final org.apache.cassandra.db.ColumnFamilyStore cfs;
descriptor: Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected float tombstoneThreshold;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected long tombstoneCompactionInterval;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected boolean uncheckedTombstoneCompaction;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean disableTombstoneCompactions;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean logAll;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private final org.apache.cassandra.db.Directories directories;
descriptor: Lorg/apache/cassandra/db/Directories;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected boolean isActive;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
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=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
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.AbstractCompactionStrategy.$assertionsDisabled:Z
3: ldc Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.db.compaction.AbstractCompactionStrategy.logger:Lorg/slf4j/Logger;
4: return
LocalVariableTable:
Start End Slot Name Signature
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.disableTombstoneCompactions:Z
2: aload 0
iconst_1
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.logAll:Z
3: aload 0
iconst_0
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.isActive:Z
4: getstatic org.apache.cassandra.db.compaction.AbstractCompactionStrategy.$assertionsDisabled:Z
ifne 5
aload 1
ifnonnull 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy org.apache.cassandra.db.ColumnFamilyStore java.util.Map
StackMap stack:
aload 0
aload 1
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
6: aload 0
aload 2
invokestatic com.google.common.collect.ImmutableMap.copyOf:(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.options:Ljava/util/Map;
7: aload 2
invokestatic org.apache.cassandra.db.compaction.AbstractCompactionStrategy.validateOptions:(Ljava/util/Map;)Ljava/util/Map;
pop
8: aload 2
ldc "tombstone_threshold"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 9: aload 0
aload 3
ifnonnull 10
ldc 0.2
goto 11
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy org.apache.cassandra.db.ColumnFamilyStore java.util.Map java.lang.String
StackMap stack: org.apache.cassandra.db.compaction.AbstractCompactionStrategy
10: aload 3
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy org.apache.cassandra.db.ColumnFamilyStore java.util.Map java.lang.String
StackMap stack: org.apache.cassandra.db.compaction.AbstractCompactionStrategy float
11: putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.tombstoneThreshold:F
12: aload 2
ldc "tombstone_compaction_interval"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
13: aload 0
aload 3
ifnonnull 14
ldc 86400
goto 15
StackMap locals:
StackMap stack: org.apache.cassandra.db.compaction.AbstractCompactionStrategy
14: aload 3
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy org.apache.cassandra.db.ColumnFamilyStore java.util.Map java.lang.String
StackMap stack: org.apache.cassandra.db.compaction.AbstractCompactionStrategy long
15: putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.tombstoneCompactionInterval:J
16: aload 2
ldc "unchecked_tombstone_compaction"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
17: aload 0
aload 3
ifnonnull 18
iconst_0
goto 19
StackMap locals:
StackMap stack: org.apache.cassandra.db.compaction.AbstractCompactionStrategy
18: aload 3
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy org.apache.cassandra.db.ColumnFamilyStore java.util.Map java.lang.String
StackMap stack: org.apache.cassandra.db.compaction.AbstractCompactionStrategy int
19: putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.uncheckedTombstoneCompaction:Z
20: aload 2
ldc "log_all"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
21: aload 0
aload 3
ifnonnull 22
iconst_0
goto 23
StackMap locals:
StackMap stack: org.apache.cassandra.db.compaction.AbstractCompactionStrategy
22: aload 3
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy org.apache.cassandra.db.ColumnFamilyStore java.util.Map java.lang.String
StackMap stack: org.apache.cassandra.db.compaction.AbstractCompactionStrategy int
23: putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.logAll:Z
24: aload 0
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionStrategy.shouldBeEnabled:()Z
ifne 32
25: aload 0
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionStrategy.disable:()V
end local 3 26: goto 32
27: StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy org.apache.cassandra.db.ColumnFamilyStore java.util.Map
StackMap stack: org.apache.cassandra.exceptions.ConfigurationException
astore 3
start local 3 28: getstatic org.apache.cassandra.db.compaction.AbstractCompactionStrategy.logger:Lorg/slf4j/Logger;
ldc "Error setting compaction strategy options ({}), defaults will be used"
aload 3
invokevirtual org.apache.cassandra.exceptions.ConfigurationException.getMessage:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
29: aload 0
ldc 0.2
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.tombstoneThreshold:F
30: aload 0
ldc 86400
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.tombstoneCompactionInterval:J
31: aload 0
iconst_0
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.uncheckedTombstoneCompaction:Z
end local 3 32: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.directories:Lorg/apache/cassandra/db/Directories;
33: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 34 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
0 34 2 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
9 26 3 optionValue Ljava/lang/String;
28 32 3 e Lorg/apache/cassandra/exceptions/ConfigurationException;
Exception table:
from to target type
7 26 27 Class org.apache.cassandra.exceptions.ConfigurationException
Signature: (Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
cfs
options
public org.apache.cassandra.db.Directories getDirectories();
descriptor: ()Lorg/apache/cassandra/db/Directories;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.directories:Lorg/apache/cassandra/db/Directories;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public synchronized void pause();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.isActive:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public synchronized void resume();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.isActive:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public void startup();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.isActive:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.isActive:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public abstract org.apache.cassandra.db.compaction.AbstractCompactionTask getNextBackgroundTask(int);
descriptor: (I)Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
gcBefore final
public abstract java.util.Collection<org.apache.cassandra.db.compaction.AbstractCompactionTask> getMaximalTask(int, boolean);
descriptor: (IZ)Ljava/util/Collection;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (IZ)Ljava/util/Collection<Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;>;
MethodParameters:
Name Flags
gcBefore final
splitOutput
public abstract 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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
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 org.apache.cassandra.db.compaction.AbstractCompactionTask getCompactionTask(org.apache.cassandra.db.lifecycle.LifecycleTransaction, int, long);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;IJ)Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.cassandra.db.compaction.CompactionTask
dup
aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 1
iload 2
invokespecial org.apache.cassandra.db.compaction.CompactionTask.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;I)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 1 1 txn Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 1 2 gcBefore I
0 1 3 maxSSTableBytes J
MethodParameters:
Name Flags
txn
gcBefore final
maxSSTableBytes
public abstract int getEstimatedRemainingTasks();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract long getMaxSSTableBytes();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public void enable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public void disable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public boolean isAffectedByMeteredFlusher();
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/AbstractCompactionStrategy;
public long getMemtableReservedSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public void replaceFlushed(org.apache.cassandra.db.Memtable, java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Lorg/apache/cassandra/db/Memtable;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTracker:()Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 1
aload 2
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.replaceFlushed:(Lorg/apache/cassandra/db/Memtable;Ljava/lang/Iterable;)V
1: aload 2
ifnull 3
aload 2
invokeinterface java.util.Collection.isEmpty:()Z
ifne 3
2: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.submitBackground:(Lorg/apache/cassandra/db/ColumnFamilyStore;)Ljava/util/List;
pop
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 4 1 memtable Lorg/apache/cassandra/db/Memtable;
0 4 2 sstables Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
Signature: (Lorg/apache/cassandra/db/Memtable;Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)V
MethodParameters:
Name Flags
memtable
sstables
public static java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader> filterSuspectSSTables(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=2, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 5
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 2
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.isMarkedSuspect:()Z
ifne 5
4: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 originalCandidates Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
1 7 1 filtered Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
3 5 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/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
originalCandidates
public org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList getScanners(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>, org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>);
descriptor: (Ljava/util/Collection;Lorg/apache/cassandra/dht/Range;)Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 1
aload 0
aload 1
aconst_null
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionStrategy.getScanners:(Ljava/util/Collection;Ljava/util/Collection;)Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
aload 2
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionStrategy.getScanners:(Ljava/util/Collection;Ljava/util/Collection;)Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
StackMap locals:
StackMap stack: org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 3 1 sstables Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 3 2 range Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;)Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
MethodParameters:
Name Flags
sstables
range
public org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList getScanners(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>, java.util.Collection<org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>>);
descriptor: (Ljava/util/Collection;Ljava/util/Collection;)Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy java.util.Collection java.util.Collection java.util.ArrayList top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 4
start local 4 3: aload 3
aload 4
aload 2
aconst_null
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getScanner:(Ljava/util/Collection;Lcom/google/common/util/concurrent/RateLimiter;)Lorg/apache/cassandra/io/sstable/ISSTableScanner;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: goto 12
6: StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy java.util.Collection java.util.Collection java.util.ArrayList
StackMap stack: java.lang.Throwable
astore 4
start local 4 7: new org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList
dup
aload 3
invokespecial org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList.<init>:(Ljava/util/List;)V
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList.close:()V
8: goto 11
9: StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy java.util.Collection java.util.Collection java.util.ArrayList java.lang.Throwable
StackMap stack: java.lang.Throwable
astore 5
start local 5 10: aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
end local 5 11: StackMap locals:
StackMap stack:
aload 4
athrow
end local 4 12: StackMap locals:
StackMap stack:
new org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList
dup
aload 3
invokespecial org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList.<init>:(Ljava/util/List;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 13 1 sstables Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 13 2 ranges Ljava/util/Collection<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
1 13 3 scanners Ljava/util/ArrayList<Lorg/apache/cassandra/io/sstable/ISSTableScanner;>;
3 4 4 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
7 12 4 t Ljava/lang/Throwable;
10 11 5 t2 Ljava/lang/Throwable;
Exception table:
from to target type
1 5 6 Class java.lang.Throwable
7 8 9 Class java.lang.Throwable
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/util/Collection<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;)Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
MethodParameters:
Name Flags
sstables
ranges
public boolean shouldDefragment();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public synchronized void replaceSSTables(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>, java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/util/Collection;Ljava/util/Collection;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 3
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 3
start local 3 2: aload 0
aload 3
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionStrategy.removeSSTable:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
end local 3 3: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals:
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 3
start local 3 6: aload 0
aload 3
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionStrategy.addSSTable:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 9 1 removed Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 9 2 added Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
2 3 3 remove Lorg/apache/cassandra/io/sstable/format/SSTableReader;
6 7 3 add Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)V
MethodParameters:
Name Flags
removed
added
public abstract void addSSTable(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
added
public synchronized void addSSTables(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy java.lang.Iterable top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionStrategy.addSSTable:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 5 1 added Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
2 3 2 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)V
MethodParameters:
Name Flags
added
public abstract void removeSSTable(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
sstable
public org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList getScanners(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/util/Collection;)Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionStrategy.getScanners:(Ljava/util/Collection;Ljava/util/Collection;)Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 1 1 toCompact Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
MethodParameters:
Name Flags
toCompact
protected boolean worthDroppingTombstones(org.apache.cassandra.io.sstable.format.SSTableReader, int);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.disableTombstoneCompactions:Z
ifne 1
getstatic org.apache.cassandra.db.compaction.CompactionController.NEVER_PURGE_TOMBSTONES:Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
aload 1
getstatic org.apache.cassandra.io.sstable.Component.DATA:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getCreationTimeFor:(Lorg/apache/cassandra/io/sstable/Component;)J
aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.tombstoneCompactionInterval:J
ldc 1000
lmul
ladd
lcmp
ifge 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedDroppableTombstoneRatio:(I)D
dstore 3
start local 3 5: dload 3
aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.tombstoneThreshold:F
f2d
dcmpg
ifgt 7
6: iconst_0
ireturn
7: StackMap locals: double
StackMap stack:
aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.uncheckedTombstoneCompaction:Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 1
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getOverlappingLiveSSTables:(Ljava/lang/Iterable;)Ljava/util/Collection;
astore 5
start local 5 10: aload 5
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 12
11: iconst_1
ireturn
12: StackMap locals: java.util.Collection
StackMap stack:
aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 1
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
aload 5
iload 2
invokestatic org.apache.cassandra.db.compaction.CompactionController.getFullyExpiredSSTables:(Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/lang/Iterable;Ljava/lang/Iterable;I)Ljava/util/Set;
invokeinterface java.util.Set.size:()I
ifle 14
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getIndexSummarySize:()I
iconst_2
if_icmpge 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.estimatedKeys:()J
lstore 6
start local 6 17: new java.util.HashSet
dup
aload 5
invokeinterface java.util.Collection.size:()I
invokespecial java.util.HashSet.<init>:(I)V
astore 8
start local 8 18: aload 5
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 10
goto 21
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy org.apache.cassandra.io.sstable.format.SSTableReader int double java.util.Collection long java.util.Set top java.util.Iterator
StackMap stack:
19: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 9
start local 9 20: aload 8
new org.apache.cassandra.dht.Range
dup
aload 9
getfield org.apache.cassandra.io.sstable.format.SSTableReader.first:Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getToken:()Lorg/apache/cassandra/dht/Token;
aload 9
getfield org.apache.cassandra.io.sstable.format.SSTableReader.last:Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getToken:()Lorg/apache/cassandra/dht/Token;
invokespecial org.apache.cassandra.dht.Range.<init>:(Lorg/apache/cassandra/dht/RingPosition;Lorg/apache/cassandra/dht/RingPosition;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 9 21: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
22: lload 6
aload 1
aload 8
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.estimatedKeysForRanges:(Ljava/util/Collection;)J
lsub
lstore 9
start local 9 23: aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedColumnCount:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.mean:()J
lload 9
lmul
lstore 11
start local 11 24: lload 11
l2d
aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedColumnCount:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.count:()J
aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedColumnCount:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.mean:()J
lmul
l2d
ddiv
dstore 13
start local 13 25: dload 13
dload 3
dmul
aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.tombstoneThreshold:F
f2d
dcmpl
ifle 26
iconst_1
ireturn
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy org.apache.cassandra.io.sstable.format.SSTableReader int double java.util.Collection long java.util.Set long long double
StackMap stack:
26: iconst_0
ireturn
end local 13 end local 11 end local 9 end local 8 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 27 1 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
0 27 2 gcBefore I
5 27 3 droppableRatio D
10 27 5 overlaps Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
17 27 6 keys J
18 27 8 ranges Ljava/util/Set<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
20 21 9 overlap Lorg/apache/cassandra/io/sstable/format/SSTableReader;
23 27 9 remainingKeys J
24 27 11 columns J
25 27 13 remainingColumnsRatio D
MethodParameters:
Name Flags
sstable
gcBefore
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=8, locals=7, args_size=1
start local 0 0: aload 0
ldc "tombstone_threshold"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ifnull 7
2: aload 1
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
fstore 2
start local 2 3: fload 2
fconst_0
fcmpg
ifge 7
4: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "%s must be greater than 0, but was %f"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "tombstone_threshold"
aastore
dup
iconst_1
fload 2
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
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 2 5: StackMap locals: java.util.Map java.lang.String
StackMap stack: java.lang.NumberFormatException
astore 2
start local 2 6: 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 1
aastore
dup
iconst_1
ldc "tombstone_threshold"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
aload 0
ldc "tombstone_compaction_interval"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 8: aload 2
ifnull 14
9: aload 2
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 3
start local 3 10: lload 3
lconst_0
lcmp
ifge 14
11: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "%s must be greater than 0, but was %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "tombstone_compaction_interval"
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 12: StackMap locals: java.util.Map java.lang.String java.lang.String
StackMap stack: java.lang.NumberFormatException
astore 3
start local 3 13: 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 "tombstone_compaction_interval"
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 14: StackMap locals:
StackMap stack:
aload 0
ldc "unchecked_tombstone_compaction"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 15: aload 3
ifnull 18
16: aload 3
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 18
aload 3
ldc "false"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 18
17: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "'%s' should be either 'true' or 'false', not '%s'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "unchecked_tombstone_compaction"
aastore
dup
iconst_1
aload 3
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
18: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "log_all"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 19: aload 4
ifnull 22
20: aload 4
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 22
aload 4
ldc "false"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 22
21: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "'%s' should either be 'true' or 'false', not %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "log_all"
aastore
dup
iconst_1
aload 4
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
22: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "enabled"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 23: aload 5
ifnull 26
24: aload 5
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 26
aload 5
ldc "false"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 26
25: new org.apache.cassandra.exceptions.ConfigurationException
dup
ldc "enabled should either be 'true' or 'false', not %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
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
26: StackMap locals: java.lang.String
StackMap stack:
new java.util.HashMap
dup
aload 0
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 6
start local 6 27: aload 6
ldc "tombstone_threshold"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
28: aload 6
ldc "tombstone_compaction_interval"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
29: aload 6
ldc "unchecked_tombstone_compaction"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
30: aload 6
ldc "log_all"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
31: aload 6
ldc "enabled"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
32: aload 6
ldc "only_purge_repaired_tombstones"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
33: aload 6
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;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
34: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 35 1 threshold Ljava/lang/String;
3 5 2 thresholdValue F
6 7 2 e Ljava/lang/NumberFormatException;
8 35 2 interval Ljava/lang/String;
10 12 3 tombstoneCompactionInterval J
13 14 3 e Ljava/lang/NumberFormatException;
15 35 3 unchecked Ljava/lang/String;
19 35 4 logAll Ljava/lang/String;
23 35 5 compactionEnabled Ljava/lang/String;
27 35 6 uncheckedOptions Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exception table:
from to target type
2 5 5 Class java.lang.NumberFormatException
9 12 12 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;>;
MethodParameters:
Name Flags
options
public boolean shouldBeEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.options:Ljava/util/Map;
ldc "enabled"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
ifne 2
iconst_0
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
1 3 1 optionValue Ljava/lang/String;
public java.util.Collection<java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>> groupSSTablesForAntiCompaction(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/util/Collection;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: iconst_2
istore 2
start local 2 1: new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 2: aload 3
getstatic org.apache.cassandra.io.sstable.format.SSTableReader.sstableComparator:Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 5: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy java.util.Collection int java.util.List java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 6
start local 6 7: aload 5
aload 6
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
8: aload 5
invokeinterface java.util.Collection.size:()I
iload 2
if_icmpne 11
9: aload 4
aload 5
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
10: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
end local 6 11: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
12: aload 5
invokeinterface java.util.Collection.size:()I
ifeq 14
13: aload 4
aload 5
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
14: StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy java.util.Collection int java.util.List java.util.Collection java.util.Collection
StackMap stack:
aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 15 1 sstablesToGroup Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
1 15 2 groupSize I
2 15 3 sortedSSTablesToGroup Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
4 15 4 groupedSSTables Ljava/util/Collection<Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;
5 15 5 currGroup Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
7 11 6 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Ljava/util/Collection<Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;
MethodParameters:
Name Flags
sstablesToGroup
public org.apache.cassandra.db.compaction.CompactionLogger$Strategy strategyLogger();
descriptor: ()Lorg/apache/cassandra/db/compaction/CompactionLogger$Strategy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.compaction.CompactionLogger$Strategy.none:Lorg/apache/cassandra/db/compaction/CompactionLogger$Strategy;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
public org.apache.cassandra.io.sstable.SSTableMultiWriter createSSTableMultiWriter(org.apache.cassandra.io.sstable.Descriptor, long, long, org.apache.cassandra.io.sstable.metadata.MetadataCollector, org.apache.cassandra.db.SerializationHeader, java.util.Collection<org.apache.cassandra.index.Index>, org.apache.cassandra.db.lifecycle.LifecycleNewTracker);
descriptor: (Lorg/apache/cassandra/io/sstable/Descriptor;JJLorg/apache/cassandra/io/sstable/metadata/MetadataCollector;Lorg/apache/cassandra/db/SerializationHeader;Ljava/util/Collection;Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=10, args_size=8
start local 0 start local 1 start local 2 start local 4 start local 6 start local 7 start local 8 start local 9 0: aload 1
lload 2
lload 4
aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
aload 6
aload 7
aload 8
aload 9
invokestatic org.apache.cassandra.io.sstable.SimpleSSTableMultiWriter.create:(Lorg/apache/cassandra/io/sstable/Descriptor;JJLorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/io/sstable/metadata/MetadataCollector;Lorg/apache/cassandra/db/SerializationHeader;Ljava/util/Collection;Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
areturn
end local 9 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy;
0 1 1 descriptor Lorg/apache/cassandra/io/sstable/Descriptor;
0 1 2 keyCount J
0 1 4 repairedAt J
0 1 6 meta Lorg/apache/cassandra/io/sstable/metadata/MetadataCollector;
0 1 7 header Lorg/apache/cassandra/db/SerializationHeader;
0 1 8 indexes Ljava/util/Collection<Lorg/apache/cassandra/index/Index;>;
0 1 9 lifecycleNewTracker Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;
Signature: (Lorg/apache/cassandra/io/sstable/Descriptor;JJLorg/apache/cassandra/io/sstable/metadata/MetadataCollector;Lorg/apache/cassandra/db/SerializationHeader;Ljava/util/Collection<Lorg/apache/cassandra/index/Index;>;Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
MethodParameters:
Name Flags
descriptor
keyCount
repairedAt
meta
header
indexes
lifecycleNewTracker
public boolean supportsEarlyOpen();
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/AbstractCompactionStrategy;
}
SourceFile: "AbstractCompactionStrategy.java"
NestMembers:
org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList
InnerClasses:
public ScannerList = org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList of org.apache.cassandra.db.compaction.AbstractCompactionStrategy
public abstract Strategy = org.apache.cassandra.db.compaction.CompactionLogger$Strategy of org.apache.cassandra.db.compaction.CompactionLogger
public final Option = org.apache.cassandra.schema.CompactionParams$Option of org.apache.cassandra.schema.CompactionParams