public class org.apache.cassandra.streaming.StreamReader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.streaming.StreamReader
super_class: java.lang.Object
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final java.util.UUID cfId;
descriptor: Ljava/util/UUID;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final long estimatedKeys;
descriptor: J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.Collection<org.apache.cassandra.utils.Pair<java.lang.Long, java.lang.Long>> sections;
descriptor: Ljava/util/Collection;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Collection<Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;>;
protected final org.apache.cassandra.streaming.StreamSession session;
descriptor: Lorg/apache/cassandra/streaming/StreamSession;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.apache.cassandra.io.sstable.format.Version inputVersion;
descriptor: Lorg/apache/cassandra/io/sstable/format/Version;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final long repairedAt;
descriptor: J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.apache.cassandra.io.sstable.format.SSTableFormat$Type format;
descriptor: Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int sstableLevel;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.apache.cassandra.db.SerializationHeader$Component header;
descriptor: Lorg/apache/cassandra/db/SerializationHeader$Component;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int fileSeqNum;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/streaming/StreamReader;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.streaming.StreamReader.logger:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.streaming.messages.FileMessageHeader, org.apache.cassandra.streaming.StreamSession);
descriptor: (Lorg/apache/cassandra/streaming/messages/FileMessageHeader;Lorg/apache/cassandra/streaming/StreamSession;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.apache.cassandra.streaming.StreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
2: aload 0
aload 1
getfield org.apache.cassandra.streaming.messages.FileMessageHeader.cfId:Ljava/util/UUID;
putfield org.apache.cassandra.streaming.StreamReader.cfId:Ljava/util/UUID;
3: aload 0
aload 1
getfield org.apache.cassandra.streaming.messages.FileMessageHeader.estimatedKeys:J
putfield org.apache.cassandra.streaming.StreamReader.estimatedKeys:J
4: aload 0
aload 1
getfield org.apache.cassandra.streaming.messages.FileMessageHeader.sections:Ljava/util/List;
putfield org.apache.cassandra.streaming.StreamReader.sections:Ljava/util/Collection;
5: aload 0
aload 1
getfield org.apache.cassandra.streaming.messages.FileMessageHeader.version:Lorg/apache/cassandra/io/sstable/format/Version;
putfield org.apache.cassandra.streaming.StreamReader.inputVersion:Lorg/apache/cassandra/io/sstable/format/Version;
6: aload 0
aload 1
getfield org.apache.cassandra.streaming.messages.FileMessageHeader.repairedAt:J
putfield org.apache.cassandra.streaming.StreamReader.repairedAt:J
7: aload 0
aload 1
getfield org.apache.cassandra.streaming.messages.FileMessageHeader.format:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
putfield org.apache.cassandra.streaming.StreamReader.format:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
8: aload 0
aload 1
getfield org.apache.cassandra.streaming.messages.FileMessageHeader.sstableLevel:I
putfield org.apache.cassandra.streaming.StreamReader.sstableLevel:I
9: aload 0
aload 1
getfield org.apache.cassandra.streaming.messages.FileMessageHeader.header:Lorg/apache/cassandra/db/SerializationHeader$Component;
putfield org.apache.cassandra.streaming.StreamReader.header:Lorg/apache/cassandra/db/SerializationHeader$Component;
10: aload 0
aload 1
getfield org.apache.cassandra.streaming.messages.FileMessageHeader.sequenceNumber:I
putfield org.apache.cassandra.streaming.StreamReader.fileSeqNum:I
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/streaming/StreamReader;
0 12 1 header Lorg/apache/cassandra/streaming/messages/FileMessageHeader;
0 12 2 session Lorg/apache/cassandra/streaming/StreamSession;
MethodParameters:
Name Flags
header
session
public org.apache.cassandra.io.sstable.SSTableMultiWriter read(java.nio.channels.ReadableByteChannel);
descriptor: (Ljava/nio/channels/ReadableByteChannel;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=12, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.streaming.StreamReader.totalSize:()J
lstore 2
start local 2 1: getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 0
getfield org.apache.cassandra.streaming.StreamReader.cfId:Ljava/util/UUID;
invokevirtual org.apache.cassandra.config.Schema.getCF:(Ljava/util/UUID;)Lorg/apache/cassandra/utils/Pair;
astore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aload 4
ifnull 5
4: aload 4
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.apache.cassandra.db.Keyspace.open:(Ljava/lang/String;)Lorg/apache/cassandra/db/Keyspace;
aload 4
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.apache.cassandra.db.Keyspace.getColumnFamilyStore:(Ljava/lang/String;)Lorg/apache/cassandra/db/ColumnFamilyStore;
astore 5
5: StackMap locals: long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore
StackMap stack:
aload 4
ifnull 6
aload 5
ifnonnull 7
6: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "CF "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.streaming.StreamReader.cfId:Ljava/util/UUID;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " was dropped during streaming"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.streaming.StreamReader.logger:Lorg/slf4j/Logger;
ldc "[Stream #{}] Start receiving file #{} from {}, repairedAt = {}, size = {}, ks = '{}', table = '{}'."
bipush 7
anewarray java.lang.Object
dup
iconst_0
8: aload 0
getfield org.apache.cassandra.streaming.StreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.streaming.StreamReader.fileSeqNum:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.streaming.StreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
getfield org.apache.cassandra.streaming.StreamSession.peer:Ljava/net/InetAddress;
aastore
dup
iconst_3
aload 0
getfield org.apache.cassandra.streaming.StreamReader.repairedAt:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_4
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_5
aload 5
getfield org.apache.cassandra.db.ColumnFamilyStore.keyspace:Lorg/apache/cassandra/db/Keyspace;
invokevirtual org.apache.cassandra.db.Keyspace.getName:()Ljava/lang/String;
aastore
dup
bipush 6
9: aload 5
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getColumnFamilyName:()Ljava/lang/String;
aastore
10: invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
11: new org.apache.cassandra.io.util.TrackedInputStream
dup
new com.ning.compress.lzf.LZFInputStream
dup
aload 1
invokestatic java.nio.channels.Channels.newInputStream:(Ljava/nio/channels/ReadableByteChannel;)Ljava/io/InputStream;
invokespecial com.ning.compress.lzf.LZFInputStream.<init>:(Ljava/io/InputStream;)V
invokespecial org.apache.cassandra.io.util.TrackedInputStream.<init>:(Ljava/io/InputStream;)V
astore 6
start local 6 12: new org.apache.cassandra.streaming.StreamReader$StreamDeserializer
dup
aload 5
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
aload 6
aload 0
getfield org.apache.cassandra.streaming.StreamReader.inputVersion:Lorg/apache/cassandra/io/sstable/format/Version;
aload 0
aload 5
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.streaming.StreamReader.getHeader:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/SerializationHeader;
13: lload 2
aload 0
getfield org.apache.cassandra.streaming.StreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
14: invokespecial org.apache.cassandra.streaming.StreamReader$StreamDeserializer.<init>:(Lorg/apache/cassandra/config/CFMetaData;Ljava/io/InputStream;Lorg/apache/cassandra/io/sstable/format/Version;Lorg/apache/cassandra/db/SerializationHeader;JLjava/util/UUID;)V
astore 7
start local 7 15: aconst_null
astore 8
start local 8 16: aload 0
aload 5
lload 2
aload 0
getfield org.apache.cassandra.streaming.StreamReader.repairedAt:J
aload 0
getfield org.apache.cassandra.streaming.StreamReader.format:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
invokevirtual org.apache.cassandra.streaming.StreamReader.createWriter:(Lorg/apache/cassandra/db/ColumnFamilyStore;JJLorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
astore 8
17: goto 20
18: StackMap locals: org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter
StackMap stack:
aload 0
aload 7
aload 8
invokevirtual org.apache.cassandra.streaming.StreamReader.writePartition:(Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V
19: aload 0
getfield org.apache.cassandra.streaming.StreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
aload 8
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.getFilename:()Ljava/lang/String;
getstatic org.apache.cassandra.streaming.ProgressInfo$Direction.IN:Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
aload 6
invokevirtual org.apache.cassandra.io.util.TrackedInputStream.getBytesRead:()J
lload 2
invokevirtual org.apache.cassandra.streaming.StreamSession.progress:(Ljava/lang/String;Lorg/apache/cassandra/streaming/ProgressInfo$Direction;JJ)V
20: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.apache.cassandra.io.util.TrackedInputStream.getBytesRead:()J
lload 2
lcmp
iflt 18
21: getstatic org.apache.cassandra.streaming.StreamReader.logger:Lorg/slf4j/Logger;
ldc "[Stream #{}] Finished receiving file #{} from {} readBytes = {}, totalSize = {}"
iconst_5
anewarray java.lang.Object
dup
iconst_0
22: aload 0
getfield org.apache.cassandra.streaming.StreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.streaming.StreamReader.fileSeqNum:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.streaming.StreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
getfield org.apache.cassandra.streaming.StreamSession.peer:Ljava/net/InetAddress;
aastore
dup
iconst_3
aload 6
invokevirtual org.apache.cassandra.io.util.TrackedInputStream.getBytesRead:()J
invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
aastore
dup
iconst_4
lload 2
invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
aastore
23: invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
24: aload 8
astore 11
25: aload 7
ifnull 27
26: aload 7
invokevirtual org.apache.cassandra.streaming.StreamReader$StreamDeserializer.cleanup:()V
27: StackMap locals: org.apache.cassandra.streaming.StreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter top top org.apache.cassandra.io.sstable.SSTableMultiWriter
StackMap stack:
aload 11
areturn
28: StackMap locals: org.apache.cassandra.streaming.StreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter
StackMap stack: java.lang.Throwable
astore 9
start local 9 29: aload 7
ifnull 33
30: getstatic org.apache.cassandra.streaming.StreamReader.logger:Lorg/slf4j/Logger;
ldc "[Stream {}] Error while reading partition {} from stream on ks='{}' and table='{}'."
iconst_5
anewarray java.lang.Object
dup
iconst_0
31: aload 0
getfield org.apache.cassandra.streaming.StreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
aastore
dup
iconst_1
aload 7
invokevirtual org.apache.cassandra.streaming.StreamReader$StreamDeserializer.partitionKey:()Lorg/apache/cassandra/db/DecoratedKey;
aastore
dup
iconst_2
aload 5
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 5
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getTableName:()Ljava/lang/String;
aastore
dup
iconst_4
aload 9
aastore
32: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
33: StackMap locals: java.lang.Throwable
StackMap stack:
aload 8
ifnull 35
34: aload 8
aload 9
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.abort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
35: StackMap locals:
StackMap stack:
aload 9
invokestatic com.google.common.base.Throwables.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 9 36: StackMap locals: org.apache.cassandra.streaming.StreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter
StackMap stack: java.lang.Throwable
astore 10
37: aload 7
ifnull 39
38: aload 7
invokevirtual org.apache.cassandra.streaming.StreamReader$StreamDeserializer.cleanup:()V
39: StackMap locals: org.apache.cassandra.streaming.StreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter top java.lang.Throwable
StackMap stack:
aload 10
athrow
end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lorg/apache/cassandra/streaming/StreamReader;
0 40 1 channel Ljava/nio/channels/ReadableByteChannel;
1 40 2 totalSize J
2 40 4 kscf Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;
3 40 5 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
12 40 6 in Lorg/apache/cassandra/io/util/TrackedInputStream;
15 40 7 deserializer Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
16 40 8 writer Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
29 36 9 e Ljava/lang/Throwable;
Exception table:
from to target type
16 25 28 Class java.lang.Throwable
16 25 36 any
28 36 36 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
protected org.apache.cassandra.db.SerializationHeader getHeader(org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/SerializationHeader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.streaming.StreamReader.header:Lorg/apache/cassandra/db/SerializationHeader$Component;
ifnull 1
aload 0
getfield org.apache.cassandra.streaming.StreamReader.header:Lorg/apache/cassandra/db/SerializationHeader$Component;
aload 1
invokevirtual org.apache.cassandra.db.SerializationHeader$Component.toHeader:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/SerializationHeader;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: org.apache.cassandra.db.SerializationHeader
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/streaming/StreamReader;
0 3 1 metadata Lorg/apache/cassandra/config/CFMetaData;
MethodParameters:
Name Flags
metadata
protected org.apache.cassandra.io.sstable.SSTableMultiWriter createWriter(org.apache.cassandra.db.ColumnFamilyStore, long, long, org.apache.cassandra.io.sstable.format.SSTableFormat$Type);
descriptor: (Lorg/apache/cassandra/db/ColumnFamilyStore;JJLorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=14, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 1
invokevirtual org.apache.cassandra.db.ColumnFamilyStore.getDirectories:()Lorg/apache/cassandra/db/Directories;
lload 2
invokevirtual org.apache.cassandra.db.Directories.getWriteableLocation:(J)Lorg/apache/cassandra/db/Directories$DataDirectory;
astore 7
start local 7 1: aload 7
ifnonnull 3
2: new java.io.IOException
dup
ldc "Insufficient disk space to store %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 2
invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.cassandra.db.Directories$DataDirectory
StackMap stack:
aload 0
getfield org.apache.cassandra.streaming.StreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
aload 0
getfield org.apache.cassandra.streaming.StreamReader.cfId:Ljava/util/UUID;
invokevirtual org.apache.cassandra.streaming.StreamSession.getReceivingTask:(Ljava/util/UUID;)Lorg/apache/cassandra/streaming/StreamReceiveTask;
invokevirtual org.apache.cassandra.streaming.StreamReceiveTask.createLifecycleNewTracker:()Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;
astore 8
start local 8 4: new org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter
dup
aload 1
aload 0
getfield org.apache.cassandra.streaming.StreamReader.estimatedKeys:J
lload 4
aload 6
aload 0
getfield org.apache.cassandra.streaming.StreamReader.sstableLevel:I
lload 2
aload 8
aload 0
aload 1
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
invokevirtual org.apache.cassandra.streaming.StreamReader.getHeader:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/SerializationHeader;
invokespecial org.apache.cassandra.io.sstable.format.RangeAwareSSTableWriter.<init>:(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
astore 9
start local 9 5: getstatic org.apache.cassandra.streaming.StreamHook.instance:Lorg/apache/cassandra/streaming/StreamHook;
aload 1
aload 9
aload 0
getfield org.apache.cassandra.streaming.StreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
aload 0
getfield org.apache.cassandra.streaming.StreamReader.fileSeqNum:I
invokeinterface org.apache.cassandra.streaming.StreamHook.reportIncomingFile:(Lorg/apache/cassandra/db/ColumnFamilyStore;Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;Lorg/apache/cassandra/streaming/StreamSession;I)V
6: aload 9
areturn
end local 9 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 7 0 this Lorg/apache/cassandra/streaming/StreamReader;
0 7 1 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
0 7 2 totalSize J
0 7 4 repairedAt J
0 7 6 format Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
1 7 7 localDir Lorg/apache/cassandra/db/Directories$DataDirectory;
4 7 8 lifecycleNewTracker Lorg/apache/cassandra/db/lifecycle/LifecycleNewTracker;
5 7 9 writer Lorg/apache/cassandra/io/sstable/format/RangeAwareSSTableWriter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cfs
totalSize
repairedAt
format
protected long totalSize();
descriptor: ()J
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.apache.cassandra.streaming.StreamReader.sections:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.streaming.StreamReader long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.Pair
astore 3
start local 3 3: lload 1
aload 3
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
aload 3
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lsub
ladd
lstore 1
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/streaming/StreamReader;
1 6 1 size J
3 4 3 section Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;
protected void writePartition(org.apache.cassandra.streaming.StreamReader$StreamDeserializer, org.apache.cassandra.io.sstable.SSTableMultiWriter);
descriptor: (Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual org.apache.cassandra.streaming.StreamReader$StreamDeserializer.newPartition:()Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.append:(Lorg/apache/cassandra/db/rows/UnfilteredRowIterator;)Z
pop
1: aload 1
invokevirtual org.apache.cassandra.streaming.StreamReader$StreamDeserializer.checkForExceptions:()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/streaming/StreamReader;
0 3 1 deserializer Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
0 3 2 writer Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
deserializer
writer
}
SourceFile: "StreamReader.java"
NestMembers:
org.apache.cassandra.streaming.StreamReader$StreamDeserializer
InnerClasses:
public DataDirectory = org.apache.cassandra.db.Directories$DataDirectory of org.apache.cassandra.db.Directories
public Component = org.apache.cassandra.db.SerializationHeader$Component of org.apache.cassandra.db.SerializationHeader
public final Type = org.apache.cassandra.io.sstable.format.SSTableFormat$Type of org.apache.cassandra.io.sstable.format.SSTableFormat
public final Direction = org.apache.cassandra.streaming.ProgressInfo$Direction of org.apache.cassandra.streaming.ProgressInfo
public StreamDeserializer = org.apache.cassandra.streaming.StreamReader$StreamDeserializer of org.apache.cassandra.streaming.StreamReader