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, waitroundBufferSize, roundForCachingpublic int bufferSize(long recordSize)
bufferSize in interface DiskOptimizationStrategyrecordSize - record sizeCopyright © 2018 The Apache Software Foundation