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 ForceSave extends AnyRef

    Permalink

    Config to set if forceSave should be applied to java.nio.MappedByteBuffer and java.nio.channels.FileChannel.

  7. sealed trait IOAction extends AnyRef

    Permalink
  8. sealed trait IOStrategy extends AnyRef

    Permalink
  9. sealed trait IndexFormat extends AnyRef

    Permalink
  10. sealed trait LevelConfig extends AnyRef

    Permalink
  11. sealed trait LevelZeroConfig extends AnyRef

    Permalink
  12. sealed trait MMAP extends AnyRef

    Permalink

    Configurations to enable or disable memory-mapping of all files.

  13. sealed trait MemoryCache extends AnyRef

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

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

    Permalink
  16. sealed trait MightContainIndex extends AnyRef

    Permalink
  17. sealed trait PersistentConfig extends AnyRef

    Permalink
  18. case class PersistentLevelConfig(dir: Path, otherDirs: Seq[Dir], mmapAppendix: Map, 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
  19. case class PersistentLevelZeroConfig extends LevelZeroConfig with Product with Serializable

    Permalink
  20. sealed trait PrefixCompression extends AnyRef

    Permalink
  21. sealed trait RandomKeyIndex extends AnyRef

    Permalink
  22. sealed trait RecoveryMode extends AnyRef

    Permalink
  23. 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

    Permalink
  24. sealed trait SortedKeyIndex extends AnyRef

    Permalink
  25. sealed trait SwayDBConfig extends AnyRef

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

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

    Permalink
  28. 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.

  29. sealed trait UncompressedBlockInfo extends AnyRef

    Permalink
  30. case class ValuesConfig(compressDuplicateValues: Boolean, compressDuplicateRangeValues: Boolean, blockIOStrategy: (IOAction) ⇒ IOStrategy, compression: (UncompressedBlockInfo) ⇒ Iterable[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 ForceSave

    Permalink
  7. object IOAction

    Permalink
  8. object IOStrategy

    Permalink
  9. object IndexFormat

    Permalink
  10. object MMAP

    Permalink
  11. object MemoryCache

    Permalink
  12. object MemoryLevelConfig extends Serializable

    Permalink
  13. object MemoryLevelZeroConfig extends Serializable

    Permalink
  14. object MightContainIndex

    Permalink
  15. object PersistentLevelConfig extends Serializable

    Permalink
  16. object PersistentLevelZeroConfig extends Serializable

    Permalink
  17. object PrefixCompression

    Permalink
  18. object RandomKeyIndex

    Permalink
  19. object RecoveryMode

    Permalink
  20. object SegmentConfig extends Serializable

    Permalink
  21. object SortedKeyIndex

    Permalink
  22. object ThreadStateCache

    Permalink
  23. object TrashLevelConfig extends LevelConfig with Product with Serializable

    Permalink
  24. object UncompressedBlockInfo

    Permalink
  25. object ValuesConfig extends Serializable

    Permalink
  26. package builder

    Permalink

Ungrouped