public class SpinningDiskOptimizationStrategy extends java.lang.Object implements DiskOptimizationStrategy
MAX_BUFFER_SIZE, MIN_BUFFER_SIZE, MIN_BUFFER_SIZE_MASK
Constructor and Description |
---|
SpinningDiskOptimizationStrategy() |
Modifier and Type | Method and Description |
---|---|
int |
bufferSize(long recordSize)
For spinning disks always add one page.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
roundBufferSize, roundForCaching
public int bufferSize(long recordSize)
bufferSize
in interface DiskOptimizationStrategy
recordSize
- record sizeCopyright © 2009-2022 The Apache Software Foundation