class org.apache.cassandra.db.compaction.CompactionManager$6 implements org.apache.cassandra.db.compaction.CompactionManager$OneSSTableOperation
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.compaction.CompactionManager$6
super_class: java.lang.Object
{
final org.apache.cassandra.db.compaction.CompactionManager this$0;
descriptor: Lorg/apache/cassandra/db/compaction/CompactionManager;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.Collection val$ranges;
descriptor: Ljava/util/Collection;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.apache.cassandra.db.ColumnFamilyStore val$cfStore;
descriptor: Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final boolean val$hasIndexes;
descriptor: Z
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.db.compaction.CompactionManager, java.util.Collection, org.apache.cassandra.db.ColumnFamilyStore, boolean);
descriptor: (Lorg/apache/cassandra/db/compaction/CompactionManager;Ljava/util/Collection;Lorg/apache/cassandra/db/ColumnFamilyStore;Z)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.db.compaction.CompactionManager$6.this$0:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
aload 2
putfield org.apache.cassandra.db.compaction.CompactionManager$6.val$ranges:Ljava/util/Collection;
aload 0
aload 3
putfield org.apache.cassandra.db.compaction.CompactionManager$6.val$cfStore:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 0
iload 4
putfield org.apache.cassandra.db.compaction.CompactionManager$6.val$hasIndexes:Z
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/CompactionManager$6;
MethodParameters:
Name Flags
this$0 final
val$ranges final
val$cfStore final
val$hasIndexes final
public java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader> filterSSTables(org.apache.cassandra.db.lifecycle.LifecycleTransaction);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:()Ljava/util/Set;
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/lang/Iterable;)Ljava/util/ArrayList;
astore 2
start local 2 1: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 14
5: StackMap locals: org.apache.cassandra.db.compaction.CompactionManager$6 org.apache.cassandra.db.lifecycle.LifecycleTransaction java.util.List java.util.Iterator int int
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 6
start local 6 6: iinc 4 1
7: aload 6
aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.val$ranges:Ljava/util/Collection;
invokestatic org.apache.cassandra.db.compaction.CompactionManager.needsCleanup:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/util/Collection;)Z
ifne 14
8: getstatic org.apache.cassandra.db.compaction.CompactionManager.logger:Lorg/slf4j/Logger;
ldc "Not cleaning up {} ([{}, {}]) - no tokens outside owned ranges {}"
iconst_4
anewarray java.lang.Object
dup
iconst_0
9: aload 6
aastore
dup
iconst_1
aload 6
getfield org.apache.cassandra.io.sstable.format.SSTableReader.first:Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getToken:()Lorg/apache/cassandra/dht/Token;
aastore
dup
iconst_2
aload 6
getfield org.apache.cassandra.io.sstable.format.SSTableReader.last:Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.db.DecoratedKey.getToken:()Lorg/apache/cassandra/dht/Token;
aastore
dup
iconst_3
aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.val$ranges:Ljava/util/Collection;
aastore
10: invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
11: aload 3
invokeinterface java.util.Iterator.remove:()V
12: aload 1
aload 6
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.cancel:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;)V
13: iinc 5 1
end local 6 14: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
15: getstatic org.apache.cassandra.db.compaction.CompactionManager.logger:Lorg/slf4j/Logger;
ldc "Skipping cleanup for {}/{} sstables for {}.{} since they are fully contained in owned ranges ({})"
iconst_5
anewarray java.lang.Object
dup
iconst_0
16: iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.val$cfStore: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;
aastore
dup
iconst_3
aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.val$cfStore:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTableName:()Ljava/lang/String;
aastore
dup
iconst_4
aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.val$ranges:Ljava/util/Collection;
aastore
17: invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
18: aload 2
getstatic org.apache.cassandra.io.sstable.format.SSTableReader.sizeComparator:Ljava/util/Comparator;
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
19: aload 2
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 20 0 this Lorg/apache/cassandra/db/compaction/CompactionManager$6;
0 20 1 transaction Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
1 20 2 sortedSSTables Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
2 20 3 sstableIter Ljava/util/Iterator<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
3 20 4 totalSSTables I
4 20 5 skippedSStables I
6 14 6 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
transaction
public void execute(org.apache.cassandra.db.lifecycle.LifecycleTransaction);
descriptor: (Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.val$cfStore:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.val$ranges:Ljava/util/Collection;
invokestatic org.apache.cassandra.utils.FBUtilities.nowInSeconds:()I
invokestatic org.apache.cassandra.db.compaction.CompactionManager$CleanupStrategy.get:(Lorg/apache/cassandra/db/ColumnFamilyStore;Ljava/util/Collection;I)Lorg/apache/cassandra/db/compaction/CompactionManager$CleanupStrategy;
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.this$0:Lorg/apache/cassandra/db/compaction/CompactionManager;
aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.val$cfStore:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 1
aload 2
aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.val$ranges:Ljava/util/Collection;
aload 0
getfield org.apache.cassandra.db.compaction.CompactionManager$6.val$hasIndexes:Z
invokevirtual org.apache.cassandra.db.compaction.CompactionManager.doCleanupOne:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Lorg/apache/cassandra/db/compaction/CompactionManager$CleanupStrategy;Ljava/util/Collection;Z)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/compaction/CompactionManager$6;
0 3 1 txn Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
1 3 2 cleanupStrategy Lorg/apache/cassandra/db/compaction/CompactionManager$CleanupStrategy;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
txn
}
SourceFile: "CompactionManager.java"
EnclosingMethod: org.apache.cassandra.db.compaction.CompactionManager.performCleanup:(Lorg/apache/cassandra/db/ColumnFamilyStore;I)Lorg/apache/cassandra/db/compaction/CompactionManager$AllSSTableOpStatus;
NestHost: org.apache.cassandra.db.compaction.CompactionManager
InnerClasses:
org.apache.cassandra.db.compaction.CompactionManager$6
public final AllSSTableOpStatus = org.apache.cassandra.db.compaction.CompactionManager$AllSSTableOpStatus of org.apache.cassandra.db.compaction.CompactionManager
private abstract CleanupStrategy = org.apache.cassandra.db.compaction.CompactionManager$CleanupStrategy of org.apache.cassandra.db.compaction.CompactionManager
private abstract OneSSTableOperation = org.apache.cassandra.db.compaction.CompactionManager$OneSSTableOperation of org.apache.cassandra.db.compaction.CompactionManager