public class org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList
super_class: java.lang.Object
{
public final java.util.List<org.apache.cassandra.io.sstable.ISSTableScanner> scanners;
descriptor: Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/io/sstable/ISSTableScanner;>;
public void <init>(java.util.List<org.apache.cassandra.io.sstable.ISSTableScanner>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList.scanners:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
0 3 1 scanners Ljava/util/List<Lorg/apache/cassandra/io/sstable/ISSTableScanner;>;
Signature: (Ljava/util/List<Lorg/apache/cassandra/io/sstable/ISSTableScanner;>;)V
MethodParameters:
Name Flags
scanners
public long getTotalBytesScanned();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList.scanners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.ISSTableScanner
astore 3
start local 3 3: lload 1
aload 3
invokeinterface org.apache.cassandra.io.sstable.ISSTableScanner.getBytesScanned:()J
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/db/compaction/AbstractCompactionStrategy$ScannerList;
1 6 1 bytesScanned J
3 4 3 scanner Lorg/apache/cassandra/io/sstable/ISSTableScanner;
public long getTotalCompressedSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList.scanners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.ISSTableScanner
astore 3
start local 3 3: lload 1
aload 3
invokeinterface org.apache.cassandra.io.sstable.ISSTableScanner.getCompressedLengthInBytes:()J
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/db/compaction/AbstractCompactionStrategy$ScannerList;
1 6 1 compressedSize J
3 4 3 scanner Lorg/apache/cassandra/io/sstable/ISSTableScanner;
public double getCompressionRatio();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: dconst_0
dstore 1
start local 1 1: dconst_0
dstore 3
start local 3 2: aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList.scanners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 6
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList double double top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.ISSTableScanner
astore 5
start local 5 4: dload 1
aload 5
invokeinterface org.apache.cassandra.io.sstable.ISSTableScanner.getCompressedLengthInBytes:()J
l2d
dadd
dstore 1
5: dload 3
aload 5
invokeinterface org.apache.cassandra.io.sstable.ISSTableScanner.getLengthInBytes:()J
l2d
dadd
dstore 3
end local 5 6: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: dload 1
dload 3
dcmpl
ifeq 8
dload 3
dconst_0
dcmpl
ifne 9
8: StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList double double
StackMap stack:
ldc -1.0
dreturn
9: StackMap locals:
StackMap stack:
dload 1
dload 3
ddiv
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
1 10 1 compressed D
2 10 3 uncompressed D
4 6 5 scanner Lorg/apache/cassandra/io/sstable/ISSTableScanner;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList.scanners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList java.lang.Throwable top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.ISSTableScanner
astore 2
start local 2 3: aload 2
invokeinterface org.apache.cassandra.io.sstable.ISSTableScanner.close:()V
4: goto 10
5: StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList java.lang.Throwable org.apache.cassandra.io.sstable.ISSTableScanner java.util.Iterator
StackMap stack: java.lang.Throwable
astore 4
start local 4 6: aload 4
invokestatic org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable:(Ljava/lang/Throwable;)V
7: aload 1
ifnonnull 9
8: aload 4
astore 1
goto 10
9: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
end local 4 end local 2 10: StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: aload 1
ifnull 13
12: aload 1
invokestatic com.google.common.base.Throwables.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
13: StackMap locals: org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList java.lang.Throwable
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/db/compaction/AbstractCompactionStrategy$ScannerList;
1 14 1 t Ljava/lang/Throwable;
3 10 2 scanner Lorg/apache/cassandra/io/sstable/ISSTableScanner;
6 10 4 t2 Ljava/lang/Throwable;
Exception table:
from to target type
3 4 5 Class java.lang.Throwable
}
SourceFile: "AbstractCompactionStrategy.java"
NestHost: org.apache.cassandra.db.compaction.AbstractCompactionStrategy
InnerClasses:
public ScannerList = org.apache.cassandra.db.compaction.AbstractCompactionStrategy$ScannerList of org.apache.cassandra.db.compaction.AbstractCompactionStrategy