class org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1 implements java.util.Comparator<org.apache.cassandra.utils.Pair<java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader>, java.lang.Double>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy$1;
public int compare(org.apache.cassandra.utils.Pair<java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader>, java.lang.Double>, org.apache.cassandra.utils.Pair<java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader>, java.lang.Double>);
descriptor: (Lorg/apache/cassandra/utils/Pair;Lorg/apache/cassandra/utils/Pair;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
aload 2
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokestatic java.lang.Double.compare:(DD)I
istore 3
start local 3 1: iload 3
ifeq 3
2: iload 3
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
aload 1
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1.avgSize:(Ljava/util/List;)J
aload 0
aload 2
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast java.util.List
invokevirtual org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1.avgSize:(Ljava/util/List;)J
invokestatic java.lang.Long.compare:(JJ)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy$1;
0 4 1 o1 Lorg/apache/cassandra/utils/Pair<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Double;>;
0 4 2 o2 Lorg/apache/cassandra/utils/Pair<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Double;>;
1 4 3 comparison I
Signature: (Lorg/apache/cassandra/utils/Pair<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Double;>;Lorg/apache/cassandra/utils/Pair<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Double;>;)I
MethodParameters:
Name Flags
o1
o2
private long avgSize(java.util.List<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/util/List;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1 java.util.List long top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 4
start local 4 3: lload 2
aload 4
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.bytesOnDisk:()J
ladd
lstore 2
end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 2
aload 1
invokeinterface java.util.List.size:()I
i2l
ldiv
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy$1;
0 6 1 sstables Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
1 6 2 n J
3 4 4 sstable Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)J
MethodParameters:
Name Flags
sstables
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.apache.cassandra.utils.Pair
aload 2
checkcast org.apache.cassandra.utils.Pair
invokevirtual org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1.compare:(Lorg/apache/cassandra/utils/Pair;Lorg/apache/cassandra/utils/Pair;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Lorg/apache/cassandra/utils/Pair<Ljava/util/List<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Double;>;>;
SourceFile: "SizeTieredCompactionStrategy.java"
EnclosingMethod: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy
NestHost: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy
InnerClasses:
org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$1