public class org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter extends org.apache.cassandra.db.compaction.writers.CompactionAwareWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter
super_class: org.apache.cassandra.db.compaction.writers.CompactionAwareWriter
{
private final long maxSSTableSize;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int currentLevel;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long averageEstimatedKeysPerSSTable;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long partitionsWritten;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long totalWrittenInLevel;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int sstablesWritten;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final long keysPerSSTable;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.cassandra.db.Directories$DataDirectory sstableDirectory;
descriptor: Lorg/apache/cassandra/db/Directories$DataDirectory;
flags: (0x0002) ACC_PRIVATE
private final int levelFanoutSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(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;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
lload 5
iconst_0
invokespecial org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set;JZ)V
1: 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 2 0 this Lorg/apache/cassandra/db/compaction/writers/MajorLeveledCompactionWriter;
0 2 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 2 directories Lorg/apache/cassandra/db/Directories;
0 2 3 txn Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 2 4 nonExpiredSSTables Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 2 5 maxSSTableSize J
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;>;J)V
MethodParameters:
Name Flags
cfs
directories
txn
nonExpiredSSTables
maxSSTableSize
public void <init>(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>, long, boolean, );
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set;JZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 start local 8 0: aload 0
aload 1
aload 2
aload 3
aload 4
lload 5
iload 8
invokespecial org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set;JZ)V
1: return
end local 8 end local 7 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 2 0 this Lorg/apache/cassandra/db/compaction/writers/MajorLeveledCompactionWriter;
0 2 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
0 2 2 directories Lorg/apache/cassandra/db/Directories;
0 2 3 txn Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 2 4 nonExpiredSSTables Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 2 5 maxSSTableSize J
0 2 7 offline Z
0 2 8 keepOriginals Z
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;>;JZZ)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
cfs
directories
txn
nonExpiredSSTables
maxSSTableSize
offline
keepOriginals
public void <init>(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>, long, );
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set;JZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aload 0
aload 1
aload 2
aload 3
aload 4
iload 7
invokespecial org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.<init>:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;Ljava/util/Set;Z)V
1: aload 0
iconst_1
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.currentLevel:I
2: aload 0
lconst_0
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.partitionsWritten:J
3: aload 0
lconst_0
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.totalWrittenInLevel:J
4: aload 0
iconst_0
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.sstablesWritten:I
5: aload 0
lload 5
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.maxSSTableSize:J
6: aload 0
aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getLevelFanoutSize:()I
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.levelFanoutSize:I
7: lconst_1
aload 4
invokestatic org.apache.cassandra.io.sstable.format.SSTableReader.getTotalBytes:(Ljava/lang/Iterable;)J
lload 5
ldiv
invokestatic java.lang.Math.max:(JJ)J
lstore 8
start local 8 8: aload 0
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.estimatedTotalKeys:J
lload 8
ldiv
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.keysPerSSTable:J
9: return
end local 8 end local 7 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/compaction/writers/MajorLeveledCompactionWriter;
0 10 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
0 10 2 directories Lorg/apache/cassandra/db/Directories;
0 10 3 txn Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
0 10 4 nonExpiredSSTables Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 10 5 maxSSTableSize J
0 10 7 keepOriginals Z
8 10 8 estimatedSSTables J
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;>;JZ)V
MethodParameters:
Name Flags
cfs
directories
txn
nonExpiredSSTables
maxSSTableSize
keepOriginals
public boolean realAppend(org.apache.cassandra.db.rows.UnfilteredRowIterator);
descriptor: (Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.sstableWriter:Lorg/apache/cassandra/io/sstable/SSTableRewriter;
aload 1
invokevirtual org.apache.cassandra.io.sstable.SSTableRewriter.append:(Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;)Lorg/apache/cassandra/db/RowIndexEntry;
astore 2
start local 2 1: aload 0
dup
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.partitionsWritten:J
lconst_1
ladd
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.partitionsWritten:J
2: aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.sstableWriter:Lorg/apache/cassandra/io/sstable/SSTableRewriter;
invokevirtual org.apache.cassandra.io.sstable.SSTableRewriter.currentWriter:()Lorg/apache/cassandra/io/sstable/format/SSTableWriter;
invokevirtual org.apache.cassandra.io.sstable.format.SSTableWriter.getEstimatedOnDiskBytesWritten:()J
lstore 3
start local 3 3: lload 3
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.maxSSTableSize:J
lcmp
ifle 9
4: aload 0
dup
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.totalWrittenInLevel:J
lload 3
ladd
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.totalWrittenInLevel:J
5: aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.totalWrittenInLevel:J
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.currentLevel:I
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.levelFanoutSize:I
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.maxSSTableSize:J
invokestatic org.apache.cassandra.db.compaction.LeveledManifest.maxBytesForLevel:(IIJ)J
lcmp
ifle 8
6: aload 0
lconst_0
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.totalWrittenInLevel:J
7: aload 0
dup
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.currentLevel:I
iconst_1
iadd
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.currentLevel:I
8: StackMap locals: org.apache.cassandra.db.RowIndexEntry long
StackMap stack:
aload 0
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.sstableDirectory:Lorg/apache/cassandra/db/Directories$DataDirectory;
invokevirtual org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.switchCompactionLocation:(Lorg/apache/cassandra/db/Directories$DataDirectory;)V
9: StackMap locals:
StackMap stack:
aload 2
ifnull 10
iconst_1
ireturn
StackMap locals:
StackMap stack:
10: iconst_0
ireturn
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/writers/MajorLeveledCompactionWriter;
0 11 1 partition Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;
1 11 2 rie Lorg/apache/cassandra/db/RowIndexEntry;
3 11 3 totalWrittenInCurrentWriter J
MethodParameters:
Name Flags
partition
public void switchCompactionLocation(org.apache.cassandra.db.Directories$DataDirectory);
descriptor: (Lorg/apache/cassandra/db/Directories$DataDirectory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.sstableDirectory:Lorg/apache/cassandra/db/Directories$DataDirectory;
1: aload 0
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.averageEstimatedKeysPerSSTable:J
l2d
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.sstablesWritten:I
i2d
dmul
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.partitionsWritten:J
l2d
dadd
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.sstablesWritten:I
iconst_1
iadd
i2d
ddiv
invokestatic java.lang.Math.round:(D)J
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.averageEstimatedKeysPerSSTable:J
2: aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.sstableWriter:Lorg/apache/cassandra/io/sstable/SSTableRewriter;
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 0
invokevirtual org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.getDirectories:()Lorg/apache/cassandra/db/Directories;
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.sstableDirectory:Lorg/apache/cassandra/db/Directories$DataDirectory;
invokevirtual org.apache.cassandra.db.Directories.getLocationForDisk:(Lorg/apache/cassandra/db/Directories$DataDirectory;)Ljava/io/File;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTablePath:(Ljava/io/File;)Ljava/lang/String;
invokestatic org.apache.cassandra.io.sstable.Descriptor.fromFilename:(Ljava/lang/String;)Lorg/apache/cassandra/io/sstable/Descriptor;
3: aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.keysPerSSTable:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
4: aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.minRepairedAt:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
5: aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
6: new org.apache.cassandra.io.sstable.metadata.MetadataCollector
dup
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.txn:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:()Ljava/util/Set;
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.currentLevel:I
invokespecial org.apache.cassandra.io.sstable.metadata.MetadataCollector.<init>:(Ljava/lang/Iterable;Lorg/apache/cassandra/db/ClusteringComparator;I)V
7: aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.txn:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
invokevirtual org.apache.cassandra.db.lifecycle.LifecycleTransaction.originals:()Ljava/util/Set;
invokestatic org.apache.cassandra.db.SerializationHeader.make:(Lorg/apache/cassandra/config/CFMetaData;Ljava/util/Collection;)Lorg/apache/cassandra/db/SerializationHeader;
8: aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
getfield org.apache.cassandra.db.ColumnFamilyStore.indexManager:Lorg/apache/cassandra/index/SecondaryIndexManager;
invokevirtual org.apache.cassandra.index.SecondaryIndexManager.listIndexes:()Ljava/util/Collection;
9: aload 0
getfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.txn:Lorg/apache/cassandra/db/lifecycle/LifecycleTransaction;
10: invokestatic org.apache.cassandra.io.sstable.format.SSTableWriter.create:(Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/lang/Long;Ljava/lang/Long;Lorg/apache/cassandra/config/CFMetaData;Lorg/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/format/SSTableWriter;
invokevirtual org.apache.cassandra.io.sstable.SSTableRewriter.switchWriter:(Lorg/apache/cassandra/io/sstable/format/SSTableWriter;)V
11: aload 0
lconst_0
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.partitionsWritten:J
12: aload 0
iconst_0
putfield org.apache.cassandra.db.compaction.writers.MajorLeveledCompactionWriter.sstablesWritten:I
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/db/compaction/writers/MajorLeveledCompactionWriter;
0 14 1 location Lorg/apache/cassandra/db/Directories$DataDirectory;
MethodParameters:
Name Flags
location
}
SourceFile: "MajorLeveledCompactionWriter.java"
InnerClasses:
public DataDirectory = org.apache.cassandra.db.Directories$DataDirectory of org.apache.cassandra.db.Directories