public abstract class org.apache.cassandra.db.compaction.AbstractCompactionTask extends org.apache.cassandra.utils.WrappedRunnable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.db.compaction.AbstractCompactionTask
super_class: org.apache.cassandra.utils.WrappedRunnable
{
protected final org.apache.cassandra.db.ColumnFamilyStore cfs;
descriptor: Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected org.apache.cassandra.db.lifecycle.LifecycleTransaction transaction;
descriptor: Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
flags: (0x0004) ACC_PROTECTED
protected boolean isUserDefined;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected org.apache.cassandra.db.compaction.OperationType compactionType;
descriptor: Lorg/apache/cassandra/db/compaction/OperationType;
flags: (0x0004) ACC_PROTECTED
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.db.compaction.AbstractCompactionTask.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.db.ColumnFamilyStore, org.apache.cassandra.db.lifecycle.LifecycleTransaction);
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.cassandra.utils.WrappedRunnable.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.db.compaction.AbstractCompactionTask.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
2: aload 0
aload 2
putfield org.apache.cassandra.db.compaction.AbstractCompactionTask.transaction:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
3: aload 0
iconst_0
putfield org.apache.cassandra.db.compaction.AbstractCompactionTask.isUserDefined:Z
4: aload 0
getstatic org.apache.cassandra.db.compaction.OperationType.COMPACTION:Lorg/apache/cassandra/db/compaction/OperationType;
putfield org.apache.cassandra.db.compaction.AbstractCompactionTask.compactionType:Lorg/apache/cassandra/db/compaction/OperationType;
5: aload 2
getfield org.apache.cassandra.db.lifecycle.LifecycleTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.getCompacting:()Ljava/util/Set;
astore 3
start local 3 6: aload 2
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionTask org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.db.lifecycle.LifecycleTransaction java.util.Set top java.util.Iterator
StackMap stack:
7: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 4
start local 4 8: getstatic org.apache.cassandra.db.compaction.AbstractCompactionTask.$assertionsDisabled:Z
ifne 9
aload 3
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 9
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
aload 4
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getFilename:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not correctly marked compacting"
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
end local 4 9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: return
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/compaction/AbstractCompactionTask;
0 11 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
0 11 2 transaction Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
6 11 3 compacting Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
8 9 4 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
cfs
transaction
public int execute(org.apache.cassandra.db.compaction.CompactionManager$CompactionExecutorStatsCollector);
descriptor: (Lorg/apache/cassandra/db/compaction/CompactionManager$CompactionExecutorStatsCollector;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.cassandra.db.compaction.AbstractCompactionTask.executeInternal:(Lorg/apache/cassandra/db/compaction/CompactionManager$CompactionExecutorStatsCollector;)I
istore 5
1: aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionTask.transaction:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.close:()V
2: iload 5
ireturn
3: StackMap locals:
StackMap stack: org.apache.cassandra.io.FSDiskFullWriteError
astore 2
start local 2 4: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Converted from FSDiskFullWriteError: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.apache.cassandra.io.FSDiskFullWriteError.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.RuntimeException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 5: aload 3
aload 2
invokevirtual org.apache.cassandra.io.FSDiskFullWriteError.getStackTrace:()[Ljava/lang/StackTraceElement;
invokevirtual java.lang.RuntimeException.setStackTrace:([Ljava/lang/StackTraceElement;)V
6: new java.lang.RuntimeException
dup
ldc "Throwing new Runtime to bypass exception handler when disk is full"
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
8: aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionTask.transaction:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.close:()V
9: aload 4
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
0 10 1 collector Lorg/apache/cassandra/db/compaction/CompactionManager$CompactionExecutorStatsCollector;
4 7 2 e Lorg/apache/cassandra/io/FSDiskFullWriteError;
5 7 3 cause Ljava/lang/RuntimeException;
Exception table:
from to target type
0 1 3 Class org.apache.cassandra.io.FSDiskFullWriteError
0 1 7 any
3 7 7 any
MethodParameters:
Name Flags
collector
public abstract org.apache.cassandra.db.compaction.writers.CompactionAwareWriter getCompactionAwareWriter(org.apache.cassandra.db.ColumnFamilyStore, org.apache.cassandra.db.Directories, org.apache.cassandra.db.lifecycle.LifecycleTransaction, java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set;)Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)Lorg/apache/cassandra/db/compaction/writers/CompactionAwareWriter;
MethodParameters:
Name Flags
cfs
directories
txn
nonExpiredSSTables
protected abstract int executeInternal(org.apache.cassandra.db.compaction.CompactionManager$CompactionExecutorStatsCollector);
descriptor: (Lorg/apache/cassandra/db/compaction/CompactionManager$CompactionExecutorStatsCollector;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
collector
public org.apache.cassandra.db.compaction.AbstractCompactionTask setUserDefined(boolean);
descriptor: (Z)Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
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.compaction.AbstractCompactionTask.isUserDefined:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
0 2 1 isUserDefined Z
MethodParameters:
Name Flags
isUserDefined
public org.apache.cassandra.db.compaction.AbstractCompactionTask setCompactionType(org.apache.cassandra.db.compaction.OperationType);
descriptor: (Lorg/apache/cassandra/db/compaction/OperationType;)Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.cassandra.db.compaction.AbstractCompactionTask.compactionType:Lorg/apache/cassandra/db/compaction/OperationType;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
0 2 1 compactionType Lorg/apache/cassandra/db/compaction/OperationType;
MethodParameters:
Name Flags
compactionType
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 "CompactionTask("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionTask.transaction:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionTask;
}
SourceFile: "AbstractCompactionTask.java"
InnerClasses:
public abstract CompactionExecutorStatsCollector = org.apache.cassandra.db.compaction.CompactionManager$CompactionExecutorStatsCollector of org.apache.cassandra.db.compaction.CompactionManager