public class org.apache.cassandra.db.ColumnFamilyStore implements org.apache.cassandra.db.ColumnFamilyStoreMBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.ColumnFamilyStore
super_class: java.lang.Object
{
private static volatile org.apache.cassandra.db.Directories$DataDirectory[] initialDirectories;
descriptor: [Lorg/apache/cassandra/db/Directories$DataDirectory;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.ExecutorService flushExecutor;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.ExecutorService[] perDiskflushExecutors;
descriptor: [Ljava/util/concurrent/ExecutorService;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.ExecutorService postFlushExecutor;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.concurrent.ExecutorService reclaimExecutor;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] COUNTER_NAMES;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] COUNTER_DESCS;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final javax.management.openmbean.CompositeType COUNTER_COMPOSITE_TYPE;
descriptor: Ljavax/management/openmbean/CompositeType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final javax.management.openmbean.TabularType COUNTER_TYPE;
descriptor: Ljavax/management/openmbean/TabularType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] SAMPLER_NAMES;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] SAMPLER_DESCS;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String SAMPLING_RESULTS_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "SAMPLING_RESULTS"
private static final javax.management.openmbean.CompositeType SAMPLING_RESULT;
descriptor: Ljavax/management/openmbean/CompositeType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String SNAPSHOT_TRUNCATE_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "truncated"
public static final java.lang.String SNAPSHOT_DROP_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "dropped"
public final org.apache.cassandra.db.Keyspace keyspace;
descriptor: Lorg/apache/cassandra/db/Keyspace;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.config.CFMetaData metadata;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final java.lang.String mbeanName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String oldMBeanName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private volatile boolean valid;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final org.apache.cassandra.db.lifecycle.Tracker data;
descriptor: Lorg/apache/cassandra/db/lifecycle/Tracker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public final org.apache.cassandra.utils.concurrent.OpOrder readOrdering;
descriptor: Lorg/apache/cassandra/utils/concurrent/OpOrder;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger fileIndexGenerator;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public final org.apache.cassandra.index.SecondaryIndexManager indexManager;
descriptor: Lorg/apache/cassandra/index/SecondaryIndexManager;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.db.view.TableViews viewManager;
descriptor: Lorg/apache/cassandra/db/view/TableViews;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private volatile org.apache.cassandra.utils.DefaultValue<java.lang.Integer> minCompactionThreshold;
descriptor: Lorg/apache/cassandra/utils/DefaultValue;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Lorg/apache/cassandra/utils/DefaultValue<Ljava/lang/Integer;>;
private volatile org.apache.cassandra.utils.DefaultValue<java.lang.Integer> maxCompactionThreshold;
descriptor: Lorg/apache/cassandra/utils/DefaultValue;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Lorg/apache/cassandra/utils/DefaultValue<Ljava/lang/Integer;>;
private volatile org.apache.cassandra.utils.DefaultValue<java.lang.Double> crcCheckChance;
descriptor: Lorg/apache/cassandra/utils/DefaultValue;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Lorg/apache/cassandra/utils/DefaultValue<Ljava/lang/Double;>;
private final org.apache.cassandra.db.compaction.CompactionStrategyManager compactionStrategyManager;
descriptor: Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile org.apache.cassandra.db.Directories directories;
descriptor: Lorg/apache/cassandra/db/Directories;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public final org.apache.cassandra.metrics.TableMetrics metric;
descriptor: Lorg/apache/cassandra/metrics/TableMetrics;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public volatile long sampleLatencyNanos;
descriptor: J
flags: (0x0041) ACC_PUBLIC, ACC_VOLATILE
private final java.util.concurrent.ScheduledFuture<?> latencyCalculator;
descriptor: Ljava/util/concurrent/ScheduledFuture;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ScheduledFuture<*>;
private volatile boolean compactionSpaceCheck;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final org.apache.cassandra.db.DiskBoundaryManager diskBoundaryManager;
descriptor: Lorg/apache/cassandra/db/DiskBoundaryManager;
flags: (0x0010) ACC_FINAL
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=14, locals=2, args_size=0
0: ldc Lorg/apache/cassandra/db/ColumnFamilyStore;
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.ColumnFamilyStore.$assertionsDisabled:Z
3: getstatic org.apache.cassandra.db.Directories.dataDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
putstatic org.apache.cassandra.db.ColumnFamilyStore.initialDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
4: ldc Lorg/apache/cassandra/db/ColumnFamilyStore;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
5: new org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor
dup
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getFlushWriters:()I
6: ldc 60
7: getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
8: new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
9: new org.apache.cassandra.concurrent.NamedThreadFactory
dup
ldc "MemtableFlushWriter"
invokespecial org.apache.cassandra.concurrent.NamedThreadFactory.<init>:(Ljava/lang/String;)V
10: ldc "internal"
11: invokespecial org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor.<init>:(IJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Lorg/apache/cassandra/concurrent/NamedThreadFactory;Ljava/lang/String;)V
putstatic org.apache.cassandra.db.ColumnFamilyStore.flushExecutor:Ljava/util/concurrent/ExecutorService;
12: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getAllDataFileLocations:()[Ljava/lang/String;
arraylength
anewarray java.util.concurrent.ExecutorService
putstatic org.apache.cassandra.db.ColumnFamilyStore.perDiskflushExecutors:[Ljava/util/concurrent/ExecutorService;
13: iconst_0
istore 0
start local 0 14: goto 23
15: StackMap locals: int
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.perDiskflushExecutors:[Ljava/util/concurrent/ExecutorService;
iload 0
new org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor
dup
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getFlushWriters:()I
16: ldc 60
17: getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
18: new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
19: new org.apache.cassandra.concurrent.NamedThreadFactory
dup
new java.lang.StringBuilder
dup
ldc "PerDiskMemtableFlushWriter_"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.concurrent.NamedThreadFactory.<init>:(Ljava/lang/String;)V
20: ldc "internal"
invokespecial org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor.<init>:(IJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Lorg/apache/cassandra/concurrent/NamedThreadFactory;Ljava/lang/String;)V
21: aastore
22: iinc 0 1
StackMap locals:
StackMap stack:
23: iload 0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getAllDataFileLocations:()[Ljava/lang/String;
arraylength
if_icmplt 15
end local 0 24: new org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor
dup
iconst_1
25: ldc 60
26: getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
27: new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
28: new org.apache.cassandra.concurrent.NamedThreadFactory
dup
ldc "MemtablePostFlush"
invokespecial org.apache.cassandra.concurrent.NamedThreadFactory.<init>:(Ljava/lang/String;)V
29: ldc "internal"
30: invokespecial org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor.<init>:(IJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Lorg/apache/cassandra/concurrent/NamedThreadFactory;Ljava/lang/String;)V
putstatic org.apache.cassandra.db.ColumnFamilyStore.postFlushExecutor:Ljava/util/concurrent/ExecutorService;
31: new org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor
dup
iconst_1
32: ldc 60
33: getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
34: new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
35: new org.apache.cassandra.concurrent.NamedThreadFactory
dup
ldc "MemtableReclaimMemory"
invokespecial org.apache.cassandra.concurrent.NamedThreadFactory.<init>:(Ljava/lang/String;)V
36: ldc "internal"
37: invokespecial org.apache.cassandra.concurrent.JMXEnabledThreadPoolExecutor.<init>:(IJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Lorg/apache/cassandra/concurrent/NamedThreadFactory;Ljava/lang/String;)V
putstatic org.apache.cassandra.db.ColumnFamilyStore.reclaimExecutor:Ljava/util/concurrent/ExecutorService;
38: iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "raw"
aastore
dup
iconst_1
ldc "count"
aastore
dup
iconst_2
ldc "error"
aastore
dup
iconst_3
ldc "string"
aastore
putstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_NAMES:[Ljava/lang/String;
39: iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "partition key in raw hex bytes"
aastore
dup
iconst_1
40: ldc "value of this partition for given sampler"
aastore
dup
iconst_2
41: ldc "value is within the error bounds plus or minus of this"
aastore
dup
iconst_3
42: ldc "the partition key turned into a human readable format"
aastore
43: putstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_DESCS:[Ljava/lang/String;
44: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "cardinality"
aastore
dup
iconst_1
ldc "partitions"
aastore
putstatic org.apache.cassandra.db.ColumnFamilyStore.SAMPLER_NAMES:[Ljava/lang/String;
45: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "cardinality of partitions"
aastore
dup
iconst_1
46: ldc "list of counter results"
aastore
47: putstatic org.apache.cassandra.db.ColumnFamilyStore.SAMPLER_DESCS:[Ljava/lang/String;
48: iconst_4
anewarray javax.management.openmbean.OpenType
dup
iconst_0
getstatic javax.management.openmbean.SimpleType.STRING:Ljavax/management/openmbean/SimpleType;
aastore
dup
iconst_1
getstatic javax.management.openmbean.SimpleType.LONG:Ljavax/management/openmbean/SimpleType;
aastore
dup
iconst_2
getstatic javax.management.openmbean.SimpleType.LONG:Ljavax/management/openmbean/SimpleType;
aastore
dup
iconst_3
getstatic javax.management.openmbean.SimpleType.STRING:Ljavax/management/openmbean/SimpleType;
aastore
astore 0
start local 0 49: new javax.management.openmbean.CompositeType
dup
ldc "SAMPLING_RESULTS"
ldc "SAMPLING_RESULTS"
getstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_NAMES:[Ljava/lang/String;
getstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_DESCS:[Ljava/lang/String;
aload 0
invokespecial javax.management.openmbean.CompositeType.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljavax/management/openmbean/OpenType;)V
putstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_COMPOSITE_TYPE:Ljavax/management/openmbean/CompositeType;
50: new javax.management.openmbean.TabularType
dup
ldc "SAMPLING_RESULTS"
ldc "SAMPLING_RESULTS"
getstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_COMPOSITE_TYPE:Ljavax/management/openmbean/CompositeType;
getstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_NAMES:[Ljava/lang/String;
invokespecial javax.management.openmbean.TabularType.<init>:(Ljava/lang/String;Ljava/lang/String;Ljavax/management/openmbean/CompositeType;[Ljava/lang/String;)V
putstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_TYPE:Ljavax/management/openmbean/TabularType;
51: iconst_2
anewarray javax.management.openmbean.OpenType
dup
iconst_0
getstatic javax.management.openmbean.SimpleType.LONG:Ljavax/management/openmbean/SimpleType;
aastore
dup
iconst_1
getstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_TYPE:Ljavax/management/openmbean/TabularType;
aastore
astore 1
start local 1 52: new javax.management.openmbean.CompositeType
dup
ldc "SAMPLING_RESULTS"
ldc "SAMPLING_RESULTS"
getstatic org.apache.cassandra.db.ColumnFamilyStore.SAMPLER_NAMES:[Ljava/lang/String;
getstatic org.apache.cassandra.db.ColumnFamilyStore.SAMPLER_DESCS:[Ljava/lang/String;
aload 1
invokespecial javax.management.openmbean.CompositeType.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljavax/management/openmbean/OpenType;)V
putstatic org.apache.cassandra.db.ColumnFamilyStore.SAMPLING_RESULT:Ljavax/management/openmbean/CompositeType;
end local 1 end local 0 53: goto 56
StackMap locals:
StackMap stack: javax.management.openmbean.OpenDataException
54: astore 0
start local 0 55: aload 0
invokestatic com.google.common.base.Throwables.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 0 56: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
14 24 0 i I
49 53 0 counterTypes [Ljavax/management/openmbean/OpenType;
52 53 1 samplerTypes [Ljavax/management/openmbean/OpenType;
55 56 0 e Ljavax/management/openmbean/OpenDataException;
Exception table:
from to target type
48 53 54 Class javax.management.openmbean.OpenDataException
public static synchronized void addInitialDirectories(org.apache.cassandra.db.Directories$DataDirectory[]);
descriptor: ([Lorg/apache/cassandra/db/Directories$DataDirectory;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=7, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.ColumnFamilyStore.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.initialDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
invokestatic com.google.common.collect.Sets.newHashSet:([Ljava/lang/Object;)Ljava/util/HashSet;
astore 1
start local 1 2: getstatic org.apache.cassandra.db.ColumnFamilyStore.initialDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
invokestatic com.google.common.collect.Lists.newArrayList:([Ljava/lang/Object;)Ljava/util/ArrayList;
astore 2
start local 2 3: aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: org.apache.cassandra.db.Directories$DataDirectory[] java.util.Set java.util.List top int int org.apache.cassandra.db.Directories$DataDirectory[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 1
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 7
6: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 4
9: aload 2
invokeinterface java.util.List.size:()I
anewarray org.apache.cassandra.db.Directories$DataDirectory
astore 3
start local 3 10: aload 2
aload 3
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
11: aload 3
putstatic org.apache.cassandra.db.ColumnFamilyStore.initialDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 newDirectories [Lorg/apache/cassandra/db/Directories$DataDirectory;
2 13 1 existing Ljava/util/Set<Lorg/apache/cassandra/db/Directories$DataDirectory;>;
3 13 2 replacementList Ljava/util/List<Lorg/apache/cassandra/db/Directories$DataDirectory;>;
5 7 3 directory Lorg/apache/cassandra/db/Directories$DataDirectory;
10 13 3 replacementArray [Lorg/apache/cassandra/db/Directories$DataDirectory;
MethodParameters:
Name Flags
newDirectories
public static org.apache.cassandra.db.Directories$DataDirectory[] getInitialDirectories();
descriptor: ()[Lorg/apache/cassandra/db/Directories$DataDirectory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.apache.cassandra.db.ColumnFamilyStore.initialDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
astore 0
start local 0 1: aload 0
aload 0
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast org.apache.cassandra.db.Directories$DataDirectory[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 src [Lorg/apache/cassandra/db/Directories$DataDirectory;
public static void shutdownFlushExecutor();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic org.apache.cassandra.db.ColumnFamilyStore.flushExecutor:Ljava/util/concurrent/ExecutorService;
invokeinterface java.util.concurrent.ExecutorService.shutdown:()V
1: getstatic org.apache.cassandra.db.ColumnFamilyStore.flushExecutor:Ljava/util/concurrent/ExecutorService;
ldc 60
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
pop
2: return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.InterruptedException
public static void shutdownPostFlushExecutor();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic org.apache.cassandra.db.ColumnFamilyStore.postFlushExecutor:Ljava/util/concurrent/ExecutorService;
invokeinterface java.util.concurrent.ExecutorService.shutdown:()V
1: getstatic org.apache.cassandra.db.ColumnFamilyStore.postFlushExecutor:Ljava/util/concurrent/ExecutorService;
ldc 60
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
pop
2: return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.InterruptedException
public static void shutdownExecutorsAndWait(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 2 0: new java.util.ArrayList
dup
getstatic org.apache.cassandra.db.ColumnFamilyStore.perDiskflushExecutors:[Ljava/util/concurrent/ExecutorService;
arraylength
iconst_3
iadd
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 1: aload 3
iconst_3
anewarray java.util.concurrent.ExecutorService
dup
iconst_0
getstatic org.apache.cassandra.db.ColumnFamilyStore.reclaimExecutor:Ljava/util/concurrent/ExecutorService;
aastore
dup
iconst_1
getstatic org.apache.cassandra.db.ColumnFamilyStore.postFlushExecutor:Ljava/util/concurrent/ExecutorService;
aastore
dup
iconst_2
getstatic org.apache.cassandra.db.ColumnFamilyStore.flushExecutor:Ljava/util/concurrent/ExecutorService;
aastore
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
2: aload 3
getstatic org.apache.cassandra.db.ColumnFamilyStore.perDiskflushExecutors:[Ljava/util/concurrent/ExecutorService;
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
3: lload 0
aload 2
aload 3
invokestatic org.apache.cassandra.utils.ExecutorUtils.shutdownAndWait:(JLjava/util/concurrent/TimeUnit;Ljava/util/Collection;)V
4: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 timeout J
0 5 2 unit Ljava/util/concurrent/TimeUnit;
1 5 3 executors Ljava/util/List<Ljava/util/concurrent/ExecutorService;>;
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
MethodParameters:
Name Flags
timeout
unit
public void reload();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.minCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
invokevirtual org.apache.cassandra.utils.DefaultValue.isModified:()Z
ifne 5
1: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.concatWithIndexes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 1
start local 1 3: aload 1
new org.apache.cassandra.utils.DefaultValue
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.compaction:Lorg/apache/cassandra/schema/CompactionParams;
invokevirtual org.apache.cassandra.schema.CompactionParams.minCompactionThreshold:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.cassandra.utils.DefaultValue.<init>:(Ljava/lang/Object;)V
putfield org.apache.cassandra.db.ColumnFamilyStore.minCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore
StackMap stack:
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.maxCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
invokevirtual org.apache.cassandra.utils.DefaultValue.isModified:()Z
ifne 10
6: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.concatWithIndexes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 9
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore top java.util.Iterator
StackMap stack:
7: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 1
start local 1 8: aload 1
new org.apache.cassandra.utils.DefaultValue
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.compaction:Lorg/apache/cassandra/schema/CompactionParams;
invokevirtual org.apache.cassandra.schema.CompactionParams.maxCompactionThreshold:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.cassandra.utils.DefaultValue.<init>:(Ljava/lang/Object;)V
putfield org.apache.cassandra.db.ColumnFamilyStore.maxCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
end local 1 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore
StackMap stack:
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.crcCheckChance:Lorg/apache/cassandra/utils/DefaultValue;
invokevirtual org.apache.cassandra.utils.DefaultValue.isModified:()Z
ifne 15
11: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.concatWithIndexes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 14
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore top java.util.Iterator
StackMap stack:
12: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 1
start local 1 13: aload 1
new org.apache.cassandra.utils.DefaultValue
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.crcCheckChance:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokespecial org.apache.cassandra.utils.DefaultValue.<init>:(Ljava/lang/Object;)V
putfield org.apache.cassandra.db.ColumnFamilyStore.crcCheckChance:Lorg/apache/cassandra/utils/DefaultValue;
end local 1 14: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore
StackMap stack:
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.maybeReload:(Lorg/apache/cassandra/config/CFMetaData;)V
16: aload 0
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.getDirectories:()Lorg/apache/cassandra/db/Directories;
putfield org.apache.cassandra.db.ColumnFamilyStore.directories:Lorg/apache/cassandra/db/Directories;
17: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.scheduleFlush:()V
18: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.reload:()V
19: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
invokevirtual org.apache.cassandra.db.lifecycle.View.getCurrentMemtable:()Lorg/apache/cassandra/db/Memtable;
getfield org.apache.cassandra.db.Memtable.initialComparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
if_acmpeq 21
20: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.switchMemtable:()Lcom/google/common/util/concurrent/ListenableFuture;
pop
21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
3 4 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
8 9 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
13 14 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
void scheduleFlush();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.memtableFlushPeriodInMs:I
istore 1
start local 1 1: iload 1
ifle 5
2: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "scheduling flush in {} ms"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
3: new org.apache.cassandra.db.ColumnFamilyStore$1
dup
aload 0
invokespecial org.apache.cassandra.db.ColumnFamilyStore$1.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;)V
astore 2
start local 2 4: getstatic org.apache.cassandra.concurrent.ScheduledExecutors.scheduledTasks:Lorg/apache/cassandra/concurrent/DebuggableScheduledThreadPoolExecutor;
aload 2
iload 1
i2l
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
pop
end local 2 5: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
1 6 1 period I
4 5 2 runnable Lorg/apache/cassandra/utils/WrappedRunnable;
public static java.lang.Runnable getBackgroundCompactionTaskSubmitter();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.cassandra.db.ColumnFamilyStore$2
dup
invokespecial org.apache.cassandra.db.ColumnFamilyStore$2.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public void setCompactionParametersJson(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.cassandra.utils.FBUtilities.fromJsonMap:(Ljava/lang/String;)Ljava/util/Map;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.setCompactionParameters:(Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 options Ljava/lang/String;
MethodParameters:
Name Flags
options
public java.lang.String getCompactionParametersJson();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCompactionParameters:()Ljava/util/Map;
invokestatic org.apache.cassandra.utils.FBUtilities.json:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void setCompactionParameters(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.cassandra.schema.CompactionParams.fromMap:(Ljava/util/Map;)Lorg/apache/cassandra/schema/CompactionParams;
astore 2
start local 2 1: aload 2
invokevirtual org.apache.cassandra.schema.CompactionParams.validate:()V
2: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
aload 2
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.setNewLocalCompactionStrategy:(Lorg/apache/cassandra/schema/CompactionParams;)V
end local 2 3: goto 7
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 5: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Could not set new local compaction strategy"
aload 2
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Could not set new local compaction strategy: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 8 1 options Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 3 2 compactionParams Lorg/apache/cassandra/schema/CompactionParams;
5 7 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 3 4 Class java.lang.Throwable
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
options
public java.util.Map<java.lang.String, java.lang.String> getCompactionParameters();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.getCompactionParams:()Lorg/apache/cassandra/schema/CompactionParams;
invokevirtual org.apache.cassandra.schema.CompactionParams.asMap:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.util.Map<java.lang.String, java.lang.String> getCompressionParameters();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.compression:Lorg/apache/cassandra/schema/CompressionParams;
invokevirtual org.apache.cassandra.schema.CompressionParams.asMap:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public void setCompressionParameters(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
aload 1
invokestatic org.apache.cassandra.schema.CompressionParams.fromMap:(Ljava/util/Map;)Lorg/apache/cassandra/schema/CompressionParams;
invokevirtual org.apache.cassandra.config.CFMetaData.compression:(Lorg/apache/cassandra/schema/CompressionParams;)Lorg/apache/cassandra/config/CFMetaData;
pop
1: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.compression:Lorg/apache/cassandra/schema/CompressionParams;
invokevirtual org.apache.cassandra.schema.CompressionParams.validate:()V
2: goto 5
3: StackMap locals:
StackMap stack: org.apache.cassandra.exceptions.ConfigurationException
astore 2
start local 2 4: new java.lang.IllegalArgumentException
dup
aload 2
invokevirtual org.apache.cassandra.exceptions.ConfigurationException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 6 1 opts Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 5 2 e Lorg/apache/cassandra/exceptions/ConfigurationException;
Exception table:
from to target type
0 2 3 Class org.apache.cassandra.exceptions.ConfigurationException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
opts
public void <init>(org.apache.cassandra.db.Keyspace, java.lang.String, int, org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.Directories, boolean, boolean, boolean);
descriptor: (Lorg/apache/cassandra/db/Keyspace;Ljava/lang/String;ILorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/Directories;ZZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=15, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.apache.cassandra.db.ColumnFamilyStore.valid:Z
2: aload 0
new org.apache.cassandra.utils.concurrent.OpOrder
dup
invokespecial org.apache.cassandra.utils.concurrent.OpOrder.<init>:()V
putfield org.apache.cassandra.db.ColumnFamilyStore.readOrdering:Lorg/apache/cassandra/utils/concurrent/OpOrder;
3: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield org.apache.cassandra.db.ColumnFamilyStore.fileIndexGenerator:Ljava/util/concurrent/atomic/AtomicInteger;
4: aload 0
iconst_1
putfield org.apache.cassandra.db.ColumnFamilyStore.compactionSpaceCheck:Z
5: aload 0
new org.apache.cassandra.db.DiskBoundaryManager
dup
invokespecial org.apache.cassandra.db.DiskBoundaryManager.<init>:()V
putfield org.apache.cassandra.db.ColumnFamilyStore.diskBoundaryManager:Lorg/apache/cassandra/db/DiskBoundaryManager;
6: getstatic org.apache.cassandra.db.ColumnFamilyStore.$assertionsDisabled:Z
ifne 7
aload 5
ifnonnull 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.Keyspace java.lang.String int org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories int int int
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.$assertionsDisabled:Z
ifne 8
aload 4
ifnonnull 8
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "null metadata for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
9: aload 0
aload 4
putfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
10: aload 0
aload 2
putfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
11: aload 0
new org.apache.cassandra.utils.DefaultValue
dup
aload 4
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.compaction:Lorg/apache/cassandra/schema/CompactionParams;
invokevirtual org.apache.cassandra.schema.CompactionParams.minCompactionThreshold:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.cassandra.utils.DefaultValue.<init>:(Ljava/lang/Object;)V
putfield org.apache.cassandra.db.ColumnFamilyStore.minCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
12: aload 0
new org.apache.cassandra.utils.DefaultValue
dup
aload 4
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.compaction:Lorg/apache/cassandra/schema/CompactionParams;
invokevirtual org.apache.cassandra.schema.CompactionParams.maxCompactionThreshold:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.cassandra.utils.DefaultValue.<init>:(Ljava/lang/Object;)V
putfield org.apache.cassandra.db.ColumnFamilyStore.maxCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
13: aload 0
new org.apache.cassandra.utils.DefaultValue
dup
aload 4
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.crcCheckChance:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokespecial org.apache.cassandra.utils.DefaultValue.<init>:(Ljava/lang/Object;)V
putfield org.apache.cassandra.db.ColumnFamilyStore.crcCheckChance:Lorg/apache/cassandra/utils/DefaultValue;
14: aload 0
new org.apache.cassandra.index.SecondaryIndexManager
dup
aload 0
invokespecial org.apache.cassandra.index.SecondaryIndexManager.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;)V
putfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
15: aload 0
aload 1
getfield org.apache.cassandra.db.Keyspace.viewManager:Lorg/apache/cassandra/db/view/ViewManager;
aload 4
invokevirtual org.apache.cassandra.db.view.ViewManager.forTable:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/view/TableViews;
putfield org.apache.cassandra.db.ColumnFamilyStore.viewManager:Lorg/apache/cassandra/db/view/TableViews;
16: aload 0
new org.apache.cassandra.metrics.TableMetrics
dup
aload 0
invokespecial org.apache.cassandra.metrics.TableMetrics.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;)V
putfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
17: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.fileIndexGenerator:Ljava/util/concurrent/atomic/AtomicInteger;
iload 3
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
18: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getReadRpcTimeout:()J
ldc 2
ldiv
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
putfield org.apache.cassandra.db.ColumnFamilyStore.sampleLatencyNanos:J
19: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Initializing {}.{}"
aload 1
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
20: aconst_null
astore 9
start local 9 21: invokestatic org.apache.cassandra.config.DatabaseDescriptor.isDaemonInitialized:()Z
ifeq 23
22: new org.apache.cassandra.db.Memtable
dup
new java.util.concurrent.atomic.AtomicReference
dup
getstatic org.apache.cassandra.db.commitlog.CommitLog.instance:Lorg/apache/cassandra/db/commitlog/CommitLog;
invokevirtual org.apache.cassandra.db.commitlog.CommitLog.getCurrentPosition:()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
aload 0
invokespecial org.apache.cassandra.db.Memtable.<init>:(Ljava/util/concurrent/atomic/AtomicReference;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
astore 9
23: StackMap locals: org.apache.cassandra.db.Memtable
StackMap stack:
aload 0
new org.apache.cassandra.db.lifecycle.Tracker
dup
aload 9
iload 6
invokespecial org.apache.cassandra.db.lifecycle.Tracker.<init>:(Lorg/apache/cassandra/db/Memtable;Z)V
putfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
24: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
getfield org.apache.cassandra.db.lifecycle.Tracker.loadsstables:Z
ifeq 28
25: aload 5
getstatic org.apache.cassandra.db.Directories$OnTxnErr.IGNORE:Lorg/apache/cassandra/db/Directories$OnTxnErr;
invokevirtual org.apache.cassandra.db.Directories.sstableLister:(Lorg/apache/cassandra/db/Directories$OnTxnErr;)Lorg/apache/cassandra/db/Directories$SSTableLister;
iconst_1
invokevirtual org.apache.cassandra.db.Directories$SSTableLister.skipTemporary:(Z)Lorg/apache/cassandra/db/Directories$SSTableLister;
astore 10
start local 10 26: aload 10
invokevirtual org.apache.cassandra.db.Directories$SSTableLister.list:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
aload 4
invokestatic org.apache.cassandra.io.sstable.format.SSTableReader.openAll:(Ljava/util/Set;Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/Collection;
astore 11
start local 11 27: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 11
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.addInitialSSTables:(Ljava/lang/Iterable;)V
end local 11 end local 10 28: StackMap locals:
StackMap stack:
iload 8
ifeq 30
29: aload 0
aload 5
putfield org.apache.cassandra.db.ColumnFamilyStore.directories:Lorg/apache/cassandra/db/Directories;
goto 31
30: StackMap locals:
StackMap stack:
aload 0
new org.apache.cassandra.db.Directories
dup
aload 4
getstatic org.apache.cassandra.db.Directories.dataDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
invokespecial org.apache.cassandra.db.Directories.<init>:(Lorg/apache/cassandra/config/CFMetaData;[Lorg/apache/cassandra/db/Directories$DataDirectory;)V
putfield org.apache.cassandra.db.ColumnFamilyStore.directories:Lorg/apache/cassandra/db/Directories;
31: StackMap locals:
StackMap stack:
aload 0
new org.apache.cassandra.db.compaction.CompactionStrategyManager
dup
aload 0
invokespecial org.apache.cassandra.db.compaction.CompactionStrategyManager.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;)V
putfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
32: aload 0
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.getDirectories:()Lorg/apache/cassandra/db/Directories;
putfield org.apache.cassandra.db.ColumnFamilyStore.directories:Lorg/apache/cassandra/db/Directories;
33: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.maxCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
invokevirtual org.apache.cassandra.utils.DefaultValue.value:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ifle 34
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.minCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
invokevirtual org.apache.cassandra.utils.DefaultValue.value:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ifgt 36
34: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Disabling compaction strategy by setting compaction thresholds to 0 is deprecated, set the compaction option 'enabled' to 'false' instead."
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;)V
35: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.disable:()V
36: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.apache.cassandra.config.CFMetaData.getIndexes:()Lorg/apache/cassandra/schema/Indexes;
invokevirtual org.apache.cassandra.schema.Indexes.iterator:()Ljava/util/Iterator;
astore 11
goto 39
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.Keyspace java.lang.String int org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories int int int org.apache.cassandra.db.Memtable top java.util.Iterator
StackMap stack:
37: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.schema.IndexMetadata
astore 10
start local 10 38: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
aload 10
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.addIndex:(Lorg/apache/cassandra/schema/IndexMetadata;)Ljava/util/concurrent/Future;
pop
end local 10 39: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 37
40: iload 7
ifeq 67
41: aload 0
ldc "org.apache.cassandra.db:type=%s,keyspace=%s,table=%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
42: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.isIndex:()Z
ifeq 43
ldc "IndexTables"
goto 44
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.Keyspace java.lang.String int org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories int int int org.apache.cassandra.db.Memtable
StackMap stack: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.lang.Object[] java.lang.Object[] int
43: ldc "Tables"
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.Keyspace java.lang.String int org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories int int int org.apache.cassandra.db.Memtable
StackMap stack: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
44: aastore
dup
iconst_1
45: aload 1
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
aastore
46: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
putfield org.apache.cassandra.db.ColumnFamilyStore.mbeanName:Ljava/lang/String;
47: aload 0
ldc "org.apache.cassandra.db:type=%s,keyspace=%s,columnfamily=%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
48: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.isIndex:()Z
ifeq 49
ldc "IndexColumnFamilies"
goto 50
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.Keyspace java.lang.String int org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories int int int org.apache.cassandra.db.Memtable
StackMap stack: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.lang.Object[] java.lang.Object[] int
49: ldc "ColumnFamilies"
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.Keyspace java.lang.String int org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories int int int org.apache.cassandra.db.Memtable
StackMap stack: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
50: aastore
dup
iconst_1
51: aload 1
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
aastore
52: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
putfield org.apache.cassandra.db.ColumnFamilyStore.oldMBeanName:Ljava/lang/String;
53: iconst_2
anewarray javax.management.ObjectName
dup
iconst_0
new javax.management.ObjectName
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.mbeanName:Ljava/lang/String;
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
aastore
dup
iconst_1
new javax.management.ObjectName
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.oldMBeanName:Ljava/lang/String;
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
aastore
astore 10
start local 10 54: aload 10
dup
astore 14
arraylength
istore 13
iconst_0
istore 12
goto 58
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.Keyspace java.lang.String int org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories int int int org.apache.cassandra.db.Memtable javax.management.ObjectName[] top int int javax.management.ObjectName[]
StackMap stack:
55: aload 14
iload 12
aaload
astore 11
start local 11 56: getstatic org.apache.cassandra.utils.MBeanWrapper.instance:Lorg/apache/cassandra/utils/MBeanWrapper;
aload 0
aload 11
invokeinterface org.apache.cassandra.utils.MBeanWrapper.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)V
end local 11 57: iinc 12 1
StackMap locals:
StackMap stack:
58: iload 12
iload 13
if_icmplt 55
end local 10 59: goto 62
60: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.Keyspace java.lang.String int org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories int int int org.apache.cassandra.db.Memtable
StackMap stack: java.lang.Exception
astore 10
start local 10 61: new java.lang.RuntimeException
dup
aload 10
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 10 62: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "retryPolicy for {} is {}"
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.speculativeRetry:Lorg/apache/cassandra/schema/SpeculativeRetryParam;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
63: aload 0
getstatic org.apache.cassandra.concurrent.ScheduledExecutors.optionalTasks:Lorg/apache/cassandra/concurrent/DebuggableScheduledThreadPoolExecutor;
new org.apache.cassandra.db.ColumnFamilyStore$3
dup
aload 0
invokespecial org.apache.cassandra.db.ColumnFamilyStore$3.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;)V
64: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getReadRpcTimeout:()J
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getReadRpcTimeout:()J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
65: invokevirtual org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor.scheduleWithFixedDelay:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
putfield org.apache.cassandra.db.ColumnFamilyStore.latencyCalculator:Ljava/util/concurrent/ScheduledFuture;
66: goto 70
67: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.concurrent.ScheduledExecutors.optionalTasks:Lorg/apache/cassandra/concurrent/DebuggableScheduledThreadPoolExecutor;
invokestatic com.google.common.util.concurrent.Runnables.doNothing:()Ljava/lang/Runnable;
lconst_0
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
putfield org.apache.cassandra.db.ColumnFamilyStore.latencyCalculator:Ljava/util/concurrent/ScheduledFuture;
68: aload 0
aconst_null
putfield org.apache.cassandra.db.ColumnFamilyStore.mbeanName:Ljava/lang/String;
69: aload 0
aconst_null
putfield org.apache.cassandra.db.ColumnFamilyStore.oldMBeanName:Ljava/lang/String;
70: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 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 71 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 71 1 keyspace Lorg/apache/cassandra/db/Keyspace;
0 71 2 columnFamilyName Ljava/lang/String;
0 71 3 generation I
0 71 4 metadata Lorg/apache/cassandra/config/CFMetaData;
0 71 5 directories Lorg/apache/cassandra/db/Directories;
0 71 6 loadSSTables Z
0 71 7 registerBookeeping Z
0 71 8 offline Z
21 71 9 initialMemtable Lorg/apache/cassandra/db/Memtable;
26 28 10 sstableFiles Lorg/apache/cassandra/db/Directories$SSTableLister;
27 28 11 sstables Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
38 39 10 info Lorg/apache/cassandra/schema/IndexMetadata;
54 59 10 objectNames [Ljavax/management/ObjectName;
56 57 11 objectName Ljavax/management/ObjectName;
61 62 10 e Ljava/lang/Exception;
Exception table:
from to target type
53 59 60 Class java.lang.Exception
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
keyspace
columnFamilyName
generation
metadata
directories
loadSSTables
registerBookeeping
offline
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.ColumnFamilyStore.directories:Lorg/apache/cassandra/db/Directories;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public org.apache.cassandra.io.sstable.SSTableMultiWriter createSSTableMultiWriter(org.apache.cassandra.io.sstable.Descriptor, long, long, int, org.apache.cassandra.db.SerializationHeader, org.apache.cassandra.db.lifecycle.LifecycleNewTracker);
descriptor: (Lorg/apache/cassandra/io/sstable/Descriptor;JJILorg/apache/cassandra/db/SerializationHeader;Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 4 start local 6 start local 7 start local 8 0: new org.apache.cassandra.io.sstable.metadata.MetadataCollector
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
invokespecial org.apache.cassandra.io.sstable.metadata.MetadataCollector.<init>:(Lorg/apache/cassandra/db/ClusteringComparator;)V
iload 6
invokevirtual org.apache.cassandra.io.sstable.metadata.MetadataCollector.sstableLevel:(I)Lorg/apache/cassandra/io/sstable/metadata/MetadataCollector;
astore 9
start local 9 1: aload 0
aload 1
lload 2
lload 4
aload 9
aload 7
aload 8
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.createSSTableMultiWriter:(Lorg/apache/cassandra/io/sstable/Descriptor;JJLorg/apache/cassandra/io/sstable/metadata/MetadataCollector;Lorg/apache/cassandra/db/SerializationHeader;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 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 descriptor Lorg/apache/cassandra/io/sstable/Descriptor;
0 2 2 keyCount J
0 2 4 repairedAt J
0 2 6 sstableLevel I
0 2 7 header Lorg/apache/cassandra/db/SerializationHeader;
0 2 8 lifecycleNewTracker Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;
1 2 9 collector Lorg/apache/cassandra/io/sstable/metadata/MetadataCollector;
MethodParameters:
Name Flags
descriptor
keyCount
repairedAt
sstableLevel
header
lifecycleNewTracker
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, 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;Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 4 start local 6 start local 7 start local 8 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCompactionStrategyManager:()Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
aload 1
lload 2
lload 4
aload 6
aload 7
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.listIndexes:()Ljava/util/Collection;
aload 8
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.createSSTableMultiWriter:(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;
areturn
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/ColumnFamilyStore;
0 1 1 descriptor Lorg/apache/cassandra/io/sstable/Descriptor;
0 1 2 keyCount J
0 1 4 repairedAt J
0 1 6 metadataCollector Lorg/apache/cassandra/io/sstable/metadata/MetadataCollector;
0 1 7 header Lorg/apache/cassandra/db/SerializationHeader;
0 1 8 lifecycleNewTracker Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;
MethodParameters:
Name Flags
descriptor
keyCount
repairedAt
metadataCollector
header
lifecycleNewTracker
public boolean supportsEarlyOpen();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.supportsEarlyOpen:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void invalidate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.invalidate:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void invalidate(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield org.apache.cassandra.db.ColumnFamilyStore.valid:Z
1: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.unregisterMBean:()V
2: goto 7
3: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 4: iload 1
ifeq 7
5: aload 2
invokestatic org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable:(Ljava/lang/Throwable;)V
6: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Failed unregistering mbean: {}"
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.mbeanName:Ljava/lang/String;
aload 2
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.latencyCalculator:Ljava/util/concurrent/ScheduledFuture;
iconst_0
invokeinterface java.util.concurrent.ScheduledFuture.cancel:(Z)Z
pop
8: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.shutdown:()V
9: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.cfId:Ljava/util/UUID;
invokestatic org.apache.cassandra.db.SystemKeyspace.removeTruncationRecord:(Ljava/util/UUID;)V
10: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.dropSSTables:()V
11: invokestatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.waitForDeletions:()V
12: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.invalidateAllIndexesBlocking:()V
13: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.invalidateCaches:()V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 15 1 expectMBean Z
4 7 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
expectMBean
void maybeRemoveUnreadableSSTables(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.removeUnreadableSSTables:(Ljava/io/File;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 directory Ljava/io/File;
MethodParameters:
Name Flags
directory
void unregisterMBean();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=1
start local 0 0: iconst_2
anewarray javax.management.ObjectName
dup
iconst_0
new javax.management.ObjectName
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.mbeanName:Ljava/lang/String;
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
aastore
dup
iconst_1
new javax.management.ObjectName
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.oldMBeanName:Ljava/lang/String;
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
aastore
astore 1
start local 1 1: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore javax.management.ObjectName[] top int int javax.management.ObjectName[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: getstatic org.apache.cassandra.utils.MBeanWrapper.instance:Lorg/apache/cassandra/utils/MBeanWrapper;
aload 2
invokeinterface org.apache.cassandra.utils.MBeanWrapper.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 5
4: getstatic org.apache.cassandra.utils.MBeanWrapper.instance:Lorg/apache/cassandra/utils/MBeanWrapper;
aload 2
invokeinterface org.apache.cassandra.utils.MBeanWrapper.unregisterMBean:(Ljavax/management/ObjectName;)V
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
invokevirtual org.apache.cassandra.metrics.TableMetrics.release:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
1 9 1 objectNames [Ljavax/management/ObjectName;
3 5 2 objectName Ljavax/management/ObjectName;
Exceptions:
throws javax.management.MalformedObjectNameException
public static org.apache.cassandra.db.ColumnFamilyStore createColumnFamilyStore(org.apache.cassandra.db.Keyspace, org.apache.cassandra.config.CFMetaData, boolean);
descriptor: (Lorg/apache/cassandra/db/Keyspace;Lorg/apache/cassandra/config/CFMetaData;Z)Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aload 1
iload 2
invokestatic org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore:(Lorg/apache/cassandra/db/Keyspace;Ljava/lang/String;Lorg/apache/cassandra/config/CFMetaData;Z)Lorg/apache/cassandra/db/ColumnFamilyStore;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 keyspace Lorg/apache/cassandra/db/Keyspace;
0 1 1 metadata Lorg/apache/cassandra/config/CFMetaData;
0 1 2 loadSSTables Z
MethodParameters:
Name Flags
keyspace
metadata
loadSSTables
public static synchronized org.apache.cassandra.db.ColumnFamilyStore createColumnFamilyStore(org.apache.cassandra.db.Keyspace, java.lang.String, org.apache.cassandra.config.CFMetaData, boolean);
descriptor: (Lorg/apache/cassandra/db/Keyspace;Ljava/lang/String;Lorg/apache/cassandra/config/CFMetaData;Z)Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.cassandra.db.Directories
dup
aload 2
getstatic org.apache.cassandra.db.ColumnFamilyStore.initialDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
invokespecial org.apache.cassandra.db.Directories.<init>:(Lorg/apache/cassandra/config/CFMetaData;[Lorg/apache/cassandra/db/Directories$DataDirectory;)V
astore 4
start local 4 1: aload 0
aload 1
aload 2
aload 4
iload 3
iconst_1
iconst_0
invokestatic org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore:(Lorg/apache/cassandra/db/Keyspace;Ljava/lang/String;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/Directories;ZZZ)Lorg/apache/cassandra/db/ColumnFamilyStore;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 keyspace Lorg/apache/cassandra/db/Keyspace;
0 2 1 columnFamily Ljava/lang/String;
0 2 2 metadata Lorg/apache/cassandra/config/CFMetaData;
0 2 3 loadSSTables Z
1 2 4 directories Lorg/apache/cassandra/db/Directories;
MethodParameters:
Name Flags
keyspace
columnFamily
metadata
loadSSTables
public static synchronized org.apache.cassandra.db.ColumnFamilyStore createColumnFamilyStore(org.apache.cassandra.db.Keyspace, java.lang.String, org.apache.cassandra.config.CFMetaData, org.apache.cassandra.db.Directories, boolean, boolean, boolean);
descriptor: (Lorg/apache/cassandra/db/Keyspace;Ljava/lang/String;Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/Directories;ZZZ)Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=10, locals=12, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 3
getstatic org.apache.cassandra.db.Directories$OnTxnErr.IGNORE:Lorg/apache/cassandra/db/Directories$OnTxnErr;
invokevirtual org.apache.cassandra.db.Directories.sstableLister:(Lorg/apache/cassandra/db/Directories$OnTxnErr;)Lorg/apache/cassandra/db/Directories$SSTableLister;
iconst_1
invokevirtual org.apache.cassandra.db.Directories$SSTableLister.includeBackups:(Z)Lorg/apache/cassandra/db/Directories$SSTableLister;
astore 7
start local 7 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 2: aload 7
invokevirtual org.apache.cassandra.db.Directories$SSTableLister.list:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 10
StackMap locals: org.apache.cassandra.db.Keyspace java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories int int int org.apache.cassandra.db.Directories$SSTableLister java.util.List top java.util.Iterator
StackMap stack:
3: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 9
start local 9 4: aload 9
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
astore 11
start local 11 5: aload 8
aload 11
getfield org.apache.cassandra.io.sstable.Descriptor.generation:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 11
invokevirtual org.apache.cassandra.io.sstable.Descriptor.isCompatible:()Z
ifne 10
7: new java.lang.RuntimeException
dup
ldc "Incompatible SSTable found. Current version %s is unable to read file: %s. Please run upgradesstables."
iconst_2
anewarray java.lang.Object
dup
iconst_0
8: aload 11
invokevirtual org.apache.cassandra.io.sstable.Descriptor.getFormat:()Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getLatestVersion:()Lorg/apache/cassandra/io/sstable/format/Version;
aastore
dup
iconst_1
aload 11
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 11 end local 9 10: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: aload 8
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
12: aload 8
invokeinterface java.util.List.size:()I
ifle 13
aload 8
aload 8
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
goto 14
StackMap locals: org.apache.cassandra.db.Keyspace java.lang.String org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories int int int org.apache.cassandra.db.Directories$SSTableLister java.util.List
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 9
start local 9 15: new org.apache.cassandra.db.ColumnFamilyStore
dup
aload 0
aload 1
iload 9
aload 2
aload 3
iload 4
iload 5
iload 6
invokespecial org.apache.cassandra.db.ColumnFamilyStore.<init>:(Lorg/apache/cassandra/db/Keyspace;Ljava/lang/String;ILorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/db/Directories;ZZZ)V
areturn
end local 9 end local 8 end local 7 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 16 0 keyspace Lorg/apache/cassandra/db/Keyspace;
0 16 1 columnFamily Ljava/lang/String;
0 16 2 metadata Lorg/apache/cassandra/config/CFMetaData;
0 16 3 directories Lorg/apache/cassandra/db/Directories;
0 16 4 loadSSTables Z
0 16 5 registerBookkeeping Z
0 16 6 offline Z
1 16 7 lister Lorg/apache/cassandra/db/Directories$SSTableLister;
2 16 8 generations Ljava/util/List<Ljava/lang/Integer;>;
4 10 9 entry Ljava/util/Map$Entry<Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/util/Set<Lorg/apache/cassandra/io/sstable/Component;>;>;
5 10 11 desc Lorg/apache/cassandra/io/sstable/Descriptor;
15 16 9 value I
MethodParameters:
Name Flags
keyspace
columnFamily
metadata
directories
loadSSTables
registerBookkeeping
offline
public static void scrubDataDirectories(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=12, args_size=1
start local 0 0: new org.apache.cassandra.db.Directories
dup
aload 0
getstatic org.apache.cassandra.db.ColumnFamilyStore.initialDirectories:[Lorg/apache/cassandra/db/Directories$DataDirectory;
invokespecial org.apache.cassandra.db.Directories.<init>:(Lorg/apache/cassandra/config/CFMetaData;[Lorg/apache/cassandra/db/Directories$DataDirectory;)V
astore 1
start local 1 1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 2: aload 1
invokestatic org.apache.cassandra.db.ColumnFamilyStore.clearEphemeralSnapshots:(Lorg/apache/cassandra/db/Directories;)V
3: aload 1
invokevirtual org.apache.cassandra.db.Directories.removeTemporaryDirectories:()V
4: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Removing temporary or obsoleted files from unfinished operations for table {}"
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
5: aload 0
invokestatic org.apache.cassandra.db.lifecycle.LifecycleTransaction.removeUnfinishedLeftovers:(Lorg/apache/cassandra/config/CFMetaData;)Z
ifne 11
6: new org.apache.cassandra.exceptions.StartupException
dup
iconst_3
7: ldc "Cannot remove temporary or obsoleted files for %s.%s due to a problem with transaction log files. Please check records with problems in the log messages above and fix them. Refer to the 3.0 upgrading instructions in NEWS.txt for a description of transaction log files."
iconst_2
anewarray java.lang.Object
dup
iconst_0
8: aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: invokespecial org.apache.cassandra.exceptions.StartupException.<init>:(ILjava/lang/String;)V
athrow
11: StackMap locals: org.apache.cassandra.db.Directories java.util.Set
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Further extra check for orphan sstable files for {}"
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
12: aload 1
getstatic org.apache.cassandra.db.Directories$OnTxnErr.IGNORE:Lorg/apache/cassandra/db/Directories$OnTxnErr;
invokevirtual org.apache.cassandra.db.Directories.sstableLister:(Lorg/apache/cassandra/db/Directories$OnTxnErr;)Lorg/apache/cassandra/db/Directories$SSTableLister;
invokevirtual org.apache.cassandra.db.Directories$SSTableLister.list:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 33
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories java.util.Set top java.util.Iterator
StackMap stack:
13: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 14: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
astore 5
start local 5 15: aload 5
getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
astore 6
start local 6 16: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Set
astore 7
start local 7 17: aload 2
aload 6
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 23
18: aload 2
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
19: aload 5
invokevirtual org.apache.cassandra.io.sstable.Descriptor.getTemporaryFiles:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 22
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories java.util.Set java.util.Map$Entry java.util.Iterator org.apache.cassandra.io.sstable.Descriptor java.io.File java.util.Set top java.util.Iterator
StackMap stack:
20: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 8
start local 8 21: aload 8
invokevirtual java.io.File.delete:()Z
pop
end local 8 22: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
23: StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories java.util.Set java.util.Map$Entry java.util.Iterator org.apache.cassandra.io.sstable.Descriptor java.io.File java.util.Set
StackMap stack:
new java.io.File
dup
aload 5
getstatic org.apache.cassandra.io.sstable.Component.DATA:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 24: aload 7
getstatic org.apache.cassandra.io.sstable.Component.DATA:Lorg/apache/cassandra/io/sstable/Component;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 26
aload 8
invokevirtual java.io.File.length:()J
lconst_0
lcmp
ifle 26
25: goto 33
26: StackMap locals: java.io.File
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Removing orphans for {}: {}"
aload 5
aload 7
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
27: aload 7
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 32
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories java.util.Set java.util.Map$Entry java.util.Iterator org.apache.cassandra.io.sstable.Descriptor java.io.File java.util.Set java.io.File top java.util.Iterator
StackMap stack:
28: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Component
astore 9
start local 9 29: new java.io.File
dup
aload 5
aload 9
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 11
start local 11 30: aload 11
invokevirtual java.io.File.exists:()Z
ifeq 32
31: aload 5
aload 9
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokestatic org.apache.cassandra.io.util.FileUtils.deleteWithConfirm:(Ljava/lang/String;)V
end local 11 end local 9 32: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 28
end local 8 end local 7 end local 6 end local 5 end local 3 33: StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
34: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-(Key|Row)Cache.*\\.tmp$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 3
start local 3 35: new java.io.File
dup
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getSavedCachesLocation:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 36: aload 4
invokevirtual java.io.File.exists:()Z
ifeq 45
37: getstatic org.apache.cassandra.db.ColumnFamilyStore.$assertionsDisabled:Z
ifne 38
aload 4
invokevirtual java.io.File.isDirectory:()Z
ifne 38
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
38: StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories java.util.Set java.util.regex.Pattern java.io.File
StackMap stack:
aload 4
invokevirtual java.io.File.listFiles:()[Ljava/io/File;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 44
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories java.util.Set java.util.regex.Pattern java.io.File top int int java.io.File[]
StackMap stack:
39: aload 8
iload 6
aaload
astore 5
start local 5 40: aload 3
aload 5
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 43
41: aload 5
invokevirtual java.io.File.delete:()Z
ifne 43
42: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "could not delete {}"
aload 5
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
end local 5 43: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
44: iload 6
iload 7
if_icmplt 39
45: StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories java.util.Set java.util.regex.Pattern java.io.File
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.config.CFMetaData.getIndexes:()Lorg/apache/cassandra/schema/Indexes;
invokevirtual org.apache.cassandra.schema.Indexes.iterator:()Ljava/util/Iterator;
astore 6
goto 50
StackMap locals: org.apache.cassandra.config.CFMetaData org.apache.cassandra.db.Directories java.util.Set java.util.regex.Pattern java.io.File top java.util.Iterator
StackMap stack:
46: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.schema.IndexMetadata
astore 5
start local 5 47: aload 5
invokevirtual org.apache.cassandra.schema.IndexMetadata.isCustom:()Z
ifne 50
48: aload 0
aload 5
invokestatic org.apache.cassandra.index.internal.CassandraIndex.indexCfsMetadata:(Lorg/apache/cassandra/config/CFMetaData;Lorg/apache/cassandra/schema/IndexMetadata;)Lorg/apache/cassandra/config/CFMetaData;
astore 7
start local 7 49: aload 7
invokestatic org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories:(Lorg/apache/cassandra/config/CFMetaData;)V
end local 7 end local 5 50: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 46
51: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 metadata Lorg/apache/cassandra/config/CFMetaData;
1 52 1 directories Lorg/apache/cassandra/db/Directories;
2 52 2 cleanedDirectories Ljava/util/Set<Ljava/io/File;>;
14 33 3 sstableFiles Ljava/util/Map$Entry<Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/util/Set<Lorg/apache/cassandra/io/sstable/Component;>;>;
15 33 5 desc Lorg/apache/cassandra/io/sstable/Descriptor;
16 33 6 directory Ljava/io/File;
17 33 7 components Ljava/util/Set<Lorg/apache/cassandra/io/sstable/Component;>;
21 22 8 tmpFile Ljava/io/File;
24 33 8 dataFile Ljava/io/File;
29 32 9 component Lorg/apache/cassandra/io/sstable/Component;
30 32 11 file Ljava/io/File;
35 52 3 tmpCacheFilePattern Ljava/util/regex/Pattern;
36 52 4 dir Ljava/io/File;
40 43 5 file Ljava/io/File;
47 50 5 index Lorg/apache/cassandra/schema/IndexMetadata;
49 50 7 indexMetadata Lorg/apache/cassandra/config/CFMetaData;
Exceptions:
throws org.apache.cassandra.exceptions.StartupException
MethodParameters:
Name Flags
metadata
public static void loadNewSSTables(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/lang/String;)Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.loadNewSSTables:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ksName Ljava/lang/String;
0 3 1 cfName Ljava/lang/String;
1 3 2 keyspace Lorg/apache/cassandra/db/Keyspace;
MethodParameters:
Name Flags
ksName
cfName
public synchronized void loadNewSSTables();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=9, locals=10, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Loading new SSTables for {}/{}..."
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 2: aload 0
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.Set top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 2
start local 2 4: aload 1
aload 2
getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 7: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
getstatic org.apache.cassandra.db.Directories$OnTxnErr.IGNORE:Lorg/apache/cassandra/db/Directories$OnTxnErr;
invokevirtual org.apache.cassandra.db.Directories.sstableLister:(Lorg/apache/cassandra/db/Directories$OnTxnErr;)Lorg/apache/cassandra/db/Directories$SSTableLister;
iconst_1
invokevirtual org.apache.cassandra.db.Directories$SSTableLister.skipTemporary:(Z)Lorg/apache/cassandra/db/Directories$SSTableLister;
astore 3
start local 3 8: aload 3
invokevirtual org.apache.cassandra.db.Directories$SSTableLister.list:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 51
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.Set java.util.Set org.apache.cassandra.db.Directories$SSTableLister top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 10: aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
astore 6
start local 6 11: aload 1
aload 6
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 13
12: goto 51
13: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.Set java.util.Set org.apache.cassandra.db.Directories$SSTableLister java.util.Map$Entry java.util.Iterator org.apache.cassandra.io.sstable.Descriptor
StackMap stack:
aload 6
invokevirtual org.apache.cassandra.io.sstable.Descriptor.isCompatible:()Z
ifne 18
14: new java.lang.RuntimeException
dup
ldc "Can't open incompatible SSTable! Current version %s, found file: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
15: aload 6
invokevirtual org.apache.cassandra.io.sstable.Descriptor.getFormat:()Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getLatestVersion:()Lorg/apache/cassandra/io/sstable/format/Version;
aastore
dup
iconst_1
16: aload 6
aastore
17: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 6
getstatic org.apache.cassandra.io.sstable.Component.STATS:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.exists:()Z
ifeq 25
19: aload 6
invokevirtual org.apache.cassandra.io.sstable.Descriptor.getMetadataSerializer:()Lorg/apache/cassandra/io/sstable/metadata/IMetadataSerializer;
aload 6
iconst_0
invokeinterface org.apache.cassandra.io.sstable.metadata.IMetadataSerializer.mutateLevel:(Lorg/apache/cassandra/io/sstable/Descriptor;I)V
20: goto 25
21: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 22: new org.apache.cassandra.io.sstable.CorruptSSTableException
dup
aload 7
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
getstatic org.apache.cassandra.io.sstable.Component.STATS:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokespecial org.apache.cassandra.io.sstable.CorruptSSTableException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
invokestatic org.apache.cassandra.io.util.FileUtils.handleCorruptSSTable:(Lorg/apache/cassandra/io/sstable/CorruptSSTableException;)V
23: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Cannot read sstable {}; other IO error, skipping table"
aload 4
aload 7
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
24: goto 51
end local 7 25: StackMap locals:
StackMap stack:
new org.apache.cassandra.io.sstable.Descriptor
dup
aload 6
getfield org.apache.cassandra.io.sstable.Descriptor.version:Lorg/apache/cassandra/io/sstable/format/Version;
26: aload 6
getfield org.apache.cassandra.io.sstable.Descriptor.directory:Ljava/io/File;
27: aload 6
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
28: aload 6
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
29: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.fileIndexGenerator:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
30: aload 6
getfield org.apache.cassandra.io.sstable.Descriptor.formatType:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
31: aload 6
getfield org.apache.cassandra.io.sstable.Descriptor.digestComponent:Lorg/apache/cassandra/io/sstable/Component;
32: invokespecial org.apache.cassandra.io.sstable.Descriptor.<init>:(Lorg/apache/cassandra/io/sstable/format/Version;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;Lorg/apache/cassandra/io/sstable/Component;)V
astore 7
start local 7 33: new java.io.File
dup
aload 7
getstatic org.apache.cassandra.io.sstable.Component.DATA:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.exists:()Z
ifne 25
34: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Renaming new SSTable {} to {}"
aload 6
aload 7
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
35: aload 6
aload 7
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Set
invokestatic org.apache.cassandra.io.sstable.format.SSTableWriter.rename:(Lorg/apache/cassandra/io/sstable/Descriptor;Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/util/Set;)V
36: aload 7
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Set
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokestatic org.apache.cassandra.io.sstable.format.SSTableReader.open:(Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/util/Set;Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
astore 8
start local 8 37: goto 50
end local 8 38: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.Set java.util.Set org.apache.cassandra.db.Directories$SSTableLister java.util.Map$Entry java.util.Iterator org.apache.cassandra.io.sstable.Descriptor org.apache.cassandra.io.sstable.Descriptor
StackMap stack: org.apache.cassandra.io.sstable.CorruptSSTableException
astore 9
start local 9 39: aload 9
invokestatic org.apache.cassandra.io.util.FileUtils.handleCorruptSSTable:(Lorg/apache/cassandra/io/sstable/CorruptSSTableException;)V
40: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Corrupt sstable {}; skipping table"
aload 4
aload 9
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
41: goto 51
end local 9 42: StackMap locals:
StackMap stack: org.apache.cassandra.io.FSError
astore 9
start local 9 43: aload 9
invokestatic org.apache.cassandra.io.util.FileUtils.handleFSError:(Lorg/apache/cassandra/io/FSError;)V
44: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Cannot read sstable {}; file system error, skipping table"
aload 4
aload 9
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
45: goto 51
end local 9 46: StackMap locals:
StackMap stack: java.io.IOException
astore 9
start local 9 47: new org.apache.cassandra.io.sstable.CorruptSSTableException
dup
aload 9
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
getstatic org.apache.cassandra.io.sstable.Component.DATA:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokespecial org.apache.cassandra.io.sstable.CorruptSSTableException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
invokestatic org.apache.cassandra.io.util.FileUtils.handleCorruptSSTable:(Lorg/apache/cassandra/io/sstable/CorruptSSTableException;)V
48: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Cannot read sstable {}; other IO error, skipping table"
aload 4
aload 9
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
49: goto 51
end local 9 start local 8 50: StackMap locals: org.apache.cassandra.io.sstable.format.SSTableReader
StackMap stack:
aload 2
aload 8
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 6 end local 4 51: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.Set java.util.Set org.apache.cassandra.db.Directories$SSTableLister top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
52: aload 2
invokeinterface java.util.Set.isEmpty:()Z
ifeq 55
53: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "No new SSTables were found for {}/{}"
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
54: return
55: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.Set java.util.Set org.apache.cassandra.db.Directories$SSTableLister
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Loading new SSTables and building secondary indexes for {}/{}: {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
aastore
dup
iconst_2
aload 2
aastore
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
56: aconst_null
astore 4
aconst_null
astore 5
57: aload 2
invokestatic org.apache.cassandra.utils.concurrent.Refs.ref:(Ljava/lang/Iterable;)Lorg/apache/cassandra/utils/concurrent/Refs;
astore 6
start local 6 58: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 2
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.addSSTables:(Ljava/lang/Iterable;)V
59: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
aload 2
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.buildAllIndexesBlocking:(Ljava/util/Collection;)V
60: aload 6
ifnull 66
aload 6
invokevirtual org.apache.cassandra.utils.concurrent.Refs.close:()V
goto 66
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.Set java.util.Set org.apache.cassandra.db.Directories$SSTableLister java.lang.Throwable java.lang.Throwable org.apache.cassandra.utils.concurrent.Refs
StackMap stack: java.lang.Throwable
61: astore 4
aload 6
ifnull 62
aload 6
invokevirtual org.apache.cassandra.utils.concurrent.Refs.close:()V
end local 6 StackMap locals:
StackMap stack:
62: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
63: astore 5
aload 4
ifnonnull 64
aload 5
astore 4
goto 65
StackMap locals:
StackMap stack:
64: aload 4
aload 5
if_acmpeq 65
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
65: aload 4
athrow
66: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Done loading load new SSTables for {}/{}"
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
67: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 68 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
2 68 1 currentDescriptors Ljava/util/Set<Lorg/apache/cassandra/io/sstable/Descriptor;>;
4 5 2 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
7 68 2 newSSTables Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
8 68 3 lister Lorg/apache/cassandra/db/Directories$SSTableLister;
10 51 4 entry Ljava/util/Map$Entry<Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/util/Set<Lorg/apache/cassandra/io/sstable/Component;>;>;
11 51 6 descriptor Lorg/apache/cassandra/io/sstable/Descriptor;
22 25 7 e Ljava/io/IOException;
33 51 7 newDescriptor Lorg/apache/cassandra/io/sstable/Descriptor;
37 38 8 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
50 51 8 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
39 42 9 ex Lorg/apache/cassandra/io/sstable/CorruptSSTableException;
43 46 9 ex Lorg/apache/cassandra/io/FSError;
47 50 9 ex Ljava/io/IOException;
58 62 6 refs Lorg/apache/cassandra/utils/concurrent/Refs<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
Exception table:
from to target type
18 20 21 Class java.io.IOException
36 37 38 Class org.apache.cassandra.io.sstable.CorruptSSTableException
36 37 42 Class org.apache.cassandra.io.FSError
36 37 46 Class java.io.IOException
58 60 61 any
57 63 63 any
public void rebuildSecondaryIndex(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokestatic org.apache.cassandra.db.ColumnFamilyStore.rebuildSecondaryIndex:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 idxName Ljava/lang/String;
MethodParameters:
Name Flags
idxName
public static void rebuildSecondaryIndex(java.lang.String, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
aload 1
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/lang/String;)Lorg/apache/cassandra/db/ColumnFamilyStore;
astore 3
start local 3 1: new java.util.HashSet
dup
aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 2: aload 3
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
astore 5
start local 5 3: aconst_null
astore 6
aconst_null
astore 7
4: aload 5
invokestatic org.apache.cassandra.utils.concurrent.Refs.ref:(Ljava/lang/Iterable;)Lorg/apache/cassandra/utils/concurrent/Refs;
astore 8
start local 8 5: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "User Requested secondary index re-build for {}/{} indexes: {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
bipush 44
invokestatic com.google.common.base.Joiner.on:(C)Lcom/google/common/base/Joiner;
aload 2
invokevirtual com.google.common.base.Joiner.join:([Ljava/lang/Object;)Ljava/lang/String;
aastore
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
6: aload 3
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
aload 8
aload 4
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.rebuildIndexesBlocking:(Ljava/util/Collection;Ljava/util/Set;)V
7: aload 8
ifnull 13
aload 8
invokevirtual org.apache.cassandra.utils.concurrent.Refs.close:()V
goto 13
StackMap locals: java.lang.String java.lang.String java.lang.String[] org.apache.cassandra.db.ColumnFamilyStore java.util.Set java.lang.Iterable java.lang.Throwable java.lang.Throwable org.apache.cassandra.utils.concurrent.Refs
StackMap stack: java.lang.Throwable
8: astore 6
aload 8
ifnull 9
aload 8
invokevirtual org.apache.cassandra.utils.concurrent.Refs.close:()V
end local 8 StackMap locals:
StackMap stack:
9: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 7
aload 6
ifnonnull 11
aload 7
astore 6
goto 12
StackMap locals:
StackMap stack:
11: aload 6
aload 7
if_acmpeq 12
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 6
athrow
13: StackMap locals:
StackMap stack:
return
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 14 0 ksName Ljava/lang/String;
0 14 1 cfName Ljava/lang/String;
0 14 2 idxNames [Ljava/lang/String;
1 14 3 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
2 14 4 indexes Ljava/util/Set<Ljava/lang/String;>;
3 14 5 sstables Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
5 9 8 refs Lorg/apache/cassandra/utils/concurrent/Refs<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
Exception table:
from to target type
5 7 8 any
4 10 10 any
MethodParameters:
Name Flags
ksName
cfName
idxNames
public java.lang.String getColumnFamilyName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTableName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.lang.String getTableName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public java.lang.String getSSTablePath(java.io.File);
descriptor: (Ljava/io/File;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.cassandra.io.sstable.format.SSTableFormat$Type.current:()Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getLatestVersion:()Lorg/apache/cassandra/io/sstable/format/Version;
invokestatic org.apache.cassandra.io.sstable.format.SSTableFormat$Type.current:()Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTablePath:(Ljava/io/File;Lorg/apache/cassandra/io/sstable/format/Version;Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 directory Ljava/io/File;
MethodParameters:
Name Flags
directory
public java.lang.String getSSTablePath(java.io.File, org.apache.cassandra.io.sstable.format.SSTableFormat$Type);
descriptor: (Ljava/io/File;Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Ljava/lang/String;
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
getfield org.apache.cassandra.io.sstable.format.SSTableFormat$Type.info:Lorg/apache/cassandra/io/sstable/format/SSTableFormat;
invokeinterface org.apache.cassandra.io.sstable.format.SSTableFormat.getLatestVersion:()Lorg/apache/cassandra/io/sstable/format/Version;
aload 2
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTablePath:(Ljava/io/File;Lorg/apache/cassandra/io/sstable/format/Version;Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 directory Ljava/io/File;
0 1 2 format Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
MethodParameters:
Name Flags
directory
format
private java.lang.String getSSTablePath(java.io.File, org.apache.cassandra.io.sstable.format.Version, org.apache.cassandra.io.sstable.format.SSTableFormat$Type);
descriptor: (Ljava/io/File;Lorg/apache/cassandra/io/sstable/format/Version;Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.cassandra.io.sstable.Descriptor
dup
aload 2
1: aload 1
2: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
3: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
4: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.fileIndexGenerator:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
5: aload 3
6: getstatic org.apache.cassandra.io.sstable.format.big.BigFormat.latestVersion:Lorg/apache/cassandra/io/sstable/format/Version;
invokevirtual org.apache.cassandra.io.sstable.format.Version.uncompressedChecksumType:()Lorg/apache/cassandra/utils/ChecksumType;
invokestatic org.apache.cassandra.io.sstable.Component.digestFor:(Lorg/apache/cassandra/utils/ChecksumType;)Lorg/apache/cassandra/io/sstable/Component;
7: invokespecial org.apache.cassandra.io.sstable.Descriptor.<init>:(Lorg/apache/cassandra/io/sstable/format/Version;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;Lorg/apache/cassandra/io/sstable/Component;)V
astore 4
start local 4 8: aload 4
getstatic org.apache.cassandra.io.sstable.Component.DATA:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
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/ColumnFamilyStore;
0 9 1 directory Ljava/io/File;
0 9 2 version Lorg/apache/cassandra/io/sstable/format/Version;
0 9 3 format Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
8 9 4 desc Lorg/apache/cassandra/io/sstable/Descriptor;
MethodParameters:
Name Flags
directory
version
format
public com.google.common.util.concurrent.ListenableFuture<org.apache.cassandra.db.commitlog.CommitLogPosition> switchMemtableIfCurrent(org.apache.cassandra.db.Memtable);
descriptor: (Lorg/apache/cassandra/db/Memtable;)Lcom/google/common/util/concurrent/ListenableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
invokevirtual org.apache.cassandra.db.lifecycle.View.getCurrentMemtable:()Lorg/apache/cassandra/db/Memtable;
aload 1
if_acmpne 4
2: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.switchMemtable:()Lcom/google/common/util/concurrent/ListenableFuture;
aload 2
monitorexit
3: areturn
4: StackMap locals: org.apache.cassandra.db.lifecycle.Tracker
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.waitForFlushes:()Lcom/google/common/util/concurrent/ListenableFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 9 1 memtable Lorg/apache/cassandra/db/Memtable;
Exception table:
from to target type
1 3 6 any
4 5 6 any
6 7 6 any
Signature: (Lorg/apache/cassandra/db/Memtable;)Lcom/google/common/util/concurrent/ListenableFuture<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
MethodParameters:
Name Flags
memtable
public com.google.common.util.concurrent.ListenableFuture<org.apache.cassandra.db.commitlog.CommitLogPosition> switchMemtable();
descriptor: ()Lcom/google/common/util/concurrent/ListenableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
dup
astore 1
monitorenter
1: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.logFlush:()V
2: new org.apache.cassandra.db.ColumnFamilyStore$Flush
dup
aload 0
iconst_0
invokespecial org.apache.cassandra.db.ColumnFamilyStore$Flush.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Z)V
astore 2
start local 2 3: getstatic org.apache.cassandra.db.ColumnFamilyStore.flushExecutor:Ljava/util/concurrent/ExecutorService;
aload 2
invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
4: getstatic org.apache.cassandra.db.ColumnFamilyStore.postFlushExecutor:Ljava/util/concurrent/ExecutorService;
aload 2
getfield org.apache.cassandra.db.ColumnFamilyStore$Flush.postFlushTask:Lcom/google/common/util/concurrent/ListenableFutureTask;
invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
5: aload 2
getfield org.apache.cassandra.db.ColumnFamilyStore$Flush.postFlushTask:Lcom/google/common/util/concurrent/ListenableFutureTask;
aload 1
monitorexit
6: areturn
end local 2 7: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.lifecycle.Tracker
StackMap stack: java.lang.Throwable
aload 1
monitorexit
8: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
3 7 2 flush Lorg/apache/cassandra/db/ColumnFamilyStore$Flush;
Exception table:
from to target type
1 6 7 any
7 8 7 any
Signature: ()Lcom/google/common/util/concurrent/ListenableFuture<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
private void logFlush();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=11, args_size=1
start local 0 0: fconst_0
fstore 1
start local 1 1: fconst_0
fstore 2
start local 2 2: lconst_0
lstore 3
start local 3 3: lconst_0
lstore 5
start local 5 4: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTracker:()Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
invokevirtual org.apache.cassandra.db.lifecycle.View.getCurrentMemtable:()Lorg/apache/cassandra/db/Memtable;
astore 7
start local 7 5: fload 1
aload 7
invokevirtual org.apache.cassandra.db.Memtable.getAllocator:()Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.onHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.ownershipRatio:()F
fadd
fstore 1
6: fload 2
aload 7
invokevirtual org.apache.cassandra.db.Memtable.getAllocator:()Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.offHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.ownershipRatio:()F
fadd
fstore 2
7: lload 3
aload 7
invokevirtual org.apache.cassandra.db.Memtable.getAllocator:()Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.onHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.owns:()J
ladd
lstore 3
8: lload 5
aload 7
invokevirtual org.apache.cassandra.db.Memtable.getAllocator:()Lorg/apache/cassandra/utils/memory/MemtableAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.offHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.owns:()J
ladd
lstore 5
9: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.getAllIndexColumnFamilyStores:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 16
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore float float long long org.apache.cassandra.db.Memtable top java.util.Iterator
StackMap stack:
10: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 8
start local 8 11: aload 8
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTracker:()Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
invokevirtual org.apache.cassandra.db.lifecycle.View.getCurrentMemtable:()Lorg/apache/cassandra/db/Memtable;
invokevirtual org.apache.cassandra.db.Memtable.getAllocator:()Lorg/apache/cassandra/utils/memory/MemtableAllocator;
astore 10
start local 10 12: fload 1
aload 10
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.onHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.ownershipRatio:()F
fadd
fstore 1
13: fload 2
aload 10
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.offHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.ownershipRatio:()F
fadd
fstore 2
14: lload 3
aload 10
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.onHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.owns:()J
ladd
lstore 3
15: lload 5
aload 10
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator.offHeap:()Lorg/apache/cassandra/utils/memory/MemtableAllocator$SubAllocator;
invokevirtual org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator.owns:()J
ladd
lstore 5
end local 10 end local 8 16: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
17: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Enqueuing flush of {}: {}"
18: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
19: ldc "%s (%.0f%%) on-heap, %s (%.0f%%) off-heap"
iconst_4
anewarray java.lang.Object
dup
iconst_0
20: lload 3
invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
aastore
dup
iconst_1
21: fload 1
ldc 100.0
fmul
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
dup
iconst_2
22: lload 5
invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
aastore
dup
iconst_3
23: fload 2
ldc 100.0
fmul
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
24: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
25: invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
26: return
end local 7 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/ColumnFamilyStore;
1 27 1 onHeapRatio F
2 27 2 offHeapRatio F
3 27 3 onHeapTotal J
4 27 5 offHeapTotal J
5 27 7 memtable Lorg/apache/cassandra/db/Memtable;
11 16 8 indexCfs Lorg/apache/cassandra/db/ColumnFamilyStore;
12 16 10 allocator Lorg/apache/cassandra/utils/memory/MemtableAllocator;
public com.google.common.util.concurrent.ListenableFuture<org.apache.cassandra.db.commitlog.CommitLogPosition> forceFlush();
descriptor: ()Lcom/google/common/util/concurrent/ListenableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
invokevirtual org.apache.cassandra.db.lifecycle.View.getCurrentMemtable:()Lorg/apache/cassandra/db/Memtable;
astore 2
start local 2 2: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.concatWithIndexes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.lifecycle.Tracker org.apache.cassandra.db.Memtable top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 3
start local 3 4: aload 3
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
invokevirtual org.apache.cassandra.db.lifecycle.View.getCurrentMemtable:()Lorg/apache/cassandra/db/Memtable;
invokevirtual org.apache.cassandra.db.Memtable.isClean:()Z
ifne 7
5: aload 0
aload 2
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.switchMemtableIfCurrent:(Lorg/apache/cassandra/db/Memtable;)Lcom/google/common/util/concurrent/ListenableFuture;
aload 1
monitorexit
6: areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.waitForFlushes:()Lcom/google/common/util/concurrent/ListenableFuture;
aload 1
monitorexit
9: areturn
end local 2 10: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.lifecycle.Tracker
StackMap stack: java.lang.Throwable
aload 1
monitorexit
11: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
2 10 2 current Lorg/apache/cassandra/db/Memtable;
4 7 3 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
Exception table:
from to target type
1 6 10 any
7 9 10 any
10 11 10 any
Signature: ()Lcom/google/common/util/concurrent/ListenableFuture<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
public com.google.common.util.concurrent.ListenableFuture<?> forceFlush(org.apache.cassandra.db.commitlog.CommitLogPosition);
descriptor: (Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)Lcom/google/common/util/concurrent/ListenableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
invokevirtual org.apache.cassandra.db.lifecycle.View.getCurrentMemtable:()Lorg/apache/cassandra/db/Memtable;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual org.apache.cassandra.db.Memtable.mayContainDataBefore:(Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)Z
ifeq 3
2: aload 0
aload 2
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.switchMemtableIfCurrent:(Lorg/apache/cassandra/db/Memtable;)Lcom/google/common/util/concurrent/ListenableFuture;
areturn
3: StackMap locals: org.apache.cassandra.db.Memtable
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.waitForFlushes:()Lcom/google/common/util/concurrent/ListenableFuture;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 4 1 flushIfDirtyBefore Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
1 4 2 current Lorg/apache/cassandra/db/Memtable;
Signature: (Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)Lcom/google/common/util/concurrent/ListenableFuture<*>;
MethodParameters:
Name Flags
flushIfDirtyBefore
private com.google.common.util.concurrent.ListenableFuture<org.apache.cassandra.db.commitlog.CommitLogPosition> waitForFlushes();
descriptor: ()Lcom/google/common/util/concurrent/ListenableFuture;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
invokevirtual org.apache.cassandra.db.lifecycle.View.getCurrentMemtable:()Lorg/apache/cassandra/db/Memtable;
astore 1
start local 1 1: aload 0
aload 1
invokedynamic call(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Memtable;)Ljava/util/concurrent/Callable;
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;
org/apache/cassandra/db/ColumnFamilyStore.lambda$0(Lorg/apache/cassandra/db/Memtable;)Lorg/apache/cassandra/db/commitlog/CommitLogPosition; (7)
()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
invokestatic com.google.common.util.concurrent.ListenableFutureTask.create:(Ljava/util/concurrent/Callable;)Lcom/google/common/util/concurrent/ListenableFutureTask;
astore 2
start local 2 2: getstatic org.apache.cassandra.db.ColumnFamilyStore.postFlushExecutor:Ljava/util/concurrent/ExecutorService;
aload 2
invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
1 4 1 current Lorg/apache/cassandra/db/Memtable;
2 4 2 task Lcom/google/common/util/concurrent/ListenableFutureTask<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
Signature: ()Lcom/google/common/util/concurrent/ListenableFuture<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
public org.apache.cassandra.db.commitlog.CommitLogPosition forceBlockingFlush();
descriptor: ()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.forceFlush:()Lcom/google/common/util/concurrent/ListenableFuture;
invokestatic org.apache.cassandra.utils.FBUtilities.waitOnFuture:(Ljava/util/concurrent/Future;)Ljava/lang/Object;
checkcast org.apache.cassandra.db.commitlog.CommitLogPosition
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
private static void setCommitLogUpperBound(java.util.concurrent.atomic.AtomicReference<org.apache.cassandra.db.commitlog.CommitLogPosition>);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
new org.apache.cassandra.db.Memtable$LastCommitLogPosition
dup
getstatic org.apache.cassandra.db.commitlog.CommitLog.instance:Lorg/apache/cassandra/db/commitlog/CommitLog;
invokevirtual org.apache.cassandra.db.commitlog.CommitLog.getCurrentPosition:()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
invokespecial org.apache.cassandra.db.Memtable$LastCommitLogPosition.<init>:(Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)V
astore 1
start local 1 1: aload 0
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.commitlog.CommitLogPosition
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
aload 1
invokevirtual org.apache.cassandra.db.commitlog.CommitLogPosition.compareTo:(Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)I
ifgt 0
3: StackMap locals: org.apache.cassandra.db.commitlog.CommitLogPosition org.apache.cassandra.db.commitlog.CommitLogPosition
StackMap stack:
aload 0
aload 2
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
end local 2 4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 commitLogUpperBound Ljava/util/concurrent/atomic/AtomicReference<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
1 5 1 lastReplayPosition Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
2 4 2 currentLast Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
Signature: (Ljava/util/concurrent/atomic/AtomicReference<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;)V
MethodParameters:
Name Flags
commitLogUpperBound
private static java.lang.String ratio(float, float);
descriptor: (FF)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc "%.2f/%.2f"
iconst_2
anewarray java.lang.Object
dup
iconst_0
fload 0
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
dup
iconst_1
fload 1
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 onHeap F
0 1 1 offHeap F
MethodParameters:
Name Flags
onHeap
offHeap
public void apply(org.apache.cassandra.db.partitions.PartitionUpdate, org.apache.cassandra.index.transactions.UpdateTransaction, org.apache.cassandra.utils.concurrent.OpOrder$Group, org.apache.cassandra.db.commitlog.CommitLogPosition);
descriptor: (Lorg/apache/cassandra/db/partitions/PartitionUpdate;Lorg/apache/cassandra/index/transactions/UpdateTransaction;Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 3
aload 4
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getMemtableFor:(Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;Lorg/apache/cassandra/db/commitlog/CommitLogPosition;)Lorg/apache/cassandra/db/Memtable;
astore 7
start local 7 2: aload 7
aload 1
aload 2
aload 3
invokevirtual org.apache.cassandra.db.Memtable.put:(Lorg/apache/cassandra/db/partitions/PartitionUpdate;Lorg/apache/cassandra/index/transactions/UpdateTransaction;Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;)J
lstore 8
start local 8 3: aload 1
invokevirtual org.apache.cassandra.db.partitions.PartitionUpdate.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
astore 10
start local 10 4: aload 0
aload 10
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.invalidateCachedPartition:(Lorg/apache/cassandra/db/DecoratedKey;)V
5: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.samplers:Ljava/util/Map;
getstatic org.apache.cassandra.metrics.TableMetrics$Sampler.WRITES:Lorg/apache/cassandra/metrics/TableMetrics$Sampler;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.TopKSampler
aload 10
invokevirtual org.apache.cassandra.db.DecoratedKey.getKey:()Ljava/nio/ByteBuffer;
aload 10
invokevirtual org.apache.cassandra.db.DecoratedKey.hashCode:()I
i2l
iconst_1
invokevirtual org.apache.cassandra.utils.TopKSampler.addSample:(Ljava/lang/Object;JI)V
6: getstatic org.apache.cassandra.db.StorageHook.instance:Lorg/apache/cassandra/db/StorageHook;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.cfId:Ljava/util/UUID;
aload 1
invokeinterface org.apache.cassandra.db.StorageHook.reportWrite:(Ljava/util/UUID;Lorg/apache/cassandra/db/partitions/PartitionUpdate;)V
7: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.writeLatency:Lorg/apache/cassandra/metrics/LatencyMetrics;
invokestatic java.lang.System.nanoTime:()J
lload 5
lsub
invokevirtual org.apache.cassandra.metrics.LatencyMetrics.addNano:(J)V
8: lload 8
ldc 9223372036854775807
lcmp
ifge 16
9: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.colUpdateTimeDeltaHistogram:Lorg/apache/cassandra/metrics/TableMetrics$TableHistogram;
ldc 18165375903306
lload 8
invokestatic java.lang.Math.min:(JJ)J
invokevirtual org.apache.cassandra.metrics.TableMetrics$TableHistogram.update:(J)V
end local 10 end local 8 end local 7 10: goto 16
11: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.partitions.PartitionUpdate org.apache.cassandra.index.transactions.UpdateTransaction org.apache.cassandra.utils.concurrent.OpOrder$Group org.apache.cassandra.db.commitlog.CommitLogPosition long
StackMap stack: java.lang.RuntimeException
astore 7
start local 7 12: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
aload 7
invokevirtual java.lang.RuntimeException.getMessage:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: ldc " for ks: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", table: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 7
15: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 16: StackMap locals:
StackMap stack:
return
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 17 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 17 1 update Lorg/apache/cassandra/db/partitions/PartitionUpdate;
0 17 2 indexer Lorg/apache/cassandra/index/transactions/UpdateTransaction;
0 17 3 opGroup Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
0 17 4 commitLogPosition Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
1 17 5 start J
2 10 7 mt Lorg/apache/cassandra/db/Memtable;
3 10 8 timeDelta J
4 10 10 key Lorg/apache/cassandra/db/DecoratedKey;
12 16 7 e Ljava/lang/RuntimeException;
Exception table:
from to target type
1 10 11 Class java.lang.RuntimeException
MethodParameters:
Name Flags
update
indexer
opGroup
commitLogPosition
public java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader> getOverlappingLiveSSTables(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Checking for sstables overlapping {}"
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
2: invokestatic com.google.common.collect.ImmutableSet.of:()Lcom/google/common/collect/ImmutableSet;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
astore 2
start local 2 4: aload 1
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/lang/Iterable;)Ljava/util/ArrayList;
astore 3
start local 3 5: aload 3
invokedynamic compare()Ljava/util/Comparator;
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;Ljava/lang/Object;)I
org/apache/cassandra/db/ColumnFamilyStore.lambda$1(Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/io/sstable/format/SSTableReader;)I (6)
(Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/io/sstable/format/SSTableReader;)I
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 7: aconst_null
astore 5
start local 5 8: aconst_null
astore 6
start local 6 9: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 22
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable org.apache.cassandra.db.lifecycle.View java.util.List java.util.List org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.DecoratedKey top java.util.Iterator
StackMap stack:
10: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 7
start local 7 11: aload 5
ifnonnull 15
12: aload 7
getfield org.apache.cassandra.io.sstable.format.SSTableReader.first:Lorg/apache/cassandra/db/DecoratedKey;
astore 5
13: aload 7
getfield org.apache.cassandra.io.sstable.format.SSTableReader.last:Lorg/apache/cassandra/db/DecoratedKey;
astore 6
14: goto 22
15: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable org.apache.cassandra.db.lifecycle.View java.util.List java.util.List org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.DecoratedKey org.apache.cassandra.io.sstable.format.SSTableReader java.util.Iterator
StackMap stack:
aload 7
getfield org.apache.cassandra.io.sstable.format.SSTableReader.first:Lorg/apache/cassandra/db/DecoratedKey;
aload 6
invokevirtual org.apache.cassandra.db.DecoratedKey.compareTo:(Lorg/apache/cassandra/db/PartitionPosition;)I
ifgt 19
16: aload 7
getfield org.apache.cassandra.io.sstable.format.SSTableReader.last:Lorg/apache/cassandra/db/DecoratedKey;
aload 6
invokevirtual org.apache.cassandra.db.DecoratedKey.compareTo:(Lorg/apache/cassandra/db/PartitionPosition;)I
ifle 22
17: aload 7
getfield org.apache.cassandra.io.sstable.format.SSTableReader.last:Lorg/apache/cassandra/db/DecoratedKey;
astore 6
18: goto 22
19: StackMap locals:
StackMap stack:
aload 4
aload 5
iconst_1
aload 6
iconst_1
invokestatic org.apache.cassandra.dht.AbstractBounds.bounds:(Lorg/apache/cassandra/dht/RingPosition;ZLorg/apache/cassandra/dht/RingPosition;Z)Lorg/apache/cassandra/dht/AbstractBounds;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: aload 7
getfield org.apache.cassandra.io.sstable.format.SSTableReader.first:Lorg/apache/cassandra/db/DecoratedKey;
astore 5
21: aload 7
getfield org.apache.cassandra.io.sstable.format.SSTableReader.last:Lorg/apache/cassandra/db/DecoratedKey;
astore 6
end local 7 22: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable org.apache.cassandra.db.lifecycle.View java.util.List java.util.List org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.DecoratedKey top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
23: aload 4
aload 5
iconst_1
aload 6
iconst_1
invokestatic org.apache.cassandra.dht.AbstractBounds.bounds:(Lorg/apache/cassandra/dht/RingPosition;ZLorg/apache/cassandra/dht/RingPosition;Z)Lorg/apache/cassandra/dht/AbstractBounds;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 7
start local 7 25: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 28
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable org.apache.cassandra.db.lifecycle.View java.util.List java.util.List org.apache.cassandra.db.DecoratedKey org.apache.cassandra.db.DecoratedKey java.util.Set top java.util.Iterator
StackMap stack:
26: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.dht.AbstractBounds
astore 8
start local 8 27: aload 7
aload 2
aload 8
getfield org.apache.cassandra.dht.AbstractBounds.left:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.db.PartitionPosition
aload 8
getfield org.apache.cassandra.dht.AbstractBounds.right:Lorg/apache/cassandra/dht/RingPosition;
checkcast org.apache.cassandra.db.PartitionPosition
invokevirtual org.apache.cassandra.db.lifecycle.View.liveSSTablesInBounds:(Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/db/PartitionPosition;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.Iterables.addAll:(Ljava/util/Collection;Ljava/lang/Iterable;)Z
pop
end local 8 28: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
29: aload 7
aload 1
invokestatic com.google.common.collect.ImmutableSet.copyOf:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet;
invokestatic com.google.common.collect.Sets.difference:(Ljava/util/Set;Ljava/util/Set;)Lcom/google/common/collect/Sets$SetView;
areturn
end local 7 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 30 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 30 1 sstables Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
4 30 2 view Lorg/apache/cassandra/db/lifecycle/View;
5 30 3 sortedByFirst Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
7 30 4 bounds Ljava/util/List<Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;>;
8 30 5 first Lorg/apache/cassandra/db/DecoratedKey;
9 30 6 last Lorg/apache/cassandra/db/DecoratedKey;
11 22 7 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
25 30 7 results Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
27 28 8 bound Lorg/apache/cassandra/dht/AbstractBounds<Lorg/apache/cassandra/db/PartitionPosition;>;
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
sstables
public org.apache.cassandra.utils.concurrent.Refs<org.apache.cassandra.io.sstable.format.SSTableReader> getAndReferenceOverlappingLiveSSTables(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/lang/Iterable;)Lorg/apache/cassandra/utils/concurrent/Refs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getOverlappingLiveSSTables:(Ljava/lang/Iterable;)Ljava/util/Collection;
astore 2
start local 2 1: aload 2
invokestatic org.apache.cassandra.utils.concurrent.Refs.tryRef:(Ljava/lang/Iterable;)Lorg/apache/cassandra/utils/concurrent/Refs;
astore 3
start local 3 2: aload 3
ifnull 0
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 4 1 sstables Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
1 4 2 overlapped Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
2 4 3 refs Lorg/apache/cassandra/utils/concurrent/Refs<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Lorg/apache/cassandra/utils/concurrent/Refs<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
sstables
public void addSSTable(org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.ColumnFamilyStore.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getColumnFamilyName:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_1
anewarray org.apache.cassandra.io.sstable.format.SSTableReader
dup
iconst_0
aload 1
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.addSSTables:(Ljava/util/Collection;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 3 1 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
sstable
public void addSSTables(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.addSSTables:(Ljava/lang/Iterable;)V
1: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.submitBackground:(Lorg/apache/cassandra/db/ColumnFamilyStore;)Ljava/util/List;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 3 1 sstables Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)V
MethodParameters:
Name Flags
sstables
public long getExpectedCompactedFileSize(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>, org.apache.cassandra.db.compaction.OperationType);
descriptor: (Ljava/lang/Iterable;Lorg/apache/cassandra/db/compaction/OperationType;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic org.apache.cassandra.db.compaction.OperationType.CLEANUP:Lorg/apache/cassandra/db/compaction/OperationType;
if_acmpne 1
aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.isIndex:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.cassandra.io.sstable.format.SSTableReader.getTotalBytes:(Ljava/lang/Iterable;)J
lreturn
2: StackMap locals:
StackMap stack:
lconst_0
lstore 3
start local 3 3: getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
invokevirtual org.apache.cassandra.service.StorageService.getLocalRanges:(Ljava/lang/String;)Ljava/util/Collection;
astore 5
start local 5 4: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 11
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable org.apache.cassandra.db.compaction.OperationType long java.util.Collection 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: aload 6
aload 5
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getPositionsForRanges:(Ljava/util/Collection;)Ljava/util/List;
astore 8
start local 8 7: aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 10
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable org.apache.cassandra.db.compaction.OperationType long java.util.Collection org.apache.cassandra.io.sstable.format.SSTableReader java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
8: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.Pair
astore 9
start local 9 9: lload 3
aload 9
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
aload 9
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lsub
ladd
lstore 3
end local 9 10: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 8 end local 6 11: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable org.apache.cassandra.db.compaction.OperationType long java.util.Collection top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
12: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.compressionRatio:Lcom/codahale/metrics/Gauge;
invokeinterface com.codahale.metrics.Gauge.getValue:()Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
dstore 6
start local 6 13: dload 6
dconst_0
dcmpl
ifle 15
14: lload 3
l2d
dload 6
dmul
d2l
lstore 3
15: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable org.apache.cassandra.db.compaction.OperationType long java.util.Collection double
StackMap stack:
lload 3
lreturn
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 16 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 16 1 sstables Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 16 2 operation Lorg/apache/cassandra/db/compaction/OperationType;
3 16 3 expectedFileSize J
4 16 5 ranges Ljava/util/Collection<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
6 11 6 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
7 11 8 positions Ljava/util/List<Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;>;
9 10 9 position Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;
13 16 6 compressionRatio D
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Lorg/apache/cassandra/db/compaction/OperationType;)J
MethodParameters:
Name Flags
sstables
operation
public org.apache.cassandra.io.sstable.format.SSTableReader getMaxSizeFile(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/lang/Iterable;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aconst_null
astore 4
start local 4 2: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable long org.apache.cassandra.io.sstable.format.SSTableReader top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 5
start local 5 4: aload 5
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.onDiskLength:()J
lload 2
lcmp
ifle 7
5: aload 5
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.onDiskLength:()J
lstore 2
6: aload 5
astore 4
end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 4
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 9 1 sstables Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
1 9 2 maxSize J
2 9 4 maxFile Lorg/apache/cassandra/io/sstable/format/SSTableReader;
4 7 5 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
sstables
public org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus forceCleanup(int);
descriptor: (I)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
iload 1
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.performCleanup:(Lorg/apache/cassandra/db/ColumnFamilyStore;I)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 jobs I
Exceptions:
throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
MethodParameters:
Name Flags
jobs
public org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus scrub(boolean, boolean, boolean, boolean, int);
descriptor: (ZZZZI)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
iload 2
iload 4
iconst_0
iload 3
iload 5
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.scrub:(ZZZZZI)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
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 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 disableSnapshot Z
0 1 2 skipCorrupted Z
0 1 3 checkData Z
0 1 4 reinsertOverflowedTTL Z
0 1 5 jobs I
Exceptions:
throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
MethodParameters:
Name Flags
disableSnapshot
skipCorrupted
checkData
reinsertOverflowedTTL
jobs
public org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus scrub(boolean, boolean, boolean, boolean, boolean, int);
descriptor: (ZZZZZI)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: iload 1
ifne 2
1: aload 0
new java.lang.StringBuilder
dup
ldc "pre-scrub-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic java.lang.System.currentTimeMillis:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.snapshotWithoutFlush:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
iload 2
iload 5
iload 3
iload 6
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.performScrub:(Lorg/apache/cassandra/db/ColumnFamilyStore;ZZZI)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
start local 7 5: aload 0
aload 7
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.rebuildOnFailedScrub:(Ljava/lang/Throwable;)Z
ifne 7
6: aload 7
athrow
7: StackMap locals: java.lang.Throwable
StackMap stack:
iload 4
ifeq 8
getstatic org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus.ABORTED:Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
goto 9
StackMap locals:
StackMap stack:
8: getstatic org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus.SUCCESSFUL:Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
StackMap locals:
StackMap stack: org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus
9: areturn
end local 7 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 10 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 10 1 disableSnapshot Z
0 10 2 skipCorrupted Z
0 10 3 reinsertOverflowedTTL Z
0 10 4 alwaysFail Z
0 10 5 checkData Z
0 10 6 jobs I
5 10 7 t Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
Exceptions:
throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
disableSnapshot
skipCorrupted
reinsertOverflowedTTL
alwaysFail
checkData
jobs
public boolean rebuildOnFailedScrub(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.isIndex:()Z
ifeq 1
aload 0
invokestatic org.apache.cassandra.index.SecondaryIndexManager.isIndexColumnFamilyStore:(Lorg/apache/cassandra/db/ColumnFamilyStore;)Z
ifne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.truncateBlocking:()V
3: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Rebuilding index for {} because of <{}>"
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 0
invokestatic org.apache.cassandra.index.SecondaryIndexManager.getParentCfs:(Lorg/apache/cassandra/db/ColumnFamilyStore;)Lorg/apache/cassandra/db/ColumnFamilyStore;
astore 2
start local 2 5: getstatic org.apache.cassandra.db.ColumnFamilyStore.$assertionsDisabled:Z
ifne 6
aload 2
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.getAllIndexColumnFamilyStores:()Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore
StackMap stack:
aload 0
invokestatic org.apache.cassandra.index.SecondaryIndexManager.getIndexName:(Lorg/apache/cassandra/db/ColumnFamilyStore;)Ljava/lang/String;
astore 3
start local 3 7: aload 2
aload 3
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.rebuildSecondaryIndex:(Ljava/lang/String;)V
8: iconst_1
ireturn
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/ColumnFamilyStore;
0 9 1 failure Ljava/lang/Throwable;
5 9 2 parentCfs Lorg/apache/cassandra/db/ColumnFamilyStore;
7 9 3 indexName Ljava/lang/String;
MethodParameters:
Name Flags
failure
public org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus verify(boolean);
descriptor: (Z)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
iload 1
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.performVerify:(Lorg/apache/cassandra/db/ColumnFamilyStore;Z)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 extendedVerify Z
Exceptions:
throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
MethodParameters:
Name Flags
extendedVerify
public org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus sstablesRewrite(boolean, int);
descriptor: (ZI)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
iload 1
iload 2
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.performSSTableRewrite:(Lorg/apache/cassandra/db/ColumnFamilyStore;ZI)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 excludeCurrentVersion Z
0 1 2 jobs I
Exceptions:
throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
MethodParameters:
Name Flags
excludeCurrentVersion
jobs
public org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus relocateSSTables(int);
descriptor: (I)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
iload 1
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.relocateSSTables:(Lorg/apache/cassandra/db/ColumnFamilyStore;I)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 jobs I
Exceptions:
throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
MethodParameters:
Name Flags
jobs
public org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus garbageCollect(org.apache.cassandra.schema.CompactionParams$TombstoneOption, int);
descriptor: (Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;I)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
aload 1
iload 2
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.performGarbageCollection:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;I)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 tombstoneOption Lorg/apache/cassandra/schema/CompactionParams$TombstoneOption;
0 1 2 jobs I
Exceptions:
throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
MethodParameters:
Name Flags
tombstoneOption
jobs
public void markObsolete(java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader>, org.apache.cassandra.db.compaction.OperationType);
descriptor: (Ljava/util/Collection;Lorg/apache/cassandra/db/compaction/OperationType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.db.ColumnFamilyStore.$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.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
aload 1
invokestatic com.google.common.base.Predicates.in:(Ljava/util/Collection;)Lcom/google/common/base/Predicate;
aload 2
aconst_null
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.dropSSTables:(Lcom/google/common/base/Predicate;Lorg/apache/cassandra/db/compaction/OperationType;Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 3 1 sstables Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 3 2 compactionType Lorg/apache/cassandra/db/compaction/OperationType;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Lorg/apache/cassandra/db/compaction/OperationType;)V
MethodParameters:
Name Flags
sstables
compactionType
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: (0x0000)
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.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
aload 1
aload 2
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.replaceFlushed:(Lorg/apache/cassandra/db/Memtable;Ljava/util/Collection;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 memtable Lorg/apache/cassandra/db/Memtable;
0 2 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 boolean isValid();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.valid:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public org.apache.cassandra.db.lifecycle.Tracker getTracker();
descriptor: ()Lorg/apache/cassandra/db/lifecycle/Tracker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> getLiveSSTables();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
invokevirtual org.apache.cassandra.db.lifecycle.View.liveSSTables:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
Signature: ()Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
public java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader> getSSTables(org.apache.cassandra.db.lifecycle.SSTableSet);
descriptor: (Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
aload 1
invokevirtual org.apache.cassandra.db.lifecycle.View.select:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 sstableSet Lorg/apache/cassandra/db/lifecycle/SSTableSet;
Signature: (Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
sstableSet
public java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader> getUncompactingSSTables();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getUncompacting:()Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
Signature: ()Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
public boolean isFilterFullyCoveredBy(org.apache.cassandra.db.filter.ClusteringIndexFilter, org.apache.cassandra.db.filter.DataLimits, org.apache.cassandra.db.partitions.CachedPartition, int);
descriptor: (Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;Lorg/apache/cassandra/db/filter/DataLimits;Lorg/apache/cassandra/db/partitions/CachedPartition;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokeinterface org.apache.cassandra.db.partitions.CachedPartition.cachedLiveRows:()I
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.caching:Lorg/apache/cassandra/schema/CachingParams;
invokevirtual org.apache.cassandra.schema.CachingParams.rowsPerPartitionToCache:()I
if_icmpge 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.cassandra.db.filter.ClusteringIndexFilter.isHeadFilter:()Z
ifeq 8
aload 2
aload 3
3: iload 4
4: aload 1
invokeinterface org.apache.cassandra.db.filter.ClusteringIndexFilter.selectsAllPartition:()Z
5: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.enforceStrictLiveness:()Z
6: invokevirtual org.apache.cassandra.db.filter.DataLimits.hasEnoughLiveData:(Lorg/apache/cassandra/db/partitions/CachedPartition;IZZ)Z
7: ifne 10
8: StackMap locals:
StackMap stack:
aload 1
aload 3
invokeinterface org.apache.cassandra.db.filter.ClusteringIndexFilter.isFullyCoveredBy:(Lorg/apache/cassandra/db/partitions/CachedPartition;)Z
ifne 10
9: iconst_0
ireturn
StackMap locals:
StackMap stack:
10: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 11 1 filter Lorg/apache/cassandra/db/filter/ClusteringIndexFilter;
0 11 2 limits Lorg/apache/cassandra/db/filter/DataLimits;
0 11 3 cached Lorg/apache/cassandra/db/partitions/CachedPartition;
0 11 4 nowInSec I
MethodParameters:
Name Flags
filter
limits
cached
nowInSec
public int gcBefore(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.gcGraceSeconds:I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 nowInSec I
MethodParameters:
Name Flags
nowInSec
public org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment selectAndReference(com.google.common.base.Function<org.apache.cassandra.db.lifecycle.View, java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>>);
descriptor: (Lcom/google/common/base/Function;)Lorg/apache/cassandra/db/ColumnFamilyStore$RefViewFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=9, args_size=2
start local 0 start local 1 0: ldc -1
lstore 2
start local 2 1: StackMap locals: long
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.select:(Lcom/google/common/base/Function;)Lorg/apache/cassandra/db/ColumnFamilyStore$ViewFragment;
astore 4
start local 4 2: aload 4
getfield org.apache.cassandra.db.ColumnFamilyStore$ViewFragment.sstables:Ljava/util/List;
invokestatic org.apache.cassandra.utils.concurrent.Refs.tryRef:(Ljava/lang/Iterable;)Lorg/apache/cassandra/utils/concurrent/Refs;
astore 5
start local 5 3: aload 5
ifnull 5
4: new org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment
dup
aload 4
getfield org.apache.cassandra.db.ColumnFamilyStore$ViewFragment.sstables:Ljava/util/List;
aload 4
getfield org.apache.cassandra.db.ColumnFamilyStore$ViewFragment.memtables:Ljava/lang/Iterable;
aload 5
invokespecial org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.<init>:(Ljava/util/List;Ljava/lang/Iterable;Lorg/apache/cassandra/utils/concurrent/Refs;)V
areturn
5: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore$ViewFragment org.apache.cassandra.utils.concurrent.Refs
StackMap stack:
lload 2
lconst_0
lcmp
ifgt 8
6: invokestatic java.lang.System.nanoTime:()J
lstore 2
7: goto 1
8: StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lload 2
lsub
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
ldc 100
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lcmp
ifle 1
9: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 10: aload 4
getfield org.apache.cassandra.db.ColumnFamilyStore$ViewFragment.sstables:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 14
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore com.google.common.base.Function long org.apache.cassandra.db.ColumnFamilyStore$ViewFragment org.apache.cassandra.utils.concurrent.Refs java.util.List top java.util.Iterator
StackMap stack:
11: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 7
start local 7 12: aload 7
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.selfRef:()Lorg/apache/cassandra/utils/concurrent/Ref;
invokevirtual org.apache.cassandra.utils.concurrent.Ref.globalCount:()I
ifne 14
13: aload 6
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 14: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
15: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
getstatic org.apache.cassandra.utils.NoSpamLogger$Level.WARN:Lorg/apache/cassandra/utils/NoSpamLogger$Level;
lconst_1
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
16: ldc "Spinning trying to capture readers {}, released: {}, "
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
getfield org.apache.cassandra.db.ColumnFamilyStore$ViewFragment.sstables:Ljava/util/List;
aastore
dup
iconst_1
aload 6
aastore
17: invokestatic org.apache.cassandra.utils.NoSpamLogger.log:(Lorg/slf4j/Logger;Lorg/apache/cassandra/utils/NoSpamLogger$Level;JLjava/util/concurrent/TimeUnit;Ljava/lang/String;[Ljava/lang/Object;)Z
pop
18: invokestatic java.lang.System.nanoTime:()J
lstore 2
end local 6 end local 5 end local 4 19: goto 1
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 20 1 filter Lcom/google/common/base/Function<Lorg/apache/cassandra/db/lifecycle/View;Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;
1 20 2 failingSince J
2 19 4 view Lorg/apache/cassandra/db/ColumnFamilyStore$ViewFragment;
3 19 5 refs Lorg/apache/cassandra/utils/concurrent/Refs<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
10 19 6 released Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
12 14 7 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Lcom/google/common/base/Function<Lorg/apache/cassandra/db/lifecycle/View;Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;)Lorg/apache/cassandra/db/ColumnFamilyStore$RefViewFragment;
MethodParameters:
Name Flags
filter
public org.apache.cassandra.db.ColumnFamilyStore$ViewFragment select(com.google.common.base.Function<org.apache.cassandra.db.lifecycle.View, java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>>);
descriptor: (Lcom/google/common/base/Function;)Lorg/apache/cassandra/db/ColumnFamilyStore$ViewFragment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface com.google.common.base.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Iterable
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/lang/Iterable;)Ljava/util/ArrayList;
astore 3
start local 3 2: new org.apache.cassandra.db.ColumnFamilyStore$ViewFragment
dup
aload 3
aload 2
invokevirtual org.apache.cassandra.db.lifecycle.View.getAllMemtables:()Ljava/lang/Iterable;
invokespecial org.apache.cassandra.db.ColumnFamilyStore$ViewFragment.<init>:(Ljava/util/List;Ljava/lang/Iterable;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 3 1 filter Lcom/google/common/base/Function<Lorg/apache/cassandra/db/lifecycle/View;Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;
1 3 2 view Lorg/apache/cassandra/db/lifecycle/View;
2 3 3 sstables Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
Signature: (Lcom/google/common/base/Function<Lorg/apache/cassandra/db/lifecycle/View;Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;>;)Lorg/apache/cassandra/db/ColumnFamilyStore$ViewFragment;
MethodParameters:
Name Flags
filter
public java.util.List<java.lang.String> getSSTablesForKey(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTablesForKey:(Ljava/lang/String;Z)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 key Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
key
public java.util.List<java.lang.String> getSSTablesForKey(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 1
aload 1
invokestatic org.apache.cassandra.utils.ByteBufferUtil.hexToBytes:(Ljava/lang/String;)Ljava/nio/ByteBuffer;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.getKeyValidator:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 1
invokevirtual org.apache.cassandra.db.marshal.AbstractType.fromString:(Ljava/lang/String;)Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
2: astore 3
start local 3 3: aload 0
aload 3
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 4
start local 4 4: aconst_null
astore 5
aconst_null
astore 6
5: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.readOrdering:Lorg/apache/cassandra/utils/concurrent/OpOrder;
invokevirtual org.apache.cassandra.utils.concurrent.OpOrder.start:()Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
astore 7
start local 7 6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 7: aload 0
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.LIVE:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
aload 4
invokestatic org.apache.cassandra.db.lifecycle.View.select:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;Lorg/apache/cassandra/db/DecoratedKey;)Lcom/google/common/base/Function;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.select:(Lcom/google/common/base/Function;)Lorg/apache/cassandra/db/ColumnFamilyStore$ViewFragment;
getfield org.apache.cassandra.db.ColumnFamilyStore$ViewFragment.sstables:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 11
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String int java.nio.ByteBuffer org.apache.cassandra.db.DecoratedKey java.lang.Throwable java.lang.Throwable org.apache.cassandra.utils.concurrent.OpOrder$Group java.util.List top java.util.Iterator
StackMap stack:
8: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 9
start local 9 9: aload 9
aload 4
getstatic org.apache.cassandra.io.sstable.format.SSTableReader$Operator.EQ:Lorg/apache/cassandra/io/sstable/format/SSTableReader$Operator;
iconst_0
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getPosition:(Lorg/apache/cassandra/db/PartitionPosition;Lorg/apache/cassandra/io/sstable/format/SSTableReader$Operator;Z)Lorg/apache/cassandra/db/RowIndexEntry;
ifnull 11
10: aload 8
aload 9
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getFilename:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 11: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
12: aload 8
13: aload 7
ifnull 14
aload 7
invokevirtual org.apache.cassandra.utils.concurrent.OpOrder$Group.close:()V
14: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String int java.nio.ByteBuffer org.apache.cassandra.db.DecoratedKey java.lang.Throwable java.lang.Throwable org.apache.cassandra.utils.concurrent.OpOrder$Group java.util.List
StackMap stack: java.util.List
areturn
end local 8 StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String int java.nio.ByteBuffer org.apache.cassandra.db.DecoratedKey java.lang.Throwable java.lang.Throwable org.apache.cassandra.utils.concurrent.OpOrder$Group
StackMap stack: java.lang.Throwable
15: astore 5
16: aload 7
ifnull 17
aload 7
invokevirtual org.apache.cassandra.utils.concurrent.OpOrder$Group.close:()V
end local 7 StackMap locals:
StackMap stack:
17: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 6
aload 5
ifnonnull 19
aload 6
astore 5
goto 20
StackMap locals:
StackMap stack:
19: aload 5
aload 6
if_acmpeq 20
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 5
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 21 1 key Ljava/lang/String;
0 21 2 hexFormat Z
3 21 3 keyBuffer Ljava/nio/ByteBuffer;
4 21 4 dk Lorg/apache/cassandra/db/DecoratedKey;
6 17 7 op Lorg/apache/cassandra/utils/concurrent/OpOrder$Group;
7 15 8 files Ljava/util/List<Ljava/lang/String;>;
9 11 9 sstr Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Exception table:
from to target type
6 13 15 any
5 14 18 any
15 18 18 any
Signature: (Ljava/lang/String;Z)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
key
hexFormat
public void beginLocalSampling(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.samplers:Ljava/util/Map;
aload 1
invokestatic org.apache.cassandra.metrics.TableMetrics$Sampler.valueOf:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/TableMetrics$Sampler;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.TopKSampler
iload 2
invokevirtual org.apache.cassandra.utils.TopKSampler.beginSampling:(I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 sampler Ljava/lang/String;
0 2 2 capacity I
MethodParameters:
Name Flags
sampler
capacity
public javax.management.openmbean.CompositeData finishLocalSampling(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljavax/management/openmbean/CompositeData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.samplers:Ljava/util/Map;
aload 1
invokestatic org.apache.cassandra.metrics.TableMetrics$Sampler.valueOf:(Ljava/lang/String;)Lorg/apache/cassandra/metrics/TableMetrics$Sampler;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.utils.TopKSampler
1: iload 2
invokevirtual org.apache.cassandra.utils.TopKSampler.finishSampling:(I)Lorg/apache/cassandra/utils/TopKSampler$SamplerResult;
2: astore 3
start local 3 3: new javax.management.openmbean.TabularDataSupport
dup
getstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_TYPE:Ljavax/management/openmbean/TabularType;
invokespecial javax.management.openmbean.TabularDataSupport.<init>:(Ljavax/management/openmbean/TabularType;)V
astore 4
start local 4 4: aload 3
getfield org.apache.cassandra.utils.TopKSampler$SamplerResult.topK:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String int org.apache.cassandra.utils.TopKSampler$SamplerResult javax.management.openmbean.TabularDataSupport top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.clearspring.analytics.stream.Counter
astore 5
start local 5 6: aload 5
invokevirtual com.clearspring.analytics.stream.Counter.getItem:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 7
start local 7 7: aload 4
new javax.management.openmbean.CompositeDataSupport
dup
getstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_COMPOSITE_TYPE:Ljavax/management/openmbean/CompositeType;
getstatic org.apache.cassandra.db.ColumnFamilyStore.COUNTER_NAMES:[Ljava/lang/String;
iconst_4
anewarray java.lang.Object
dup
iconst_0
8: aload 7
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
dup
iconst_1
9: aload 5
invokevirtual com.clearspring.analytics.stream.Counter.getCount:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
10: aload 5
invokevirtual com.clearspring.analytics.stream.Counter.getError:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
11: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.getKeyValidator:()Lorg/apache/cassandra/db/marshal/AbstractType;
aload 7
invokevirtual org.apache.cassandra.db.marshal.AbstractType.getString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
invokespecial javax.management.openmbean.CompositeDataSupport.<init>:(Ljavax/management/openmbean/CompositeType;[Ljava/lang/String;[Ljava/lang/Object;)V
12: invokevirtual javax.management.openmbean.TabularDataSupport.put:(Ljavax/management/openmbean/CompositeData;)V
end local 7 end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
14: new javax.management.openmbean.CompositeDataSupport
dup
getstatic org.apache.cassandra.db.ColumnFamilyStore.SAMPLING_RESULT:Ljavax/management/openmbean/CompositeType;
getstatic org.apache.cassandra.db.ColumnFamilyStore.SAMPLER_NAMES:[Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
15: aload 3
getfield org.apache.cassandra.utils.TopKSampler$SamplerResult.cardinality:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 4
aastore
16: invokespecial javax.management.openmbean.CompositeDataSupport.<init>:(Ljavax/management/openmbean/CompositeType;[Ljava/lang/String;[Ljava/lang/Object;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 17 1 sampler Ljava/lang/String;
0 17 2 count I
3 17 3 samplerResults Lorg/apache/cassandra/utils/TopKSampler$SamplerResult<Ljava/nio/ByteBuffer;>;
4 17 4 result Ljavax/management/openmbean/TabularDataSupport;
6 13 5 counter Lcom/clearspring/analytics/stream/Counter<Ljava/nio/ByteBuffer;>;
7 13 7 key Ljava/nio/ByteBuffer;
Exceptions:
throws javax.management.openmbean.OpenDataException
MethodParameters:
Name Flags
sampler
count
public boolean isCompactionDiskSpaceCheckEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionSpaceCheck:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void compactionDiskSpaceCheck(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.cassandra.db.ColumnFamilyStore.compactionSpaceCheck:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 enable Z
MethodParameters:
Name Flags
enable
public void cleanupCache();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
invokevirtual org.apache.cassandra.service.StorageService.getLocalRanges:(Ljava/lang/String;)Ljava/util/Collection;
astore 1
start local 1 1: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.rowCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.keyIterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 7
3: StackMap locals: java.util.Collection java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cache.RowCacheKey
astore 3
start local 3 4: aload 0
aload 3
getfield org.apache.cassandra.cache.RowCacheKey.key:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 4
start local 4 5: aload 3
getfield org.apache.cassandra.cache.RowCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
invokevirtual org.apache.cassandra.utils.Pair.equals:(Ljava/lang/Object;)Z
ifeq 7
aload 4
invokevirtual org.apache.cassandra.db.DecoratedKey.getToken:()Lorg/apache/cassandra/dht/Token;
aload 1
invokestatic org.apache.cassandra.dht.Range.isInRanges:(Lorg/apache/cassandra/dht/RingPosition;Ljava/lang/Iterable;)Z
ifne 7
6: aload 0
aload 4
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.invalidateCachedPartition:(Lorg/apache/cassandra/db/DecoratedKey;)V
end local 4 end local 3 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 2 8: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifeq 16
9: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.counterCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.keyIterator:()Ljava/util/Iterator;
astore 2
start local 2 10: goto 15
11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cache.CounterCacheKey
astore 3
start local 3 12: aload 0
aload 3
getfield org.apache.cassandra.cache.CounterCacheKey.partitionKey:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 4
start local 4 13: aload 3
getfield org.apache.cassandra.cache.CounterCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
invokevirtual org.apache.cassandra.utils.Pair.equals:(Ljava/lang/Object;)Z
ifeq 15
aload 4
invokevirtual org.apache.cassandra.db.DecoratedKey.getToken:()Lorg/apache/cassandra/dht/Token;
aload 1
invokestatic org.apache.cassandra.dht.Range.isInRanges:(Lorg/apache/cassandra/dht/RingPosition;Ljava/lang/Iterable;)Z
ifne 15
14: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.counterCache:Lorg/apache/cassandra/cache/AutoSavingCache;
aload 3
invokevirtual org.apache.cassandra.cache.AutoSavingCache.remove:(Ljava/lang/Object;)V
end local 4 end local 3 15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
end local 2 16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
1 17 1 ranges Ljava/util/Collection<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
2 8 2 keyIter Ljava/util/Iterator<Lorg/apache/cassandra/cache/RowCacheKey;>;
4 7 3 key Lorg/apache/cassandra/cache/RowCacheKey;
5 7 4 dk Lorg/apache/cassandra/db/DecoratedKey;
10 16 2 keyIter Ljava/util/Iterator<Lorg/apache/cassandra/cache/CounterCacheKey;>;
12 15 3 key Lorg/apache/cassandra/cache/CounterCacheKey;
13 15 4 dk Lorg/apache/cassandra/db/DecoratedKey;
public org.apache.cassandra.db.ClusteringComparator getComparator();
descriptor: ()Lorg/apache/cassandra/db/ClusteringComparator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void snapshotWithoutFlush(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
iconst_0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.snapshotWithoutFlush:(Ljava/lang/String;Lcom/google/common/base/Predicate;Z)Ljava/util/Set;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 snapshotName Ljava/lang/String;
MethodParameters:
Name Flags
snapshotName
public java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> snapshotWithoutFlush(java.lang.String, com.google.common.base.Predicate<org.apache.cassandra.io.sstable.format.SSTableReader>, boolean);
descriptor: (Ljava/lang/String;Lcom/google/common/base/Predicate;Z)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 1: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.concatWithIndexes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 24
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String com.google.common.base.Predicate int java.util.Set top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 5
start local 5 3: new org.json.simple.JSONArray
dup
invokespecial org.json.simple.JSONArray.<init>:()V
astore 7
start local 7 4: aconst_null
astore 8
aconst_null
astore 9
5: aload 5
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
aload 2
invokedynamic apply(Lcom/google/common/base/Predicate;)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
org/apache/cassandra/db/ColumnFamilyStore.lambda$2(Lcom/google/common/base/Predicate;Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Z (6)
(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Z
invokestatic org.apache.cassandra.db.lifecycle.View.select:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Function;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.selectAndReference:(Lcom/google/common/base/Function;)Lorg/apache/cassandra/db/ColumnFamilyStore$RefViewFragment;
astore 10
start local 10 6: aload 10
getfield org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.sstables:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 14
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String com.google.common.base.Predicate int java.util.Set org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator org.json.simple.JSONArray java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment top java.util.Iterator
StackMap stack:
7: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 11
start local 11 8: aload 11
getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
aload 1
invokestatic org.apache.cassandra.db.Directories.getSnapshotDirectory:(Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/lang/String;)Ljava/io/File;
astore 13
start local 13 9: aload 11
aload 13
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.createLinks:(Ljava/lang/String;)V
10: aload 7
aload 11
getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
getstatic org.apache.cassandra.io.sstable.Component.DATA:Lorg/apache/cassandra/io/sstable/Component;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.relativeFilenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokevirtual org.json.simple.JSONArray.add:(Ljava/lang/Object;)Z
pop
11: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isTraceEnabled:()Z
ifeq 13
12: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Snapshot for {} keyspace data file {} created in {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
aastore
dup
iconst_1
aload 11
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getFilename:()Ljava/lang/String;
aastore
dup
iconst_2
aload 13
aastore
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
13: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String com.google.common.base.Predicate int java.util.Set org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator org.json.simple.JSONArray java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment org.apache.cassandra.io.sstable.format.SSTableReader java.util.Iterator java.io.File
StackMap stack:
aload 4
aload 11
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 13 end local 11 14: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String com.google.common.base.Predicate int java.util.Set org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator org.json.simple.JSONArray java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
15: aload 0
aload 7
aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.writeSnapshotManifest:(Lorg/json/simple/JSONArray;Ljava/lang/String;)V
16: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.config.SchemaConstants.isLocalSystemKeyspace:(Ljava/lang/String;)Z
ifne 18
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokestatic org.apache.cassandra.config.SchemaConstants.isReplicatedSystemKeyspace:(Ljava/lang/String;)Z
ifne 18
17: aload 0
aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.writeSnapshotSchema:(Ljava/lang/String;)V
18: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String com.google.common.base.Predicate int java.util.Set org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator org.json.simple.JSONArray java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment
StackMap stack:
aload 10
ifnull 24
aload 10
invokevirtual org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.close:()V
goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 8
aload 10
ifnull 20
aload 10
invokevirtual org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.close:()V
end local 10 StackMap locals:
StackMap stack:
20: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 9
aload 8
ifnonnull 22
aload 9
astore 8
goto 23
StackMap locals:
StackMap stack:
22: aload 8
aload 9
if_acmpeq 23
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
23: aload 8
athrow
end local 7 end local 5 24: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String com.google.common.base.Predicate int java.util.Set top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
25: iload 3
ifeq 27
26: aload 0
aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.createEphemeralSnapshotMarkerFile:(Ljava/lang/String;)V
27: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String com.google.common.base.Predicate int java.util.Set
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 28 1 snapshotName Ljava/lang/String;
0 28 2 predicate Lcom/google/common/base/Predicate<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 28 3 ephemeral Z
1 28 4 snapshottedSSTables Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
3 24 5 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
4 24 7 filesJSONArr Lorg/json/simple/JSONArray;
6 20 10 currentView Lorg/apache/cassandra/db/ColumnFamilyStore$RefViewFragment;
8 14 11 ssTable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
9 14 13 snapshotDirectory Ljava/io/File;
Exception table:
from to target type
6 18 19 any
5 21 21 any
Signature: (Ljava/lang/String;Lcom/google/common/base/Predicate<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Z)Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
snapshotName
predicate
ephemeral
private void writeSnapshotManifest(org.json.simple.JSONArray, java.lang.String);
descriptor: (Lorg/json/simple/JSONArray;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
aload 2
invokevirtual org.apache.cassandra.db.Directories.getSnapshotManifestFile:(Ljava/lang/String;)Ljava/io/File;
astore 3
start local 3 1: aload 3
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifne 3
2: aload 3
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.mkdirs:()Z
pop
3: StackMap locals: java.io.File
StackMap stack:
aconst_null
astore 4
aconst_null
astore 5
4: new java.io.PrintStream
dup
aload 3
invokespecial java.io.PrintStream.<init>:(Ljava/io/File;)V
astore 6
start local 6 5: new org.json.simple.JSONObject
dup
invokespecial org.json.simple.JSONObject.<init>:()V
astore 7
start local 7 6: aload 7
ldc "files"
aload 1
invokevirtual org.json.simple.JSONObject.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 6
aload 7
invokevirtual org.json.simple.JSONObject.toJSONString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 8: aload 6
ifnull 16
aload 6
invokevirtual java.io.PrintStream.close:()V
goto 16
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.json.simple.JSONArray java.lang.String java.io.File java.lang.Throwable java.lang.Throwable java.io.PrintStream
StackMap stack: java.lang.Throwable
9: astore 4
aload 6
ifnull 10
aload 6
invokevirtual java.io.PrintStream.close:()V
end local 6 StackMap locals:
StackMap stack:
10: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 5
aload 4
ifnonnull 12
aload 5
astore 4
goto 13
StackMap locals:
StackMap stack:
12: aload 4
aload 5
if_acmpeq 13
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 4
athrow
14: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.json.simple.JSONArray java.lang.String java.io.File
StackMap stack: java.io.IOException
astore 4
start local 4 15: new org.apache.cassandra.io.FSWriteError
dup
aload 4
aload 3
invokespecial org.apache.cassandra.io.FSWriteError.<init>:(Ljava/lang/Throwable;Ljava/io/File;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 17 1 filesJSONArr Lorg/json/simple/JSONArray;
0 17 2 snapshotName Ljava/lang/String;
1 17 3 manifestFile Ljava/io/File;
5 10 6 out Ljava/io/PrintStream;
6 8 7 manifestJSON Lorg/json/simple/JSONObject;
15 16 4 e Ljava/io/IOException;
Exception table:
from to target type
5 8 9 any
4 11 11 any
1 14 14 Class java.io.IOException
MethodParameters:
Name Flags
filesJSONArr final
snapshotName final
private void writeSnapshotSchema(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
aload 1
invokevirtual org.apache.cassandra.db.Directories.getSnapshotSchemaFile:(Ljava/lang/String;)Ljava/io/File;
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifne 3
2: aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.mkdirs:()Z
pop
3: StackMap locals: java.io.File
StackMap stack:
aconst_null
astore 3
aconst_null
astore 4
4: new java.io.PrintStream
dup
aload 2
invokespecial java.io.PrintStream.<init>:(Ljava/io/File;)V
astore 5
start local 5 5: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokestatic org.apache.cassandra.db.ColumnFamilyStoreCQLHelper.dumpReCreateStatements:(Lorg/apache/cassandra/config/CFMetaData;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.io.File java.lang.Throwable java.lang.Throwable java.io.PrintStream top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 5
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 5
ifnull 17
aload 5
invokevirtual java.io.PrintStream.close:()V
goto 17
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.io.File java.lang.Throwable java.lang.Throwable java.io.PrintStream
StackMap stack: java.lang.Throwable
10: astore 3
aload 5
ifnull 11
aload 5
invokevirtual java.io.PrintStream.close:()V
end local 5 StackMap locals:
StackMap stack:
11: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 4
aload 3
ifnonnull 13
aload 4
astore 3
goto 14
StackMap locals:
StackMap stack:
13: aload 3
aload 4
if_acmpeq 14
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 3
athrow
15: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.io.File
StackMap stack: java.io.IOException
astore 3
start local 3 16: new org.apache.cassandra.io.FSWriteError
dup
aload 3
aload 2
invokespecial org.apache.cassandra.io.FSWriteError.<init>:(Ljava/lang/Throwable;Ljava/io/File;)V
athrow
end local 3 17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 18 1 snapshotName Ljava/lang/String;
1 18 2 schemaFile Ljava/io/File;
5 11 5 out Ljava/io/PrintStream;
7 8 6 s Ljava/lang/String;
16 17 3 e Ljava/io/IOException;
Exception table:
from to target type
5 9 10 any
4 12 12 any
1 15 15 Class java.io.IOException
MethodParameters:
Name Flags
snapshotName final
private void createEphemeralSnapshotMarkerFile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
aload 1
invokevirtual org.apache.cassandra.db.Directories.getNewEphemeralSnapshotMarkerFile:(Ljava/lang/String;)Ljava/io/File;
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifne 3
2: aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.mkdirs:()Z
pop
3: StackMap locals: java.io.File
StackMap stack:
aload 2
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.createFile:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
4: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Created ephemeral snapshot marker file on {}."
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
5: goto 12
6: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 7: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Could not create marker file %s for ephemeral snapshot %s. In case there is a failure in the operation that created this snapshot, you may need to clean it manually afterwards."
iconst_2
anewarray java.lang.Object
dup
iconst_0
8: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: aload 3
11: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 13 1 snapshot Ljava/lang/String;
1 13 2 ephemeralSnapshotMarker Ljava/io/File;
7 12 3 e Ljava/io/IOException;
Exception table:
from to target type
1 5 6 Class java.io.IOException
MethodParameters:
Name Flags
snapshot final
protected static void clearEphemeralSnapshots(org.apache.cassandra.db.Directories);
descriptor: (Lorg/apache/cassandra/db/Directories;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.Directories.listEphemeralSnapshots:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: org.apache.cassandra.db.Directories top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Clearing ephemeral snapshot {} leftover from previous session."
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
3: aload 1
aload 0
invokevirtual org.apache.cassandra.db.Directories.getCFDirectories:()Ljava/util/List;
invokestatic org.apache.cassandra.db.Directories.clearSnapshot:(Ljava/lang/String;Ljava/util/List;)V
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 directories Lorg/apache/cassandra/db/Directories;
2 4 1 ephemeralSnapshot Ljava/lang/String;
MethodParameters:
Name Flags
directories
public org.apache.cassandra.utils.concurrent.Refs<org.apache.cassandra.io.sstable.format.SSTableReader> getSnapshotSSTableReader(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/utils/concurrent/Refs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 0
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.util.Map top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 3
start local 3 3: aload 2
aload 3
getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
getfield org.apache.cassandra.io.sstable.Descriptor.generation:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
getstatic org.apache.cassandra.db.Directories$OnTxnErr.IGNORE:Lorg/apache/cassandra/db/Directories$OnTxnErr;
invokevirtual org.apache.cassandra.db.Directories.sstableLister:(Lorg/apache/cassandra/db/Directories$OnTxnErr;)Lorg/apache/cassandra/db/Directories$SSTableLister;
aload 1
invokevirtual org.apache.cassandra.db.Directories$SSTableLister.snapshots:(Ljava/lang/String;)Lorg/apache/cassandra/db/Directories$SSTableLister;
invokevirtual org.apache.cassandra.db.Directories$SSTableLister.list:()Ljava/util/Map;
astore 3
start local 3 6: new org.apache.cassandra.utils.concurrent.Refs
dup
invokespecial org.apache.cassandra.utils.concurrent.Refs.<init>:()V
astore 4
start local 4 7: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 19
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.util.Map java.util.Map org.apache.cassandra.utils.concurrent.Refs top java.util.Iterator
StackMap stack:
8: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 9: aload 2
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
getfield org.apache.cassandra.io.sstable.Descriptor.generation:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 7
start local 7 10: aload 7
ifnull 11
aload 4
aload 7
invokevirtual org.apache.cassandra.utils.concurrent.Refs.tryRef:(Lorg/apache/cassandra/utils/concurrent/RefCounted;)Z
ifne 17
11: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.util.Map java.util.Map org.apache.cassandra.utils.concurrent.Refs java.util.Map$Entry java.util.Iterator org.apache.cassandra.io.sstable.format.SSTableReader
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isTraceEnabled:()Z
ifeq 13
12: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "using snapshot sstable {}"
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Set
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
iconst_1
iconst_1
invokestatic org.apache.cassandra.io.sstable.format.SSTableReader.open:(Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/util/Set;Lorg/apache/cassandra/config/CFMetaData;ZZ)Lorg/apache/cassandra/io/sstable/format/SSTableReader;
astore 7
14: aload 4
aload 7
invokevirtual org.apache.cassandra.utils.concurrent.Refs.tryRef:(Lorg/apache/cassandra/utils/concurrent/RefCounted;)Z
pop
15: aload 7
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.selfRef:()Lorg/apache/cassandra/utils/concurrent/Ref;
invokevirtual org.apache.cassandra.utils.concurrent.Ref.release:()V
16: goto 19
17: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isTraceEnabled:()Z
ifeq 19
18: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "using active sstable {}"
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
end local 7 end local 5 19: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.util.Map java.util.Map org.apache.cassandra.utils.concurrent.Refs top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
20: goto 24
21: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.lang.String java.util.Map java.util.Map org.apache.cassandra.utils.concurrent.Refs
StackMap stack: java.lang.Exception
astore 5
start local 5 22: aload 4
invokevirtual org.apache.cassandra.utils.concurrent.Refs.release:()V
23: aload 5
athrow
end local 5 24: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 25 1 tag Ljava/lang/String;
1 25 2 active Ljava/util/Map<Ljava/lang/Integer;Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
3 4 3 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
6 25 3 snapshots Ljava/util/Map<Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/util/Set<Lorg/apache/cassandra/io/sstable/Component;>;>;
7 25 4 refs Lorg/apache/cassandra/utils/concurrent/Refs<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
9 19 5 entries Ljava/util/Map$Entry<Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/util/Set<Lorg/apache/cassandra/io/sstable/Component;>;>;
10 19 7 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
22 24 5 e Ljava/lang/Exception;
Exception table:
from to target type
7 20 21 Class java.io.IOException
7 20 21 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Lorg/apache/cassandra/utils/concurrent/Refs<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
tag
public java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> snapshot(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.snapshot:(Ljava/lang/String;Z)Ljava/util/Set;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 snapshotName Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
snapshotName
public java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> snapshot(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
iconst_0
iload 2
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.snapshot:(Ljava/lang/String;Lcom/google/common/base/Predicate;ZZ)Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 snapshotName Ljava/lang/String;
0 1 2 skipFlush Z
Signature: (Ljava/lang/String;Z)Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
snapshotName
skipFlush
public java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> snapshot(java.lang.String, com.google.common.base.Predicate<org.apache.cassandra.io.sstable.format.SSTableReader>, boolean, boolean);
descriptor: (Ljava/lang/String;Lcom/google/common/base/Predicate;ZZ)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
ifne 2
1: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.forceBlockingFlush:()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
pop
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.snapshotWithoutFlush:(Ljava/lang/String;Lcom/google/common/base/Predicate;Z)Ljava/util/Set;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 3 1 snapshotName Ljava/lang/String;
0 3 2 predicate Lcom/google/common/base/Predicate<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 3 3 ephemeral Z
0 3 4 skipFlush Z
Signature: (Ljava/lang/String;Lcom/google/common/base/Predicate<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;ZZ)Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
snapshotName
predicate
ephemeral
skipFlush
public boolean snapshotExists(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
aload 1
invokevirtual org.apache.cassandra.db.Directories.snapshotExists:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 snapshotName Ljava/lang/String;
MethodParameters:
Name Flags
snapshotName
public long getSnapshotCreationTime(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
aload 1
invokevirtual org.apache.cassandra.db.Directories.snapshotCreationTime:(Ljava/lang/String;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 snapshotName Ljava/lang/String;
MethodParameters:
Name Flags
snapshotName
public void clearSnapshot(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
invokevirtual org.apache.cassandra.db.Directories.getCFDirectories:()Ljava/util/List;
astore 2
start local 2 1: aload 1
aload 2
invokestatic org.apache.cassandra.db.Directories.clearSnapshot:(Ljava/lang/String;Ljava/util/List;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 3 1 snapshotName Ljava/lang/String;
1 3 2 snapshotDirs Ljava/util/List<Ljava/io/File;>;
MethodParameters:
Name Flags
snapshotName
public java.util.Map<java.lang.String, org.apache.cassandra.utils.Pair<java.lang.Long, java.lang.Long>> getSnapshotDetails();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
invokevirtual org.apache.cassandra.db.Directories.getSnapshotDetails:()Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;>;
public org.apache.cassandra.db.partitions.CachedPartition getRawCachedPartition(org.apache.cassandra.db.DecoratedKey);
descriptor: (Lorg/apache/cassandra/db/DecoratedKey;)Lorg/apache/cassandra/db/partitions/CachedPartition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.isRowCacheEnabled:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.rowCache:Lorg/apache/cassandra/cache/AutoSavingCache;
new org.apache.cassandra.cache.RowCacheKey
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 1
invokespecial org.apache.cassandra.cache.RowCacheKey.<init>:(Lorg/apache/cassandra/utils/Pair;Lorg/apache/cassandra/db/DecoratedKey;)V
invokevirtual org.apache.cassandra.cache.AutoSavingCache.getInternal:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cache.IRowCacheEntry
astore 2
start local 2 3: aload 2
ifnull 4
aload 2
instanceof org.apache.cassandra.cache.RowCacheSentinel
ifeq 5
StackMap locals: org.apache.cassandra.cache.IRowCacheEntry
StackMap stack:
4: aconst_null
goto 6
StackMap locals:
StackMap stack:
5: aload 2
checkcast org.apache.cassandra.db.partitions.CachedPartition
StackMap locals:
StackMap stack: org.apache.cassandra.db.partitions.CachedPartition
6: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 7 1 key Lorg/apache/cassandra/db/DecoratedKey;
3 7 2 cached Lorg/apache/cassandra/cache/IRowCacheEntry;
MethodParameters:
Name Flags
key
private void invalidateCaches();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
invokevirtual org.apache.cassandra.service.CacheService.invalidateKeyCacheForCf:(Lorg/apache/cassandra/utils/Pair;)V
1: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
invokevirtual org.apache.cassandra.service.CacheService.invalidateRowCacheForCf:(Lorg/apache/cassandra/utils/Pair;)V
2: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifeq 4
3: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
invokevirtual org.apache.cassandra.service.CacheService.invalidateCounterCacheForCf:(Lorg/apache/cassandra/utils/Pair;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public int invalidateRowCache(java.util.Collection<org.apache.cassandra.dht.Bounds<org.apache.cassandra.dht.Token>>);
descriptor: (Ljava/util/Collection;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.rowCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.keyIterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 8
3: StackMap locals: int java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cache.RowCacheKey
astore 4
start local 4 4: aload 0
aload 4
getfield org.apache.cassandra.cache.RowCacheKey.key:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 5
start local 5 5: aload 4
getfield org.apache.cassandra.cache.RowCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
invokevirtual org.apache.cassandra.utils.Pair.equals:(Ljava/lang/Object;)Z
ifeq 8
aload 5
invokevirtual org.apache.cassandra.db.DecoratedKey.getToken:()Lorg/apache/cassandra/dht/Token;
aload 1
invokestatic org.apache.cassandra.dht.Bounds.isInBounds:(Lorg/apache/cassandra/dht/RingPosition;Ljava/lang/Iterable;)Z
ifeq 8
6: aload 0
aload 5
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.invalidateCachedPartition:(Lorg/apache/cassandra/db/DecoratedKey;)V
7: iinc 2 1
end local 5 end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 3 9: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 10 1 boundsToInvalidate Ljava/util/Collection<Lorg/apache/cassandra/dht/Bounds<Lorg/apache/cassandra/dht/Token;>;>;
1 10 2 invalidatedKeys I
2 9 3 keyIter Ljava/util/Iterator<Lorg/apache/cassandra/cache/RowCacheKey;>;
4 8 4 key Lorg/apache/cassandra/cache/RowCacheKey;
5 8 5 dk Lorg/apache/cassandra/db/DecoratedKey;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/dht/Bounds<Lorg/apache/cassandra/dht/Token;>;>;)I
MethodParameters:
Name Flags
boundsToInvalidate
public int invalidateCounterCache(java.util.Collection<org.apache.cassandra.dht.Bounds<org.apache.cassandra.dht.Token>>);
descriptor: (Ljava/util/Collection;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.counterCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.keyIterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 8
3: StackMap locals: int java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cache.CounterCacheKey
astore 4
start local 4 4: aload 0
aload 4
getfield org.apache.cassandra.cache.CounterCacheKey.partitionKey:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
astore 5
start local 5 5: aload 4
getfield org.apache.cassandra.cache.CounterCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
invokevirtual org.apache.cassandra.utils.Pair.equals:(Ljava/lang/Object;)Z
ifeq 8
aload 5
invokevirtual org.apache.cassandra.db.DecoratedKey.getToken:()Lorg/apache/cassandra/dht/Token;
aload 1
invokestatic org.apache.cassandra.dht.Bounds.isInBounds:(Lorg/apache/cassandra/dht/RingPosition;Ljava/lang/Iterable;)Z
ifeq 8
6: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.counterCache:Lorg/apache/cassandra/cache/AutoSavingCache;
aload 4
invokevirtual org.apache.cassandra.cache.AutoSavingCache.remove:(Ljava/lang/Object;)V
7: iinc 2 1
end local 5 end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 3 9: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 10 1 boundsToInvalidate Ljava/util/Collection<Lorg/apache/cassandra/dht/Bounds<Lorg/apache/cassandra/dht/Token;>;>;
1 10 2 invalidatedKeys I
2 9 3 keyIter Ljava/util/Iterator<Lorg/apache/cassandra/cache/CounterCacheKey;>;
4 8 4 key Lorg/apache/cassandra/cache/CounterCacheKey;
5 8 5 dk Lorg/apache/cassandra/db/DecoratedKey;
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/dht/Bounds<Lorg/apache/cassandra/dht/Token;>;>;)I
MethodParameters:
Name Flags
boundsToInvalidate
public boolean containsCachedParition(org.apache.cassandra.db.DecoratedKey);
descriptor: (Lorg/apache/cassandra/db/DecoratedKey;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.rowCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.getCapacity:()J
lconst_0
lcmp
ifeq 1
getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.rowCache:Lorg/apache/cassandra/cache/AutoSavingCache;
new org.apache.cassandra.cache.RowCacheKey
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 1
invokespecial org.apache.cassandra.cache.RowCacheKey.<init>:(Lorg/apache/cassandra/utils/Pair;Lorg/apache/cassandra/db/DecoratedKey;)V
invokevirtual org.apache.cassandra.cache.AutoSavingCache.containsKey:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 key Lorg/apache/cassandra/db/DecoratedKey;
MethodParameters:
Name Flags
key
public void invalidateCachedPartition(org.apache.cassandra.cache.RowCacheKey);
descriptor: (Lorg/apache/cassandra/cache/RowCacheKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.rowCache:Lorg/apache/cassandra/cache/AutoSavingCache;
aload 1
invokevirtual org.apache.cassandra.cache.AutoSavingCache.remove:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 key Lorg/apache/cassandra/cache/RowCacheKey;
MethodParameters:
Name Flags
key
public void invalidateCachedPartition(org.apache.cassandra.db.DecoratedKey);
descriptor: (Lorg/apache/cassandra/db/DecoratedKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.isRowCacheEnabled:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
new org.apache.cassandra.cache.RowCacheKey
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 1
invokespecial org.apache.cassandra.cache.RowCacheKey.<init>:(Lorg/apache/cassandra/utils/Pair;Lorg/apache/cassandra/db/DecoratedKey;)V
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.invalidateCachedPartition:(Lorg/apache/cassandra/cache/RowCacheKey;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 4 1 key Lorg/apache/cassandra/db/DecoratedKey;
MethodParameters:
Name Flags
key
public org.apache.cassandra.db.ClockAndCount getCachedCounter(java.nio.ByteBuffer, org.apache.cassandra.db.Clustering, org.apache.cassandra.config.ColumnDefinition, org.apache.cassandra.db.rows.CellPath);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/db/ClockAndCount;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.counterCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.getCapacity:()J
lconst_0
lcmp
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.counterCache:Lorg/apache/cassandra/cache/AutoSavingCache;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 1
aload 2
aload 3
aload 4
invokestatic org.apache.cassandra.cache.CounterCacheKey.create:(Lorg/apache/cassandra/utils/Pair;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/cache/CounterCacheKey;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.db.ClockAndCount
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 3 1 partitionKey Ljava/nio/ByteBuffer;
0 3 2 clustering Lorg/apache/cassandra/db/Clustering;
0 3 3 column Lorg/apache/cassandra/config/ColumnDefinition;
0 3 4 path Lorg/apache/cassandra/db/rows/CellPath;
MethodParameters:
Name Flags
partitionKey
clustering
column
path
public void putCachedCounter(java.nio.ByteBuffer, org.apache.cassandra.db.Clustering, org.apache.cassandra.config.ColumnDefinition, org.apache.cassandra.db.rows.CellPath, org.apache.cassandra.db.ClockAndCount);
descriptor: (Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;Lorg/apache/cassandra/db/ClockAndCount;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.counterCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.getCapacity:()J
lconst_0
lcmp
ifne 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.counterCache:Lorg/apache/cassandra/cache/AutoSavingCache;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 1
aload 2
aload 3
aload 4
invokestatic org.apache.cassandra.cache.CounterCacheKey.create:(Lorg/apache/cassandra/utils/Pair;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/cache/CounterCacheKey;
aload 5
invokevirtual org.apache.cassandra.cache.AutoSavingCache.put:(Ljava/lang/Object;Ljava/lang/Object;)V
3: return
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 4 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 4 1 partitionKey Ljava/nio/ByteBuffer;
0 4 2 clustering Lorg/apache/cassandra/db/Clustering;
0 4 3 column Lorg/apache/cassandra/config/ColumnDefinition;
0 4 4 path Lorg/apache/cassandra/db/rows/CellPath;
0 4 5 clockAndCount Lorg/apache/cassandra/db/ClockAndCount;
MethodParameters:
Name Flags
partitionKey
clustering
column
path
clockAndCount
public void forceMajorCompaction();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.forceMajorCompaction:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
public void forceMajorCompaction(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
iload 1
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.performMaximal:(Lorg/apache/cassandra/db/ColumnFamilyStore;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 splitOutput Z
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
MethodParameters:
Name Flags
splitOutput
public void forceCompactionForTokenRange(java.util.Collection<org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
aload 1
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.forceCompactionForTokenRange:(Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/Collection;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 tokenRanges Ljava/util/Collection<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;
Exceptions:
throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Signature: (Ljava/util/Collection<Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;>;)V
MethodParameters:
Name Flags
tokenRanges
public static java.lang.Iterable<org.apache.cassandra.db.ColumnFamilyStore> all();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=0
0: new java.util.ArrayList
dup
getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getKeyspaces:()Ljava/util/Set;
invokeinterface java.util.Set.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 0
start local 0 1: invokestatic org.apache.cassandra.db.Keyspace.all:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: java.util.List top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Keyspace
astore 1
start local 1 3: aload 0
aload 1
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStores:()Ljava/util/Collection;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
invokestatic com.google.common.collect.Iterables.concat:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 stores Ljava/util/List<Ljava/lang/Iterable<Lorg/apache/cassandra/db/ColumnFamilyStore;>;>;
3 4 1 keyspace Lorg/apache/cassandra/db/Keyspace;
Signature: ()Ljava/lang/Iterable<Lorg/apache/cassandra/db/ColumnFamilyStore;>;
public java.lang.Iterable<org.apache.cassandra.db.DecoratedKey> keySamples(org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>);
descriptor: (Lorg/apache/cassandra/dht/Range;)Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 0
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokestatic org.apache.cassandra.db.lifecycle.View.selectFunction:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Lcom/google/common/base/Function;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.selectAndReference:(Lcom/google/common/base/Function;)Lorg/apache/cassandra/db/ColumnFamilyStore$RefViewFragment;
astore 4
start local 4 2: aload 4
getfield org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.sstables:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray java.lang.Iterable
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: aload 4
getfield org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.sstables:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 7
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.dht.Range java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment java.lang.Iterable[] int top java.util.Iterator
StackMap stack:
5: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 7
start local 7 6: aload 5
iload 6
iinc 6 1
aload 7
aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getKeySamples:(Lorg/apache/cassandra/dht/Range;)Ljava/lang/Iterable;
aastore
end local 7 7: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 5
invokestatic com.google.common.collect.Iterables.concat:([Ljava/lang/Iterable;)Ljava/lang/Iterable;
9: aload 4
ifnull 10
aload 4
invokevirtual org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.close:()V
10: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.dht.Range java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment java.lang.Iterable[] int
StackMap stack: java.lang.Iterable
areturn
end local 6 end local 5 StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.dht.Range java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment
StackMap stack: java.lang.Throwable
11: astore 2
12: aload 4
ifnull 13
aload 4
invokevirtual org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.close:()V
end local 4 StackMap locals:
StackMap stack:
13: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 3
aload 2
ifnonnull 15
aload 3
astore 2
goto 16
StackMap locals:
StackMap stack:
15: aload 2
aload 3
if_acmpeq 16
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 17 1 range Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
2 13 4 view Lorg/apache/cassandra/db/ColumnFamilyStore$RefViewFragment;
3 11 5 samples [Ljava/lang/Iterable;
4 11 6 i I
6 7 7 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Exception table:
from to target type
2 9 11 any
1 10 14 any
11 14 14 any
Signature: (Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;)Ljava/lang/Iterable<Lorg/apache/cassandra/db/DecoratedKey;>;
MethodParameters:
Name Flags
range
public long estimatedKeysForRange(org.apache.cassandra.dht.Range<org.apache.cassandra.dht.Token>);
descriptor: (Lorg/apache/cassandra/dht/Range;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 0
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokestatic org.apache.cassandra.db.lifecycle.View.selectFunction:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Lcom/google/common/base/Function;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.selectAndReference:(Lcom/google/common/base/Function;)Lorg/apache/cassandra/db/ColumnFamilyStore$RefViewFragment;
astore 4
start local 4 2: lconst_0
lstore 5
start local 5 3: aload 4
getfield org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.sstables:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 6
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.dht.Range java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment long top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 7
start local 7 5: lload 5
aload 7
aload 1
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.estimatedKeysForRanges:(Ljava/util/Collection;)J
ladd
lstore 5
end local 7 6: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: lload 5
8: aload 4
ifnull 9
aload 4
invokevirtual org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.close:()V
9: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.dht.Range java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment long
StackMap stack: long
lreturn
end local 5 StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.dht.Range java.lang.Throwable java.lang.Throwable org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment
StackMap stack: java.lang.Throwable
10: astore 2
11: aload 4
ifnull 12
aload 4
invokevirtual org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment.close:()V
end local 4 StackMap locals:
StackMap stack:
12: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 3
aload 2
ifnonnull 14
aload 3
astore 2
goto 15
StackMap locals:
StackMap stack:
14: aload 2
aload 3
if_acmpeq 15
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 16 1 range Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;
2 12 4 view Lorg/apache/cassandra/db/ColumnFamilyStore$RefViewFragment;
3 10 5 count J
5 6 7 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Exception table:
from to target type
2 8 10 any
1 9 13 any
10 13 13 any
Signature: (Lorg/apache/cassandra/dht/Range<Lorg/apache/cassandra/dht/Token;>;)J
MethodParameters:
Name Flags
range
public void clearUnsafe();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.concatWithIndexes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 5
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 1
start local 1 2: aload 1
new org.apache.cassandra.db.ColumnFamilyStore$4
dup
aload 0
aload 1
invokespecial org.apache.cassandra.db.ColumnFamilyStore$4.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
3: iconst_1
iconst_0
4: invokevirtual org.apache.cassandra.db.ColumnFamilyStore.runWithCompactionsDisabled:(Ljava/util/concurrent/Callable;ZZ)Ljava/lang/Object;
pop
end local 1 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
2 5 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
public void truncateBlocking();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=1
start local 0 0: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Truncating {}.{}"
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getMetadata:()Lorg/apache/cassandra/schema/KeyspaceMetadata;
getfield org.apache.cassandra.schema.KeyspaceMetadata.params:Lorg/apache/cassandra/schema/KeyspaceParams;
getfield org.apache.cassandra.schema.KeyspaceParams.durableWrites:Z
ifne 2
invokestatic org.apache.cassandra.config.DatabaseDescriptor.isAutoSnapshot:()Z
ifeq 5
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.forceBlockingFlush:()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
astore 3
start local 3 3: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.viewManager:Lorg/apache/cassandra/db/view/TableViews;
invokevirtual org.apache.cassandra.db.view.TableViews.forceBlockingFlush:()V
4: goto 10
end local 3 5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.viewManager:Lorg/apache/cassandra/db/view/TableViews;
invokevirtual org.apache.cassandra.db.view.TableViews.dumpMemtables:()V
6: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.dumpMemtable:()Ljava/util/concurrent/Future;
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.commitlog.CommitLogPosition
astore 3
start local 3 7: goto 10
end local 3 8: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 9: new java.lang.RuntimeException
dup
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 start local 3 10: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore top top org.apache.cassandra.db.commitlog.CommitLogPosition
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 4
start local 4 11: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.concatWithIndexes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 17
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore top top org.apache.cassandra.db.commitlog.CommitLogPosition long top java.util.Iterator
StackMap stack:
12: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 6
start local 6 13: aload 6
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getLiveSSTables:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 16
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore top top org.apache.cassandra.db.commitlog.CommitLogPosition long org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator top java.util.Iterator
StackMap stack:
14: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 8
start local 8 15: lload 4
aload 8
getfield org.apache.cassandra.io.sstable.format.SSTableReader.maxDataAge:J
invokestatic java.lang.Math.max:(JJ)J
lstore 4
end local 8 16: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 6 17: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore top top org.apache.cassandra.db.commitlog.CommitLogPosition long top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
18: lload 4
lstore 1
start local 1 19: new org.apache.cassandra.db.ColumnFamilyStore$5
dup
aload 0
lload 1
aload 3
invokespecial org.apache.cassandra.db.ColumnFamilyStore$5.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;JLorg/apache/cassandra/db/commitlog/CommitLogPosition;)V
astore 6
start local 6 20: aload 0
aload 6
invokestatic java.util.concurrent.Executors.callable:(Ljava/lang/Runnable;)Ljava/util/concurrent/Callable;
iconst_1
iconst_1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.runWithCompactionsDisabled:(Ljava/util/concurrent/Callable;ZZ)Ljava/lang/Object;
pop
21: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Truncate of {}.{} is complete"
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
22: return
end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
19 23 1 truncatedAt J
3 5 3 replayAfter Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
7 8 3 replayAfter Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
10 23 3 replayAfter Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
9 10 4 e Ljava/lang/Exception;
11 23 4 now J
13 17 6 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
15 16 8 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
20 23 6 truncateRunnable Ljava/lang/Runnable;
Exception table:
from to target type
6 7 8 Class java.lang.Exception
public java.util.concurrent.Future<org.apache.cassandra.db.commitlog.CommitLogPosition> dumpMemtable();
descriptor: ()Ljava/util/concurrent/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
dup
astore 1
monitorenter
1: new org.apache.cassandra.db.ColumnFamilyStore$Flush
dup
aload 0
iconst_1
invokespecial org.apache.cassandra.db.ColumnFamilyStore$Flush.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Z)V
astore 2
start local 2 2: getstatic org.apache.cassandra.db.ColumnFamilyStore.flushExecutor:Ljava/util/concurrent/ExecutorService;
aload 2
invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
3: getstatic org.apache.cassandra.db.ColumnFamilyStore.postFlushExecutor:Ljava/util/concurrent/ExecutorService;
aload 2
getfield org.apache.cassandra.db.ColumnFamilyStore$Flush.postFlushTask:Lcom/google/common/util/concurrent/ListenableFutureTask;
invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
4: aload 2
getfield org.apache.cassandra.db.ColumnFamilyStore$Flush.postFlushTask:Lcom/google/common/util/concurrent/ListenableFutureTask;
aload 1
monitorexit
5: areturn
end local 2 6: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.lifecycle.Tracker
StackMap stack: java.lang.Throwable
aload 1
monitorexit
7: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
2 6 2 flush Lorg/apache/cassandra/db/ColumnFamilyStore$Flush;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Signature: ()Ljava/util/concurrent/Future<Lorg/apache/cassandra/db/commitlog/CommitLogPosition;>;
public <V> V runWithCompactionsDisabled(java.util.concurrent.Callable<V>, boolean, );
descriptor: (Ljava/util/concurrent/Callable;ZZ)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
dup
astore 4
monitorenter
1: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Cancelling in-progress compactions for {}"
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
2: iload 3
ifeq 4
3: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.concatWithIndexes:()Ljava/lang/Iterable;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.viewManager:Lorg/apache/cassandra/db/view/TableViews;
invokevirtual org.apache.cassandra.db.view.TableViews.allViewsCfs:()Ljava/lang/Iterable;
invokestatic com.google.common.collect.Iterables.concat:(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
goto 5
4: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.concatWithIndexes:()Ljava/lang/Iterable;
5: StackMap locals:
StackMap stack: java.lang.Iterable
astore 5
start local 5 6: aload 5
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 9
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.concurrent.Callable int int org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable top java.util.Iterator
StackMap stack:
7: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 6
start local 6 8: aload 6
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCompactionStrategyManager:()Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.pause:()V
end local 6 9: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 5
iload 2
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.interruptCompactionForCFs:(Ljava/lang/Iterable;Z)V
11: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 5
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.waitForCessation:(Ljava/lang/Iterable;)V
12: aload 5
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 21
StackMap locals:
StackMap stack:
13: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 6
start local 6 14: aload 6
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTracker:()Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getCompacting:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 21
15: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Unable to cancel in-progress compactions for {}. Perhaps there is an unusually large row in progress somewhere, or the system is simply overloaded."
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
16: aload 5
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 11
goto 19
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.concurrent.Callable int int org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator top top top java.util.Iterator
StackMap stack:
17: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 10
start local 10 18: aload 10
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCompactionStrategyManager:()Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.resume:()V
end local 10 19: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
aload 4
monitorexit
20: aconst_null
areturn
end local 6 21: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.concurrent.Callable int int org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
22: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "Compactions successfully cancelled"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
23: aload 1
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
astore 9
24: aload 5
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 11
goto 27
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.concurrent.Callable int int org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable top top top java.lang.Object top java.util.Iterator
StackMap stack:
25: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 10
start local 10 26: aload 10
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCompactionStrategyManager:()Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.resume:()V
end local 10 27: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
28: aload 4
monitorexit
29: aload 9
areturn
30: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.concurrent.Callable int int org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable
StackMap stack: java.lang.Exception
astore 6
start local 6 31: new java.lang.RuntimeException
dup
aload 6
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 32: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
33: aload 5
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 11
goto 36
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.concurrent.Callable int int org.apache.cassandra.db.ColumnFamilyStore java.lang.Iterable top top java.lang.Throwable top top java.util.Iterator
StackMap stack:
34: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 10
start local 10 35: aload 10
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCompactionStrategyManager:()Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.resume:()V
end local 10 36: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
37: aload 8
athrow
end local 5 38: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore java.util.concurrent.Callable int int org.apache.cassandra.db.ColumnFamilyStore
StackMap stack: java.lang.Throwable
aload 4
monitorexit
39: athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 40 1 callable Ljava/util/concurrent/Callable<TV;>;
0 40 2 interruptValidation Z
0 40 3 interruptViews Z
6 38 5 selfWithAuxiliaryCfs Ljava/lang/Iterable<Lorg/apache/cassandra/db/ColumnFamilyStore;>;
8 9 6 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
14 21 6 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
31 32 6 e Ljava/lang/Exception;
18 19 10 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
26 27 10 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
35 36 10 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
Exception table:
from to target type
23 24 30 Class java.lang.Exception
10 16 32 any
21 24 32 any
30 32 32 any
1 20 38 any
21 29 38 any
30 39 38 any
Signature: <V:Ljava/lang/Object;>(Ljava/util/concurrent/Callable<TV;>;ZZ)TV;
MethodParameters:
Name Flags
callable
interruptValidation
interruptViews
public org.apache.cassandra.db.lifecycle.LifecycleTransaction markAllCompacting(org.apache.cassandra.db.compaction.OperationType);
descriptor: (Lorg/apache/cassandra/db/compaction/OperationType;)Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.db.ColumnFamilyStore$6
dup
aload 0
aload 1
invokespecial org.apache.cassandra.db.ColumnFamilyStore$6.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/compaction/OperationType;)V
astore 2
start local 2 1: aload 0
aload 2
iconst_0
iconst_0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.runWithCompactionsDisabled:(Ljava/util/concurrent/Callable;ZZ)Ljava/lang/Object;
checkcast org.apache.cassandra.db.lifecycle.LifecycleTransaction
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 1 operationType Lorg/apache/cassandra/db/compaction/OperationType;
1 2 2 callable Ljava/util/concurrent/Callable<Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;>;
MethodParameters:
Name Flags
operationType final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "CFS(Keyspace='"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
2: ldc ", ColumnFamily='"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void disableAutoCompaction();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.disable:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void enableAutoCompaction();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.enableAutoCompaction:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void enableAutoCompaction(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.enable:()V
1: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.submitBackground:(Lorg/apache/cassandra/db/ColumnFamilyStore;)Ljava/util/List;
astore 2
start local 2 2: iload 1
ifeq 4
3: aload 2
invokestatic org.apache.cassandra.utils.FBUtilities.waitOnFutures:(Ljava/lang/Iterable;)Ljava/util/List;
pop
4: StackMap locals: java.util.List
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 5 1 waitForFutures Z
2 5 2 futures Ljava/util/List<Ljava/util/concurrent/Future<*>;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
waitForFutures
public boolean isAutoCompactionDisabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.isEnabled:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public org.apache.cassandra.db.compaction.CompactionStrategyManager getCompactionStrategyManager();
descriptor: ()Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void setCrcCheckChance(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: invokestatic org.apache.cassandra.schema.TableParams.builder:()Lorg/apache/cassandra/schema/TableParams$Builder;
dload 1
invokevirtual org.apache.cassandra.schema.TableParams$Builder.crcCheckChance:(D)Lorg/apache/cassandra/schema/TableParams$Builder;
invokevirtual org.apache.cassandra.schema.TableParams$Builder.build:()Lorg/apache/cassandra/schema/TableParams;
invokevirtual org.apache.cassandra.schema.TableParams.validate:()V
1: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.concatWithIndexes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore double top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.ColumnFamilyStore
astore 3
start local 3 3: aload 3
getfield org.apache.cassandra.db.ColumnFamilyStore.crcCheckChance:Lorg/apache/cassandra/utils/DefaultValue;
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual org.apache.cassandra.utils.DefaultValue.set:(Ljava/lang/Object;)V
4: aload 3
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.LIVE:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore double org.apache.cassandra.db.ColumnFamilyStore java.util.Iterator top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 5
start local 5 6: aload 5
dload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.setCrcCheckChance:(D)V
end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 8: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore double top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: goto 12
10: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore double
StackMap stack: org.apache.cassandra.exceptions.ConfigurationException
astore 3
start local 3 11: new java.lang.IllegalArgumentException
dup
aload 3
invokevirtual org.apache.cassandra.exceptions.ConfigurationException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 13 1 crcCheckChance D
3 8 3 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
6 7 5 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
11 12 3 e Lorg/apache/cassandra/exceptions/ConfigurationException;
Exception table:
from to target type
0 9 10 Class org.apache.cassandra.exceptions.ConfigurationException
MethodParameters:
Name Flags
crcCheckChance
public java.lang.Double getCrcCheckChance();
descriptor: ()Ljava/lang/Double;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.crcCheckChance:Lorg/apache/cassandra/utils/DefaultValue;
invokevirtual org.apache.cassandra.utils.DefaultValue.value:()Ljava/lang/Object;
checkcast java.lang.Double
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void setCompactionThresholds(int, int);
descriptor: (II)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
iload 1
iload 2
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.validateCompactionThresholds:(II)V
1: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.minCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.apache.cassandra.utils.DefaultValue.set:(Ljava/lang/Object;)V
2: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.maxCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.apache.cassandra.utils.DefaultValue.set:(Ljava/lang/Object;)V
3: getstatic org.apache.cassandra.db.compaction.CompactionManager.instance:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.submitBackground:(Lorg/apache/cassandra/db/ColumnFamilyStore;)Ljava/util/List;
pop
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/ColumnFamilyStore;
0 5 1 minThreshold I
0 5 2 maxThreshold I
MethodParameters:
Name Flags
minThreshold
maxThreshold
public int getMinimumCompactionThreshold();
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.ColumnFamilyStore.minCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
invokevirtual org.apache.cassandra.utils.DefaultValue.value:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void setMinimumCompactionThreshold(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.maxCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
invokevirtual org.apache.cassandra.utils.DefaultValue.value:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.validateCompactionThresholds:(II)V
1: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.minCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.apache.cassandra.utils.DefaultValue.set:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 3 1 minCompactionThreshold I
MethodParameters:
Name Flags
minCompactionThreshold
public int getMaximumCompactionThreshold();
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.ColumnFamilyStore.maxCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
invokevirtual org.apache.cassandra.utils.DefaultValue.value:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void setMaximumCompactionThreshold(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.minCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
invokevirtual org.apache.cassandra.utils.DefaultValue.value:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.validateCompactionThresholds:(II)V
1: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.maxCompactionThreshold:Lorg/apache/cassandra/utils/DefaultValue;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.apache.cassandra.utils.DefaultValue.set:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 3 1 maxCompactionThreshold I
MethodParameters:
Name Flags
maxCompactionThreshold
private void validateCompactionThresholds(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
if_icmple 4
1: new java.lang.RuntimeException
dup
ldc "The min_compaction_threshold cannot be larger than the max_compaction_threshold. Min is '%d', Max is '%d'."
iconst_2
anewarray java.lang.Object
dup
iconst_0
2: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
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;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 2
ifeq 5
iload 1
ifne 6
5: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Disabling compaction by setting min_compaction_threshold or max_compaction_threshold to 0 is deprecated, set the compaction strategy option 'enabled' to 'false' instead or use the nodetool command 'disableautocompaction'."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 7 1 minThreshold I
0 7 2 maxThreshold I
MethodParameters:
Name Flags
minThreshold
maxThreshold
public int getMeanColumns();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: lconst_0
lstore 3
start local 3 2: aload 0
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore long long top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 5
start local 5 4: aload 5
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedColumnCount:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.count:()J
lstore 7
start local 7 5: lload 1
aload 5
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedColumnCount:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.mean:()J
lload 7
lmul
ladd
lstore 1
6: lload 3
lload 7
ladd
lstore 3
end local 7 end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: lload 3
lconst_0
lcmp
ifle 9
lload 1
lload 3
ldiv
l2i
goto 10
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore long long
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
1 11 1 sum J
2 11 3 count J
4 7 5 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
5 7 7 n J
public double getMeanPartitionSize();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: lconst_0
lstore 3
start local 3 2: aload 0
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore long long top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 5
start local 5 4: aload 5
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedPartitionSize:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.count:()J
lstore 7
start local 7 5: lload 1
aload 5
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedPartitionSize:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.mean:()J
lload 7
lmul
ladd
lstore 1
6: lload 3
lload 7
ladd
lstore 3
end local 7 end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: lload 3
lconst_0
lcmp
ifle 9
lload 1
l2d
dconst_1
dmul
lload 3
l2d
ddiv
goto 10
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore long long
StackMap stack:
9: dconst_0
StackMap locals:
StackMap stack: double
10: dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
1 11 1 sum J
2 11 3 count J
4 7 5 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
5 7 7 n J
public long estimateKeys();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 3
start local 3 3: lload 1
aload 3
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.estimatedKeys:()J
ladd
lstore 1
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
1 6 1 n J
3 4 3 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
public org.apache.cassandra.dht.IPartitioner getPartitioner();
descriptor: ()Lorg/apache/cassandra/dht/IPartitioner;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.partitioner:Lorg/apache/cassandra/dht/IPartitioner;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public org.apache.cassandra.db.DecoratedKey decorateKey(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.decorateKey:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/DecoratedKey;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 1 1 key Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
key
public boolean isIndex();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isIndex:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public java.lang.Iterable<org.apache.cassandra.db.ColumnFamilyStore> concatWithIndexes();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.getAllIndexColumnFamilyStores:()Ljava/util/Set;
invokestatic com.google.common.collect.Iterables.concat:(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
Signature: ()Ljava/lang/Iterable<Lorg/apache/cassandra/db/ColumnFamilyStore;>;
public java.util.List<java.lang.String> getBuiltIndexes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.getBuiltIndexNames:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public int getUnleveledSSTables();
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.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.getUnleveledSSTables:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public int[] getSSTableCountPerLevel();
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.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.getSSTableCountPerLevel:()[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public int getLevelFanoutSize();
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.ColumnFamilyStore.compactionStrategyManager:Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.getLevelFanoutSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getView:()Lorg/apache/cassandra/db/lifecycle/View;
invokevirtual org.apache.cassandra.db.lifecycle.View.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public boolean isRowCacheEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.caching:Lorg/apache/cassandra/schema/CachingParams;
invokevirtual org.apache.cassandra.schema.CachingParams.cacheRows:()Z
ifeq 1
getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.rowCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.getCapacity:()J
lconst_0
lcmp
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: getstatic org.apache.cassandra.db.ColumnFamilyStore.$assertionsDisabled:Z
ifne 4
iload 1
ifeq 4
aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.isIndex:()Z
ifeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
3 5 1 retval Z
public boolean isCounterCacheEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.config.CFMetaData.isCounter:()Z
ifeq 1
getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.counterCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.getCapacity:()J
lconst_0
lcmp
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public boolean isKeyCacheEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.caching:Lorg/apache/cassandra/schema/CachingParams;
invokevirtual org.apache.cassandra.schema.CachingParams.cacheKeys:()Z
ifeq 1
getstatic org.apache.cassandra.service.CacheService.instance:Lorg/apache/cassandra/service/CacheService;
getfield org.apache.cassandra.service.CacheService.keyCache:Lorg/apache/cassandra/cache/AutoSavingCache;
invokevirtual org.apache.cassandra.cache.AutoSavingCache.getCapacity:()J
lconst_0
lcmp
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void discardSSTables(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.ColumnFamilyStore.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getCompacting:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 1
new java.lang.AssertionError
dup
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.data:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getCompacting:()Ljava/util/Set;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: aload 0
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.LIVE:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore long java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 4
start local 4 4: aload 4
lload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.newSince:(J)Z
ifne 6
5: aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 9
8: aload 0
aload 3
getstatic org.apache.cassandra.db.compaction.OperationType.UNKNOWN:Lorg/apache/cassandra/db/compaction/OperationType;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.markObsolete:(Ljava/util/Collection;Lorg/apache/cassandra/db/compaction/OperationType;)V
9: StackMap locals: org.apache.cassandra.db.ColumnFamilyStore long java.util.List
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
0 10 1 truncatedAt J
2 10 3 truncatedSSTables Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
4 6 4 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
truncatedAt
public double getDroppableTombstoneRatio();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=1
start local 0 0: dconst_0
dstore 1
start local 1 1: lconst_0
lstore 3
start local 3 2: invokestatic java.lang.System.currentTimeMillis:()J
ldc 1000
ldiv
l2i
istore 5
start local 5 3: aload 0
getstatic org.apache.cassandra.db.lifecycle.SSTableSet.CANONICAL:Lorg/apache/cassandra/db/lifecycle/SSTableSet;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTables:(Lorg/apache/cassandra/db/lifecycle/SSTableSet;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 7
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore double long int top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 6
start local 6 5: dload 1
aload 6
iload 5
aload 6
getfield org.apache.cassandra.io.sstable.format.SSTableReader.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.params:Lorg/apache/cassandra/schema/TableParams;
getfield org.apache.cassandra.schema.TableParams.gcGraceSeconds:I
isub
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getDroppableTombstonesBefore:(I)D
dadd
dstore 1
6: lload 3
aload 6
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedColumnCount:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.mean:()J
aload 6
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getEstimatedColumnCount:()Lorg/apache/cassandra/utils/EstimatedHistogram;
invokevirtual org.apache.cassandra.utils.EstimatedHistogram.count:()J
lmul
ladd
lstore 3
end local 6 7: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: lload 3
lconst_0
lcmp
ifle 9
dload 1
lload 3
l2d
ddiv
goto 10
StackMap locals: org.apache.cassandra.db.ColumnFamilyStore double long int
StackMap stack:
9: dconst_0
StackMap locals:
StackMap stack: double
10: dreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
1 11 1 allDroppable D
2 11 3 allColumns J
3 11 5 localTime I
5 7 6 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
public long trueSnapshotsSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
invokevirtual org.apache.cassandra.db.Directories.trueSnapshotsSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
void resetFileIndexGenerator();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.fileIndexGenerator:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
public static org.apache.cassandra.db.ColumnFamilyStore getIfExists(java.util.UUID);
descriptor: (Ljava/util/UUID;)Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 0
invokevirtual org.apache.cassandra.config.Schema.getCF:(Ljava/util/UUID;)Lorg/apache/cassandra/utils/Pair;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.apache.cassandra.utils.Pair
StackMap stack:
aload 1
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
astore 2
start local 2 4: aload 2
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals: org.apache.cassandra.db.Keyspace
StackMap stack:
aload 2
aload 0
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/util/UUID;)Lorg/apache/cassandra/db/ColumnFamilyStore;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 cfId Ljava/util/UUID;
1 7 1 kscf Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;
4 7 2 keyspace Lorg/apache/cassandra/db/Keyspace;
MethodParameters:
Name Flags
cfId
public static org.apache.cassandra.db.ColumnFamilyStore getIfExists(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: org.apache.cassandra.db.Keyspace
StackMap stack:
getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 0
aload 1
invokevirtual org.apache.cassandra.config.Schema.getId:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/UUID;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: aconst_null
areturn
8: StackMap locals: java.util.UUID
StackMap stack:
aload 2
aload 3
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/util/UUID;)Lorg/apache/cassandra/db/ColumnFamilyStore;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 ksName Ljava/lang/String;
0 9 1 cfName Ljava/lang/String;
3 9 2 keyspace Lorg/apache/cassandra/db/Keyspace;
6 9 3 id Ljava/util/UUID;
MethodParameters:
Name Flags
ksName
cfName
public static org.apache.cassandra.metrics.TableMetrics metricsFor(java.util.UUID);
descriptor: (Ljava/util/UUID;)Lorg/apache/cassandra/metrics/TableMetrics;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.db.ColumnFamilyStore.getIfExists:(Ljava/util/UUID;)Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 tableId Ljava/util/UUID;
MethodParameters:
Name Flags
tableId
public org.apache.cassandra.db.DiskBoundaries getDiskBoundaries();
descriptor: ()Lorg/apache/cassandra/db/DiskBoundaries;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.diskBoundaryManager:Lorg/apache/cassandra/db/DiskBoundaryManager;
aload 0
invokevirtual org.apache.cassandra.db.DiskBoundaryManager.getDiskBoundaries:(Lorg/apache/cassandra/db/ColumnFamilyStore;)Lorg/apache/cassandra/db/DiskBoundaries;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
public void invalidateDiskBoundaries();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.diskBoundaryManager:Lorg/apache/cassandra/db/DiskBoundaryManager;
invokevirtual org.apache.cassandra.db.DiskBoundaryManager.invalidate:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
private org.apache.cassandra.db.commitlog.CommitLogPosition lambda$0(org.apache.cassandra.db.Memtable);
descriptor: (Lorg/apache/cassandra/db/Memtable;)Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: getstatic org.apache.cassandra.db.ColumnFamilyStore.logger:Lorg/slf4j/Logger;
ldc "forceFlush requested but everything is clean in {}"
aload 0
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 1
invokevirtual org.apache.cassandra.db.Memtable.getCommitLogLowerBound:()Lorg/apache/cassandra/db/commitlog/CommitLogPosition;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/ColumnFamilyStore;
Exceptions:
throws java.lang.Exception
private static int lambda$1(org.apache.cassandra.io.sstable.format.SSTableReader, org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/io/sstable/format/SSTableReader;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.sstable.format.SSTableReader.first:Lorg/apache/cassandra/db/DecoratedKey;
aload 1
getfield org.apache.cassandra.io.sstable.format.SSTableReader.first:Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.compareTo:(Lorg/apache/cassandra/db/PartitionPosition;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 o1 Lorg/apache/cassandra/io/sstable/format/SSTableReader;
0 1 1 o2 Lorg/apache/cassandra/io/sstable/format/SSTableReader;
private static boolean lambda$2(com.google.common.base.Predicate, org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lcom/google/common/base/Predicate;Lorg/apache/cassandra/io/sstable/format/SSTableReader;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
ifnull 1
aload 0
aload 1
invokeinterface com.google.common.base.Predicate.apply:(Ljava/lang/Object;)Z
ifne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 x Lorg/apache/cassandra/io/sstable/format/SSTableReader;
}
SourceFile: "ColumnFamilyStore.java"
NestMembers:
org.apache.cassandra.db.ColumnFamilyStore$1 org.apache.cassandra.db.ColumnFamilyStore$2 org.apache.cassandra.db.ColumnFamilyStore$3 org.apache.cassandra.db.ColumnFamilyStore$4 org.apache.cassandra.db.ColumnFamilyStore$5 org.apache.cassandra.db.ColumnFamilyStore$6 org.apache.cassandra.db.ColumnFamilyStore$Flush org.apache.cassandra.db.ColumnFamilyStore$Flush$1 org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily org.apache.cassandra.db.ColumnFamilyStore$PostFlush org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment org.apache.cassandra.db.ColumnFamilyStore$ViewFragment
InnerClasses:
public abstract SetView = com.google.common.collect.Sets$SetView of com.google.common.collect.Sets
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.ColumnFamilyStore$1
org.apache.cassandra.db.ColumnFamilyStore$2
org.apache.cassandra.db.ColumnFamilyStore$3
org.apache.cassandra.db.ColumnFamilyStore$4
org.apache.cassandra.db.ColumnFamilyStore$5
org.apache.cassandra.db.ColumnFamilyStore$6
private final Flush = org.apache.cassandra.db.ColumnFamilyStore$Flush of org.apache.cassandra.db.ColumnFamilyStore
public FlushLargestColumnFamily = org.apache.cassandra.db.ColumnFamilyStore$FlushLargestColumnFamily of org.apache.cassandra.db.ColumnFamilyStore
private final PostFlush = org.apache.cassandra.db.ColumnFamilyStore$PostFlush of org.apache.cassandra.db.ColumnFamilyStore
public RefViewFragment = org.apache.cassandra.db.ColumnFamilyStore$RefViewFragment of org.apache.cassandra.db.ColumnFamilyStore
public ViewFragment = org.apache.cassandra.db.ColumnFamilyStore$ViewFragment of org.apache.cassandra.db.ColumnFamilyStore
public DataDirectory = org.apache.cassandra.db.Directories$DataDirectory of org.apache.cassandra.db.Directories
public final OnTxnErr = org.apache.cassandra.db.Directories$OnTxnErr of org.apache.cassandra.db.Directories
public SSTableLister = org.apache.cassandra.db.Directories$SSTableLister of org.apache.cassandra.db.Directories
public final LastCommitLogPosition = org.apache.cassandra.db.Memtable$LastCommitLogPosition of org.apache.cassandra.db.Memtable
public final AllSSTableOpStatus = org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus of org.apache.cassandra.db.compaction.CompactionManager
public final Type = org.apache.cassandra.io.sstable.format.SSTableFormat$Type of org.apache.cassandra.io.sstable.format.SSTableFormat
public abstract Operator = org.apache.cassandra.io.sstable.format.SSTableReader$Operator of org.apache.cassandra.io.sstable.format.SSTableReader
public final Sampler = org.apache.cassandra.metrics.TableMetrics$Sampler of org.apache.cassandra.metrics.TableMetrics
public TableHistogram = org.apache.cassandra.metrics.TableMetrics$TableHistogram of org.apache.cassandra.metrics.TableMetrics
public final TombstoneOption = org.apache.cassandra.schema.CompactionParams$TombstoneOption of org.apache.cassandra.schema.CompactionParams
public final Builder = org.apache.cassandra.schema.TableParams$Builder of org.apache.cassandra.schema.TableParams
public final Level = org.apache.cassandra.utils.NoSpamLogger$Level of org.apache.cassandra.utils.NoSpamLogger
public SamplerResult = org.apache.cassandra.utils.TopKSampler$SamplerResult of org.apache.cassandra.utils.TopKSampler
public final Group = org.apache.cassandra.utils.concurrent.OpOrder$Group of org.apache.cassandra.utils.concurrent.OpOrder
public final SubAllocator = org.apache.cassandra.utils.memory.MemtableAllocator$SubAllocator of org.apache.cassandra.utils.memory.MemtableAllocator