class org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate
super_class: java.lang.Object
{
private final org.apache.cassandra.db.ColumnFamilyStore cfs;
descriptor: Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.cassandra.db.compaction.CompactionManager this$0;
descriptor: Lorg/apache/cassandra/db/compaction/CompactionManager;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.db.compaction.CompactionManager, org.apache.cassandra.db.ColumnFamilyStore);
descriptor: (Lorg/apache/cassandra/db/compaction/CompactionManager;Lorg/apache/cassandra/db/ColumnFamilyStore;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate this
start local 2 // org.apache.cassandra.db.ColumnFamilyStore cfs
0: .line 245
aload 0 /* this */
aload 1
putfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.this$0:Lorg/apache/cassandra/db/compaction/CompactionManager;
1: .line 244
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
2: .line 246
aload 1
getfield org.apache.cassandra.db.compaction.CompactionManager.compactingCF:Lcom/google/common/collect/Multiset;
aload 2 /* cfs */
invokeinterface com.google.common.collect.Multiset.add:(Ljava/lang/Object;)Z
pop
3: .line 247
aload 0 /* this */
aload 2 /* cfs */
putfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
4: .line 248
return
end local 2 // org.apache.cassandra.db.ColumnFamilyStore cfs
end local 0 // org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/compaction/CompactionManager$BackgroundCompactionCandidate;
0 5 2 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
MethodParameters:
Name Flags
this$0 final
cfs
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 // org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate this
0: .line 254
getstatic org.apache.cassandra.db.compaction.CompactionManager.logger:Lorg/slf4j/Logger;
ldc "Checking {}.{}"
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.name:Ljava/lang/String;
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
1: .line 255
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.isValid:()Z
ifne 5
2: .line 257
getstatic org.apache.cassandra.db.compaction.CompactionManager.logger:Lorg/slf4j/Logger;
ldc "Aborting compaction for dropped CF"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
3: .line 272
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.this$0:Lorg/apache/cassandra/db/compaction/CompactionManager;
getfield org.apache.cassandra.db.compaction.CompactionManager.compactingCF:Lcom/google/common/collect/Multiset;
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokeinterface com.google.common.collect.Multiset.remove:(Ljava/lang/Object;)Z
pop
4: .line 258
return
5: .line 261
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getCompactionStrategyManager:()Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
astore 1 /* strategy */
start local 1 // org.apache.cassandra.db.compaction.CompactionStrategyManager strategy
6: .line 262
aload 1 /* strategy */
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
invokestatic org.apache.cassandra.db.compaction.CompactionManager.getDefaultGcBefore:(Lorg/apache/cassandra/db/ColumnFamilyStore;I)I
invokevirtual org.apache.cassandra.db.compaction.CompactionStrategyManager.getNextBackgroundTask:(I)Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
astore 2 /* task */
start local 2 // org.apache.cassandra.db.compaction.AbstractCompactionTask task
7: .line 263
aload 2 /* task */
ifnonnull 11
8: .line 265
getstatic org.apache.cassandra.db.compaction.CompactionManager.logger:Lorg/slf4j/Logger;
ldc "No tasks available"
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;)V
9: .line 272
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.this$0:Lorg/apache/cassandra/db/compaction/CompactionManager;
getfield org.apache.cassandra.db.compaction.CompactionManager.compactingCF:Lcom/google/common/collect/Multiset;
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokeinterface com.google.common.collect.Multiset.remove:(Ljava/lang/Object;)Z
pop
10: .line 266
return
11: .line 268
StackMap locals: org.apache.cassandra.db.compaction.CompactionStrategyManager org.apache.cassandra.db.compaction.AbstractCompactionTask
StackMap stack:
aload 2 /* task */
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.this$0:Lorg/apache/cassandra/db/compaction/CompactionManager;
getfield org.apache.cassandra.db.compaction.CompactionManager.metrics:Lorg/apache/cassandra/metrics/CompactionMetrics;
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionTask.execute:(Lorg/apache/cassandra/db/compaction/CompactionManager$CompactionExecutorStatsCollector;)I
pop
end local 2 // org.apache.cassandra.db.compaction.AbstractCompactionTask task
end local 1 // org.apache.cassandra.db.compaction.CompactionStrategyManager strategy
12: .line 269
goto 16
13: .line 271
StackMap locals: org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate
StackMap stack: java.lang.Throwable
astore 3
14: .line 272
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.this$0:Lorg/apache/cassandra/db/compaction/CompactionManager;
getfield org.apache.cassandra.db.compaction.CompactionManager.compactingCF:Lcom/google/common/collect/Multiset;
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokeinterface com.google.common.collect.Multiset.remove:(Ljava/lang/Object;)Z
pop
15: .line 273
aload 3
athrow
16: .line 272
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.this$0:Lorg/apache/cassandra/db/compaction/CompactionManager;
getfield org.apache.cassandra.db.compaction.CompactionManager.compactingCF:Lcom/google/common/collect/Multiset;
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokeinterface com.google.common.collect.Multiset.remove:(Ljava/lang/Object;)Z
pop
17: .line 274
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.this$0:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0 /* this */
getfield org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.submitBackground:(Lorg/apache/cassandra/db/ColumnFamilyStore;)Ljava/util/List;
pop
18: .line 275
return
end local 0 // org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate this
LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/db/compaction/CompactionManager$BackgroundCompactionCandidate;
6 12 1 strategy Lorg/apache/cassandra/db/compaction/CompactionStrategyManager;
7 12 2 task Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
Exception table:
from to target type
0 3 13 any
5 9 13 any
11 13 13 any
}
SourceFile: "CompactionManager.java"
NestHost: org.apache.cassandra.db.compaction.CompactionManager
InnerClasses:
BackgroundCompactionCandidate = org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate of org.apache.cassandra.db.compaction.CompactionManager
public abstract CompactionExecutorStatsCollector = org.apache.cassandra.db.compaction.CompactionManager$CompactionExecutorStatsCollector of org.apache.cassandra.db.compaction.CompactionManager