public class org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier
super_class: java.lang.Object
{
private final org.apache.cassandra.io.sstable.Descriptor desc;
descriptor: Lorg/apache/cassandra/io/sstable/Descriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long sizeOnDisk;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.lifecycle.Tracker tracker;
descriptor: Lorg/apache/cassandra/db/lifecycle/Tracker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean wasNew;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.utils.concurrent.Ref<org.apache.cassandra.db.lifecycle.LogTransaction> parentRef;
descriptor: Lorg/apache/cassandra/utils/concurrent/Ref;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/cassandra/utils/concurrent/Ref<Lorg/apache/cassandra/db/lifecycle/LogTransaction;>;
public void <init>(org.apache.cassandra.io.sstable.format.SSTableReader, boolean, org.apache.cassandra.db.lifecycle.LogTransaction);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;ZLorg/apache/cassandra/db/lifecycle/LogTransaction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
putfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
2: aload 0
aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.bytesOnDisk:()J
putfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.sizeOnDisk:J
3: aload 0
aload 3
getfield org.apache.cassandra.db.lifecycle.LogTransaction.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
putfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
4: aload 0
iload 2
putfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.wasNew:Z
5: aload 0
aload 3
getfield org.apache.cassandra.db.lifecycle.LogTransaction.selfRef:Lorg/apache/cassandra/utils/concurrent/Ref;
invokevirtual org.apache.cassandra.utils.concurrent.Ref.tryRef:()Lorg/apache/cassandra/utils/concurrent/Ref;
putfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.parentRef:Lorg/apache/cassandra/utils/concurrent/Ref;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/lifecycle/LogTransaction$SSTableTidier;
0 7 1 referent Lorg/apache/cassandra/io/sstable/format/SSTableReader;
0 7 2 wasNew Z
0 7 3 parent Lorg/apache/cassandra/db/lifecycle/LogTransaction;
MethodParameters:
Name Flags
referent
wasNew
parent
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
ifnull 2
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
invokevirtual org.apache.cassandra.db.lifecycle.Tracker.isDummy:()Z
ifne 2
1: aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
getfield org.apache.cassandra.io.sstable.Descriptor.generation:I
invokestatic org.apache.cassandra.db.SystemKeyspace.clearSSTableReadMeter:(Ljava/lang/String;Ljava/lang/String;I)V
2: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.desc: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.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 5
4: aload 1
invokestatic org.apache.cassandra.db.lifecycle.LogTransaction.delete:(Ljava/io/File;)V
goto 7
5: StackMap locals: java.io.File
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.wasNew:Z
ifne 7
6: getstatic org.apache.cassandra.db.lifecycle.LogTransaction.logger:Lorg/slf4j/Logger;
ldc "SSTableTidier ran with no existing data file for an sstable that was not new"
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
invokestatic org.apache.cassandra.io.sstable.SSTable.discoverComponentsFor:(Lorg/apache/cassandra/io/sstable/Descriptor;)Ljava/util/Set;
invokestatic org.apache.cassandra.io.sstable.SSTable.delete:(Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/util/Set;)Z
pop
end local 1 8: goto 13
9: StackMap locals: org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier
StackMap stack: java.lang.Throwable
pop
10: getstatic org.apache.cassandra.db.lifecycle.LogTransaction.logger:Lorg/slf4j/Logger;
ldc "Failed deletion for {}, we'll retry after GC and on server restart"
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;)V
11: getstatic org.apache.cassandra.db.lifecycle.LogTransaction.failedDeletions:Ljava/util/Queue;
aload 0
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
12: return
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
ifnull 15
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
getfield org.apache.cassandra.db.lifecycle.Tracker.cfstore:Lorg/apache/cassandra/db/ColumnFamilyStore;
ifnull 15
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.wasNew:Z
ifne 15
14: aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.tracker:Lorg/apache/cassandra/db/lifecycle/Tracker;
getfield org.apache.cassandra.db.lifecycle.Tracker.cfstore:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metric:Lorg/apache/cassandra/metrics/TableMetrics;
getfield org.apache.cassandra.metrics.TableMetrics.totalDiskSpaceUsed:Lcom/codahale/metrics/Counter;
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.sizeOnDisk:J
invokevirtual com.codahale.metrics.Counter.dec:(J)V
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.parentRef:Lorg/apache/cassandra/utils/concurrent/Ref;
invokevirtual org.apache.cassandra.utils.concurrent.Ref.release:()V
16: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/cassandra/db/lifecycle/LogTransaction$SSTableTidier;
3 8 1 datafile Ljava/io/File;
Exception table:
from to target type
2 8 9 Class java.lang.Throwable
public void abort();
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.lifecycle.LogTransaction$SSTableTidier.parentRef:Lorg/apache/cassandra/utils/concurrent/Ref;
invokevirtual org.apache.cassandra.utils.concurrent.Ref.release:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/lifecycle/LogTransaction$SSTableTidier;
}
SourceFile: "LogTransaction.java"
NestHost: org.apache.cassandra.db.lifecycle.LogTransaction
InnerClasses:
public SSTableTidier = org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier of org.apache.cassandra.db.lifecycle.LogTransaction