public interface org.apache.cassandra.io.util.DiskOptimizationStrategy
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: org.apache.cassandra.io.util.DiskOptimizationStrategy
super_class: java.lang.Object
{
public static final int MIN_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
public static final int MIN_BUFFER_SIZE_MASK;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4095
public static final int MAX_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 65536
public abstract int bufferSize(long);
descriptor: (J)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
recordSize
public int roundBufferSize(long);
descriptor: (J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifgt 2
1: sipush 4096
ireturn
2: StackMap locals:
StackMap stack:
lload 1
ldc 4095
ladd
ldc -4096
land
lstore 1
3: lload 1
ldc 65536
invokestatic java.lang.Math.min:(JJ)J
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/io/util/DiskOptimizationStrategy;
0 4 1 size J
MethodParameters:
Name Flags
size
public static int roundForCaching(int, boolean);
descriptor: (IZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 0
sipush 4096
if_icmpgt 2
1: sipush 4096
ireturn
2: StackMap locals:
StackMap stack:
iload 1
ifeq 4
3: iconst_1
bipush 32
iload 0
iconst_1
isub
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
isub
ishl
goto 5
4: StackMap locals:
StackMap stack:
iload 0
invokestatic java.lang.Integer.highestOneBit:(I)I
5: StackMap locals:
StackMap stack: int
istore 2
start local 2 6: ldc 65536
iload 2
invokestatic java.lang.Math.min:(II)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 size I
0 7 1 roundUp Z
6 7 2 ret I
MethodParameters:
Name Flags
size
roundUp
}
SourceFile: "DiskOptimizationStrategy.java"