public class org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter implements org.apache.cassandra.io.sstable.SSTableMultiWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter
super_class: java.lang.Object
{
private final java.util.List<org.apache.cassandra.db.PartitionPosition> boundaries;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/db/PartitionPosition;>;
private final java.util.List<org.apache.cassandra.db.Directories$DataDirectory> directories;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/db/Directories$DataDirectory;>;
private final int sstableLevel;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long estimatedKeys;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long repairedAt;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.io.sstable.format.SSTableFormat$Type format;
descriptor: Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.SerializationHeader header;
descriptor: Lorg/apache/cassandra/db/SerializationHeader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.db.lifecycle.LifecycleNewTracker lifecycleNewTracker;
descriptor: Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int currentIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public final org.apache.cassandra.db.ColumnFamilyStore cfs;
descriptor: Lorg/apache/cassandra/db/ColumnFamilyStore;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final java.util.List<org.apache.cassandra.io.sstable.SSTableMultiWriter> finishedWriters;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;>;
private final java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader> finishedReaders;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
private org.apache.cassandra.io.sstable.SSTableMultiWriter currentWriter;
descriptor: Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.apache.cassandra.db.ColumnFamilyStore, long, long, org.apache.cassandra.io.sstable.format.SSTableFormat$Type, int, long, org.apache.cassandra.db.lifecycle.LifecycleNewTracker, org.apache.cassandra.db.SerializationHeader);
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;JJLorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;IJLorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;Lorg/apache/cassandra/db/SerializationHeader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=15, args_size=9
start local 0 start local 1 start local 2 start local 4 start local 6 start local 7 start local 8 start local 10 start local 11 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentIndex:I
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedReaders:Ljava/util/List;
4: aload 0
aconst_null
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
5: aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDiskBoundaries:()Lorg/apache/cassandra/db/DiskBoundaries;
astore 12
start local 12 6: aload 0
aload 12
getfield org.apache.cassandra.db.DiskBoundaries.directories:Ljava/util/List;
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.directories:Ljava/util/List;
7: aload 0
iload 7
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.sstableLevel:I
8: aload 0
aload 1
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
9: aload 0
lload 2
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.directories:Ljava/util/List;
invokeinterface java.util.List.size:()I
i2l
ldiv
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.estimatedKeys:J
10: aload 0
lload 4
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.repairedAt:J
11: aload 0
aload 6
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.format:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
12: aload 0
aload 10
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.lifecycleNewTracker:Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;
13: aload 0
aload 11
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.header:Lorg/apache/cassandra/db/SerializationHeader;
14: aload 0
aload 12
getfield org.apache.cassandra.db.DiskBoundaries.positions:Lcom/google/common/collect/ImmutableList;
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.boundaries:Ljava/util/List;
15: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.boundaries:Ljava/util/List;
ifnonnull 23
16: aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
lload 8
invokevirtual org.apache.cassandra.db.Directories.getWriteableLocation:(J)Lorg/apache/cassandra/db/Directories$DataDirectory;
astore 13
start local 13 17: aload 13
ifnonnull 21
18: new java.io.IOException
dup
ldc "Insufficient disk space to store %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
19: lload 8
invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
aastore
20: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals: org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter org.apache.cassandra.db.ColumnFamilyStore long long org.apache.cassandra.io.sstable.format.SSTableFormat$Type int long org.apache.cassandra.db.lifecycle.LifecycleNewTracker org.apache.cassandra.db.SerializationHeader org.apache.cassandra.db.DiskBoundaries org.apache.cassandra.db.Directories$DataDirectory
StackMap stack:
aload 1
aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
aload 13
invokevirtual org.apache.cassandra.db.Directories.getLocationForDisk:(Lorg/apache/cassandra/db/Directories$DataDirectory;)Ljava/io/File;
aload 6
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getSSTablePath:(Ljava/io/File;Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Ljava/lang/String;
invokestatic org.apache.cassandra.io.sstable.Descriptor.fromFilename:(Ljava/lang/String;)Lorg/apache/cassandra/io/sstable/Descriptor;
astore 14
start local 14 22: aload 0
aload 1
aload 14
lload 2
lload 4
iload 7
aload 11
aload 10
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.createSSTableMultiWriter:(Lorg/apache/cassandra/io/sstable/Descriptor;JJILorg/apache/cassandra/db/SerializationHeader;Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
end local 14 end local 13 23: StackMap locals:
StackMap stack:
return
end local 12 end local 11 end local 10 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
0 24 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
0 24 2 estimatedKeys J
0 24 4 repairedAt J
0 24 6 format Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
0 24 7 sstableLevel I
0 24 8 totalSize J
0 24 10 lifecycleNewTracker Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;
0 24 11 header Lorg/apache/cassandra/db/SerializationHeader;
6 24 12 db Lorg/apache/cassandra/db/DiskBoundaries;
17 23 13 localDir Lorg/apache/cassandra/db/Directories$DataDirectory;
22 23 14 desc Lorg/apache/cassandra/io/sstable/Descriptor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cfs
estimatedKeys
repairedAt
format
sstableLevel
totalSize
lifecycleNewTracker
header
private void maybeSwitchWriter(org.apache.cassandra.db.DecoratedKey);
descriptor: (Lorg/apache/cassandra/db/DecoratedKey;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.boundaries:Ljava/util/List;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int
StackMap stack:
iconst_1
istore 2
5: aload 0
dup
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentIndex:I
iconst_1
iadd
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentIndex:I
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentIndex:I
iflt 4
aload 1
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.boundaries:Ljava/util/List;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentIndex:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.PartitionPosition
invokevirtual org.apache.cassandra.db.DecoratedKey.compareTo:(Lorg/apache/cassandra/db/PartitionPosition;)I
ifgt 4
7: iload 2
ifeq 12
8: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
ifnull 10
9: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.directories:Ljava/util/List;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentIndex:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.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;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.format:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
invokestatic org.apache.cassandra.io.sstable.Descriptor.fromFilename:(Ljava/lang/String;Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Lorg/apache/cassandra/io/sstable/Descriptor;
astore 3
start local 3 11: aload 0
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
aload 3
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.estimatedKeys:J
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.repairedAt:J
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.sstableLevel:I
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.header:Lorg/apache/cassandra/db/SerializationHeader;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.lifecycleNewTracker:Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.createSSTableMultiWriter:(Lorg/apache/cassandra/io/sstable/Descriptor;JJILorg/apache/cassandra/db/SerializationHeader;Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
0 13 1 key Lorg/apache/cassandra/db/DecoratedKey;
3 13 2 switched Z
11 12 3 desc Lorg/apache/cassandra/io/sstable/Descriptor;
MethodParameters:
Name Flags
key
public boolean append(org.apache.cassandra.db.rows.UnfilteredRowIterator);
descriptor: (Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.apache.cassandra.db.rows.UnfilteredRowIterator.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
invokevirtual org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.maybeSwitchWriter:(Lorg/apache/cassandra/db/DecoratedKey;)V
1: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
aload 1
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.append:(Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
0 2 1 partition Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;
MethodParameters:
Name Flags
partition
public java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader> finish(long, long, boolean);
descriptor: (JJZ)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
ifnull 2
1: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
3: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter long long int top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.SSTableMultiWriter
astore 6
start local 6 5: aload 6
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.getFilePointer:()J
lconst_0
lcmp
ifle 7
6: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedReaders:Ljava/util/List;
aload 6
lload 1
lload 3
iload 5
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.finish:(JJZ)Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
goto 8
7: StackMap locals: org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter long long int org.apache.cassandra.io.sstable.SSTableMultiWriter java.util.Iterator
StackMap stack:
aload 6
invokestatic org.apache.cassandra.io.sstable.SSTableMultiWriter.abortOrDie:(Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V
end local 6 8: StackMap locals: org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter long long int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedReaders:Ljava/util/List;
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
0 10 1 repairedAt J
0 10 3 maxDataAge J
0 10 5 openResult Z
5 8 6 writer Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
Signature: (JJZ)Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
repairedAt
maxDataAge
openResult
public java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader> finish(boolean);
descriptor: (Z)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
ifnull 2
1: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
3: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter int top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.SSTableMultiWriter
astore 2
start local 2 5: aload 2
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.getFilePointer:()J
lconst_0
lcmp
ifle 7
6: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedReaders:Ljava/util/List;
aload 2
iload 1
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.finish:(Z)Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
goto 8
7: StackMap locals: org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter int org.apache.cassandra.io.sstable.SSTableMultiWriter java.util.Iterator
StackMap stack:
aload 2
invokestatic org.apache.cassandra.io.sstable.SSTableMultiWriter.abortOrDie:(Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V
end local 2 8: StackMap locals: org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedReaders:Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
0 10 1 openResult Z
5 8 2 writer Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
Signature: (Z)Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
MethodParameters:
Name Flags
openResult
public java.util.Collection<org.apache.cassandra.io.sstable.format.SSTableReader> finished();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedReaders:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
public org.apache.cassandra.io.sstable.SSTableMultiWriter setOpenResult(boolean);
descriptor: (Z)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
iload 1
invokedynamic accept(Z)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter.lambda$0(ZLorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V (6)
(Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
1: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
iload 1
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.setOpenResult:(Z)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
0 3 1 openResult Z
MethodParameters:
Name Flags
openResult
public java.lang.String getFilename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "/"
iconst_2
anewarray java.lang.CharSequence
dup
iconst_0
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.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;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.cfs:Lorg/apache/cassandra/db/ColumnFamilyStore;
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTableName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.join:(Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
public long getFilePointer();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.getFilePointer:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
public java.util.UUID getCfId();
descriptor: ()Ljava/util/UUID;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.getCfId:()Ljava/util/UUID;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
public java.lang.Throwable commit(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
ifnull 2
1: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
3: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter java.lang.Throwable top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.SSTableMultiWriter
astore 2
start local 2 5: aload 2
aload 1
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.commit:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
0 8 1 accumulate Ljava/lang/Throwable;
5 6 2 writer Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
MethodParameters:
Name Flags
accumulate
public java.lang.Throwable abort(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
ifnull 2
1: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
3: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter java.lang.Throwable top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.SSTableMultiWriter
astore 2
start local 2 5: aload 2
aload 1
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.abort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
0 8 1 accumulate Ljava/lang/Throwable;
5 6 2 finishedWriter Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
MethodParameters:
Name Flags
accumulate
public void prepareToCommit();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
ifnull 2
1: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
3: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/apache/cassandra/utils/concurrent/Transactional.prepareToCommit()V (9 itf)
(Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
ifnull 2
1: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.currentWriter:Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
3: aload 0
getfield org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.finishedWriters:Ljava/util/List;
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/apache/cassandra/utils/concurrent/Transactional.close()V (9 itf)
(Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
private static void lambda$0(boolean, org.apache.cassandra.io.sstable.SSTableMultiWriter);
descriptor: (ZLorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
iload 0
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.setOpenResult:(Z)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 w Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
}
SourceFile: "RangeAwareSSTableWriter.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public DataDirectory = org.apache.cassandra.db.Directories$DataDirectory of org.apache.cassandra.db.Directories
public final Type = org.apache.cassandra.io.sstable.format.SSTableFormat$Type of org.apache.cassandra.io.sstable.format.SSTableFormat