class org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2 implements java.util.Comparator<org.apache.cassandra.io.sstable.format.SSTableReader>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2
super_class: java.lang.Object
{
private final java.util.Map val$hotnessSnapshot;
descriptor: Ljava/util/Map;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2.val$hotnessSnapshot:Ljava/util/Map;
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$2;
MethodParameters:
Name Flags
val$hotnessSnapshot final
public int compare(org.apache.cassandra.io.sstable.format.SSTableReader, org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/io/sstable/format/SSTableReader;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_m1
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2.val$hotnessSnapshot:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
aload 0
getfield org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2.val$hotnessSnapshot:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokestatic java.lang.Double.compare:(DD)I
imul
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/compaction/SizeTieredCompactionStrategy$2;
0 1 1 o1 Lorg/apache/cassandra/io/sstable/format/SSTableReader;
0 1 2 o2 Lorg/apache/cassandra/io/sstable/format/SSTableReader;
MethodParameters:
Name Flags
o1
o2
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.io.sstable.format.SSTableReader
aload 2
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
invokevirtual org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2.compare:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/io/sstable/format/SSTableReader;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
SourceFile: "SizeTieredCompactionStrategy.java"
EnclosingMethod: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.trimToThresholdWithHotness:(Ljava/util/List;I)Lorg/apache/cassandra/utils/Pair;
NestHost: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy
InnerClasses:
org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy$2