Package

swaydb.data

config

Permalink

package config

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait ActorConfig extends AnyRef

    Permalink
  2. sealed trait BinarySearchIndex extends AnyRef

    Permalink
  3. case class Dir(path: Path, distributionRatio: Int) extends Product with Serializable

    Permalink
  4. trait DistributionDir extends AnyRef

    Permalink
  5. sealed trait FileCache extends Bagged[Enable, Option]

    Permalink
  6. sealed trait IOAction extends AnyRef

    Permalink
  7. sealed trait IOStrategy extends AnyRef

    Permalink
  8. sealed trait IndexFormat extends AnyRef

    Permalink
  9. sealed trait LevelConfig extends AnyRef

    Permalink
  10. sealed trait LevelZeroConfig extends AnyRef

    Permalink
  11. sealed trait MMAP extends AnyRef

    Permalink
  12. sealed trait MemoryCache extends AnyRef

    Permalink
  13. case class MemoryLevelConfig(minSegmentSize: Int, maxKeyValuesPerSegment: Int, copyForward: Boolean, deleteSegmentsEventually: Boolean, compactionExecutionContext: CompactionExecutionContext, throttle: (LevelMeter) ⇒ Throttle) extends LevelConfig with Product with Serializable

    Permalink
  14. case class MemoryLevelZeroConfig(mapSize: Long, storage: Level0Storage, compactionExecutionContext: Create, acceleration: (LevelZeroMeter) ⇒ Accelerator, throttle: (LevelZeroMeter) ⇒ FiniteDuration) extends LevelZeroConfig with Product with Serializable

    Permalink
  15. sealed trait MightContainIndex extends AnyRef

    Permalink
  16. sealed trait PersistentConfig extends AnyRef

    Permalink
  17. case class PersistentLevelConfig(dir: Path, otherDirs: Seq[Dir], mmapAppendix: Boolean, appendixFlushCheckpointSize: Long, sortedKeyIndex: SortedKeyIndex, randomKeyIndex: RandomKeyIndex, binarySearchIndex: BinarySearchIndex, mightContainKeyIndex: MightContainIndex, valuesConfig: ValuesConfig, segmentConfig: SegmentConfig, compactionExecutionContext: CompactionExecutionContext, throttle: (LevelMeter) ⇒ Throttle) extends LevelConfig with Product with Serializable

    Permalink
  18. case class PersistentLevelZeroConfig(mapSize: Long, storage: Level0Storage, compactionExecutionContext: Create, acceleration: (LevelZeroMeter) ⇒ Accelerator, throttle: (LevelZeroMeter) ⇒ FiniteDuration) extends LevelZeroConfig with Product with Serializable

    Permalink
  19. sealed trait PrefixCompression extends AnyRef

    Permalink
  20. sealed trait RandomKeyIndex extends AnyRef

    Permalink
  21. sealed trait RecoveryMode extends AnyRef

    Permalink
  22. case class SegmentConfig(cacheSegmentBlocksOnCreate: Boolean, deleteSegmentsEventually: Boolean, pushForward: Boolean, mmap: MMAP, minSegmentSize: Int, maxKeyValuesPerSegmentGroup: Int, ioStrategy: (IOAction) ⇒ IOStrategy, compression: (UncompressedBlockInfo) ⇒ Seq[Compression]) extends Product with Serializable

    Permalink
  23. sealed trait SortedKeyIndex extends AnyRef

    Permalink
  24. sealed trait SwayDBConfig extends AnyRef

    Permalink
  25. case class SwayDBMemoryConfig(level0: MemoryLevelZeroConfig, level1: LevelConfig, otherLevels: List[LevelConfig]) extends SwayDBConfig with Product with Serializable

    Permalink
  26. case class SwayDBPersistentConfig(level0: LevelZeroConfig, level1: LevelConfig, otherLevels: List[LevelConfig]) extends SwayDBConfig with Product with Serializable

    Permalink
  27. sealed trait ThreadStateCache extends AnyRef

    Permalink

    Each thread is assigned a state.

    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.

  28. sealed trait UncompressedBlockInfo extends AnyRef

    Permalink
  29. case class ValuesConfig(compressDuplicateValues: Boolean, compressDuplicateRangeValues: Boolean, ioStrategy: (IOAction) ⇒ IOStrategy, compression: (UncompressedBlockInfo) ⇒ Seq[Compression]) extends Product with Serializable

    Permalink

Value Members

  1. object ActorConfig

    Permalink
  2. object BinarySearchIndex

    Permalink
  3. object ConfigWizard

    Permalink

    http://swaydb.io#configuring-levels

  4. object Dir extends Serializable

    Permalink
  5. object FileCache

    Permalink
  6. object IOAction

    Permalink
  7. object IOStrategy

    Permalink
  8. object IndexFormat

    Permalink
  9. object MMAP

    Permalink
  10. object MemoryCache

    Permalink
  11. object MightContainIndex

    Permalink
  12. object PrefixCompression

    Permalink
  13. object RandomKeyIndex

    Permalink
  14. object RecoveryMode

    Permalink
  15. object SortedKeyIndex

    Permalink
  16. object ThreadStateCache

    Permalink
  17. object TrashLevelConfig extends LevelConfig with Product with Serializable

    Permalink
  18. object UncompressedBlockInfo

    Permalink

Ungrouped