package
config
Type Members
-
-
-
case class
Dir(path: Path, distributionRatio: Int) extends Product with Serializable
-
-
-
-
-
-
-
-
-
sealed
trait
MMAP extends AnyRef
-
-
case class
MemoryLevelConfig(minSegmentSize: Int, maxKeyValuesPerSegment: Int, copyForward: Boolean, deleteSegmentsEventually: Boolean, compactionExecutionContext: CompactionExecutionContext, throttle: (LevelMeter) ⇒ Throttle) extends LevelConfig with Product with Serializable
-
-
-
-
-
-
-
-
-
case class
SegmentConfig(cacheSegmentBlocksOnCreate: Boolean, deleteSegmentsEventually: Boolean, pushForward: Boolean, mmap: Segment, minSegmentSize: Int, maxKeyValuesPerSegment: Int, fileOpenIOStrategy: ThreadSafe, blockIOStrategy: (IOAction) ⇒ IOStrategy, compression: (UncompressedBlockInfo) ⇒ Iterable[Compression]) extends Product with Serializable
-
-
-
-
-
-
-
case class
ValuesConfig(compressDuplicateValues: Boolean, compressDuplicateRangeValues: Boolean, blockIOStrategy: (IOAction) ⇒ IOStrategy, compression: (UncompressedBlockInfo) ⇒ Iterable[Compression]) extends Product with Serializable
Each thread is assigned a state. This config indicates if that state should be limited or unlimited.
A single thread can spawn reads of over 100s of segments. For eg: performing forward and reverse iterations over millions of keys could spread over multiple segments. These iterators cannot use bloomFilter since bloomFilters only do exists check on a key. This states are used for skipping reading a segment if it's not required.