public class org.apache.cassandra.io.util.SsdDiskOptimizationStrategy implements org.apache.cassandra.io.util.DiskOptimizationStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.io.util.SsdDiskOptimizationStrategy
super_class: java.lang.Object
{
private final double diskOptimizationPageCrossChance;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
dload 1
putfield org.apache.cassandra.io.util.SsdDiskOptimizationStrategy.diskOptimizationPageCrossChance:D
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/util/SsdDiskOptimizationStrategy;
0 3 1 diskOptimizationPageCrossChance D
MethodParameters:
Name Flags
diskOptimizationPageCrossChance
public int bufferSize(long);
descriptor: (J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: lload 1
ldc 4096
lrem
l2d
ldc 4096.0
ddiv
dstore 3
start local 3 1: dload 3
aload 0
getfield org.apache.cassandra.io.util.SsdDiskOptimizationStrategy.diskOptimizationPageCrossChance:D
dsub
ldc -1.0E-16
dcmpl
ifle 3
2: lload 1
ldc 4096
ladd
lstore 1
3: StackMap locals: double
StackMap stack:
aload 0
lload 1
invokevirtual org.apache.cassandra.io.util.SsdDiskOptimizationStrategy.roundBufferSize:(J)I
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/SsdDiskOptimizationStrategy;
0 4 1 recordSize J
1 4 3 pageCrossProbability D
MethodParameters:
Name Flags
recordSize
}
SourceFile: "SsdDiskOptimizationStrategy.java"