public class org.apache.cassandra.streaming.compress.CompressedStreamReader extends org.apache.cassandra.streaming.StreamReader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.streaming.compress.CompressedStreamReader
super_class: org.apache.cassandra.streaming.StreamReader
{
private static final org.slf4j.Logger logger;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final org.apache.cassandra.streaming.compress.CompressionInfo compressionInfo;
descriptor: Lorg/apache/cassandra/streaming/compress/CompressionInfo;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
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/streaming/compress/CompressedStreamReader;
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.streaming.compress.CompressedStreamReader.$assertionsDisabled:Z
3: ldc Lorg/apache/cassandra/streaming/compress/CompressedStreamReader;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.apache.cassandra.streaming.compress.CompressedStreamReader.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
aload 1
aload 2
invokespecial org.apache.cassandra.streaming.StreamReader.<init>:(Lorg/apache/cassandra/streaming/messages/FileMessageHeader;Lorg/apache/cassandra/streaming/StreamSession;)V
1: aload 0
aload 1
getfield org.apache.cassandra.streaming.messages.FileMessageHeader.compressionInfo:Lorg/apache/cassandra/streaming/compress/CompressionInfo;
putfield org.apache.cassandra.streaming.compress.CompressedStreamReader.compressionInfo:Lorg/apache/cassandra/streaming/compress/CompressionInfo;
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/compress/CompressedStreamReader;
0 3 1 header Lorg/apache/cassandra/streaming/messages/FileMessageHeader;
0 3 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=19, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.streaming.compress.CompressedStreamReader.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.compress.CompressedStreamReader.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.compress.CompressedStreamReader.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.compress.CompressedStreamReader.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.compress.CompressedStreamReader.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.compress.CompressedStreamReader.fileSeqNum:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.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.compress.CompressedStreamReader.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.streaming.compress.CompressedInputStream
dup
aload 1
invokestatic java.nio.channels.Channels.newInputStream:(Ljava/nio/channels/ReadableByteChannel;)Ljava/io/InputStream;
aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.compressionInfo:Lorg/apache/cassandra/streaming/compress/CompressionInfo;
12: aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.inputVersion:Lorg/apache/cassandra/io/sstable/format/Version;
invokevirtual org.apache.cassandra.io.sstable.format.Version.compressedChecksumType:()Lorg/apache/cassandra/utils/ChecksumType;
aload 5
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lorg/apache/cassandra/db/ColumnFamilyStore;)Ljava/util/function/Supplier;
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;
org/apache/cassandra/db/ColumnFamilyStore.getCrcCheckChance()Ljava/lang/Double; (5)
()Ljava/lang/Double;
13: invokespecial org.apache.cassandra.streaming.compress.CompressedInputStream.<init>:(Ljava/io/InputStream;Lorg/apache/cassandra/streaming/compress/CompressionInfo;Lorg/apache/cassandra/utils/ChecksumType;Ljava/util/function/Supplier;)V
astore 6
start local 6 14: new org.apache.cassandra.io.util.TrackedInputStream
dup
aload 6
invokespecial org.apache.cassandra.io.util.TrackedInputStream.<init>:(Ljava/io/InputStream;)V
astore 8
start local 8 15: new org.apache.cassandra.streaming.StreamReader$StreamDeserializer
dup
aload 5
getfield org.apache.cassandra.db.ColumnFamilyStore.metadata:Lorg/apache/cassandra/config/CFMetaData;
aload 8
aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.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.compress.CompressedStreamReader.getHeader:(Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/db/SerializationHeader;
16: lload 2
aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
17: 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 9
start local 9 18: aconst_null
astore 10
start local 10 19: aload 0
aload 5
lload 2
aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.repairedAt:J
aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.format:Lorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;
invokevirtual org.apache.cassandra.streaming.compress.CompressedStreamReader.createWriter:(Lorg/apache/cassandra/db/ColumnFamilyStore;JJLorg/apache/cassandra/io/sstable/format/SSTableFormat$Type;)Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
astore 10
20: aload 10
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.getFilename:()Ljava/lang/String;
astore 11
start local 11 21: iconst_0
istore 12
start local 12 22: aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.sections:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 14
goto 33
StackMap locals: org.apache.cassandra.streaming.compress.CompressedStreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.streaming.compress.CompressedInputStream top org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter java.lang.String int top java.util.Iterator
StackMap stack:
23: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.Pair
astore 13
start local 13 24: getstatic org.apache.cassandra.streaming.compress.CompressedStreamReader.$assertionsDisabled:Z
ifne 25
aload 6
invokevirtual org.apache.cassandra.streaming.compress.CompressedInputStream.getTotalCompressedBytesRead:()J
lload 2
lcmp
ifle 25
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
25: StackMap locals: org.apache.cassandra.streaming.compress.CompressedStreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.streaming.compress.CompressedInputStream top org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter java.lang.String int org.apache.cassandra.utils.Pair java.util.Iterator
StackMap stack:
aload 13
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
aload 13
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lsub
lstore 15
start local 15 26: getstatic org.apache.cassandra.streaming.compress.CompressedStreamReader.logger:Lorg/slf4j/Logger;
ldc "[Stream #{}] Reading section {} with length {} from stream."
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
aastore
dup
iconst_1
iload 12
iinc 12 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
lload 15
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;[Ljava/lang/Object;)V
27: aload 6
aload 13
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokevirtual org.apache.cassandra.streaming.compress.CompressedInputStream.position:(J)V
28: aload 8
lconst_0
invokevirtual org.apache.cassandra.io.util.TrackedInputStream.reset:(J)V
29: goto 32
30: StackMap locals: long
StackMap stack:
aload 0
aload 9
aload 10
invokevirtual org.apache.cassandra.streaming.compress.CompressedStreamReader.writePartition:(Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;)V
31: aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
aload 11
getstatic org.apache.cassandra.streaming.ProgressInfo$Direction.IN:Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
aload 6
invokevirtual org.apache.cassandra.streaming.compress.CompressedInputStream.getTotalCompressedBytesRead:()J
lload 2
invokevirtual org.apache.cassandra.streaming.StreamSession.progress:(Ljava/lang/String;Lorg/apache/cassandra/streaming/ProgressInfo$Direction;JJ)V
32: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.cassandra.io.util.TrackedInputStream.getBytesRead:()J
lload 15
lcmp
iflt 30
end local 15 end local 13 33: StackMap locals: org.apache.cassandra.streaming.compress.CompressedStreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.streaming.compress.CompressedInputStream top org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter java.lang.String int top java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
34: getstatic org.apache.cassandra.streaming.compress.CompressedStreamReader.logger:Lorg/slf4j/Logger;
ldc "[Stream #{}] Finished receiving file #{} from {} readBytes = {}, totalSize = {}"
iconst_5
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.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.compress.CompressedStreamReader.fileSeqNum:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
35: aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.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.streaming.compress.CompressedInputStream.getTotalCompressedBytesRead:()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
36: invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
37: aload 10
astore 18
38: aload 9
ifnull 40
39: aload 9
invokevirtual org.apache.cassandra.streaming.StreamReader$StreamDeserializer.cleanup:()V
40: StackMap locals: org.apache.cassandra.streaming.compress.CompressedStreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.streaming.compress.CompressedInputStream top org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter java.lang.String int top top top top top org.apache.cassandra.io.sstable.SSTableMultiWriter
StackMap stack:
aload 18
areturn
end local 12 end local 11 41: StackMap locals: org.apache.cassandra.streaming.compress.CompressedStreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.streaming.compress.CompressedInputStream top org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter
StackMap stack: java.lang.Throwable
astore 11
start local 11 42: aload 9
ifnull 46
43: getstatic org.apache.cassandra.streaming.compress.CompressedStreamReader.logger:Lorg/slf4j/Logger;
ldc "[Stream {}] Error while reading partition {} from stream on ks='{}' and table='{}'."
iconst_4
anewarray java.lang.Object
dup
iconst_0
44: aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.session:Lorg/apache/cassandra/streaming/StreamSession;
invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
aastore
dup
iconst_1
aload 9
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
45: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
46: StackMap locals: java.lang.Throwable
StackMap stack:
aload 10
ifnull 48
47: aload 10
aload 11
invokeinterface org.apache.cassandra.io.sstable.SSTableMultiWriter.abort:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
48: StackMap locals:
StackMap stack:
aload 11
invokestatic org.apache.cassandra.utils.Throwables.extractIOExceptionCause:(Ljava/lang/Throwable;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 50
49: aload 11
athrow
50: StackMap locals:
StackMap stack:
aload 11
invokestatic com.google.common.base.Throwables.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 11 51: StackMap locals: org.apache.cassandra.streaming.compress.CompressedStreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.streaming.compress.CompressedInputStream top org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter
StackMap stack: java.lang.Throwable
astore 17
52: aload 9
ifnull 54
53: aload 9
invokevirtual org.apache.cassandra.streaming.StreamReader$StreamDeserializer.cleanup:()V
54: StackMap locals: org.apache.cassandra.streaming.compress.CompressedStreamReader java.nio.channels.ReadableByteChannel long org.apache.cassandra.utils.Pair org.apache.cassandra.db.ColumnFamilyStore org.apache.cassandra.streaming.compress.CompressedInputStream top org.apache.cassandra.io.util.TrackedInputStream org.apache.cassandra.streaming.StreamReader$StreamDeserializer org.apache.cassandra.io.sstable.SSTableMultiWriter top top top top top top java.lang.Throwable
StackMap stack:
aload 17
athrow
end local 10 end local 9 end local 8 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 55 0 this Lorg/apache/cassandra/streaming/compress/CompressedStreamReader;
0 55 1 channel Ljava/nio/channels/ReadableByteChannel;
1 55 2 totalSize J
2 55 4 kscf Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;
3 55 5 cfs Lorg/apache/cassandra/db/ColumnFamilyStore;
14 55 6 cis Lorg/apache/cassandra/streaming/compress/CompressedInputStream;
15 55 8 in Lorg/apache/cassandra/io/util/TrackedInputStream;
18 55 9 deserializer Lorg/apache/cassandra/streaming/StreamReader$StreamDeserializer;
19 55 10 writer Lorg/apache/cassandra/io/sstable/SSTableMultiWriter;
21 41 11 filename Ljava/lang/String;
22 41 12 sectionIdx I
24 33 13 section Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;
26 33 15 sectionLength J
42 51 11 e Ljava/lang/Throwable;
Exception table:
from to target type
19 38 41 Class java.lang.Throwable
19 38 51 any
41 51 51 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
protected long totalSize();
descriptor: ()J
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.apache.cassandra.streaming.compress.CompressedStreamReader.compressionInfo:Lorg/apache/cassandra/streaming/compress/CompressionInfo;
getfield org.apache.cassandra.streaming.compress.CompressionInfo.chunks:[Lorg/apache/cassandra/io/compress/CompressionMetadata$Chunk;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: org.apache.cassandra.streaming.compress.CompressedStreamReader long top int int org.apache.cassandra.io.compress.CompressionMetadata$Chunk[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: lload 1
aload 3
getfield org.apache.cassandra.io.compress.CompressionMetadata$Chunk.length:I
iconst_4
iadd
i2l
ladd
lstore 1
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/streaming/compress/CompressedStreamReader;
1 7 1 size J
3 4 3 chunk Lorg/apache/cassandra/io/compress/CompressionMetadata$Chunk;
}
SourceFile: "CompressedStreamReader.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Chunk = org.apache.cassandra.io.compress.CompressionMetadata$Chunk of org.apache.cassandra.io.compress.CompressionMetadata
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