swaydb
.
data
config
package
config
Visibility
Public
All
Type Members
sealed
trait
ActorConfig
extends
AnyRef
sealed
trait
BinarySearchIndex
extends
AnyRef
case class
Dir
(
path:
Path
,
distributionRatio:
Int
)
extends
Product
with
Serializable
trait
DistributionDir
extends
AnyRef
sealed
trait
FileCache
extends
Tagged
[
Enable
,
Option
]
sealed
trait
IOAction
extends
AnyRef
sealed
trait
IOStrategy
extends
AnyRef
sealed
trait
LevelConfig
extends
AnyRef
sealed
trait
LevelZeroConfig
extends
AnyRef
case class
LevelZeroMemoryConfig
(
mapSize:
Long
,
storage:
Level0Storage
,
compactionExecutionContext:
Create
,
acceleration: (
LevelZeroMeter
) ⇒
Accelerator
,
throttle: (
LevelZeroMeter
) ⇒
FiniteDuration
)
extends
LevelZeroConfig
with
Product
with
Serializable
case class
LevelZeroPersistentConfig
(
mapSize:
Long
,
storage:
Level0Storage
,
compactionExecutionContext:
Create
,
acceleration: (
LevelZeroMeter
) ⇒
Accelerator
,
throttle: (
LevelZeroMeter
) ⇒
FiniteDuration
)
extends
LevelZeroConfig
with
Product
with
Serializable
sealed
trait
MMAP
extends
AnyRef
sealed
trait
MemoryCache
extends
AnyRef
case class
MemoryLevelConfig
(
segmentSize:
Int
,
copyForward:
Boolean
,
deleteSegmentsEventually:
Boolean
,
mightContainKey:
MightContainIndex
,
compactionExecutionContext:
CompactionExecutionContext
,
throttle: (
LevelMeter
) ⇒
Throttle
)
extends
LevelConfig
with
Product
with
Serializable
sealed
trait
MightContainIndex
extends
AnyRef
sealed
trait
PersistentConfig
extends
AnyRef
case class
PersistentLevelConfig
(
dir:
Path
,
otherDirs:
Seq
[
Dir
]
,
segmentSize:
Int
,
mmapSegment:
MMAP
,
mmapAppendix:
Boolean
,
appendixFlushCheckpointSize:
Long
,
copyForward:
Boolean
,
deleteSegmentsEventually:
Boolean
,
sortedIndex:
SortedKeyIndex
,
hashIndex:
RandomKeyIndex
,
binarySearchIndex:
BinarySearchIndex
,
mightContainKey:
MightContainIndex
,
values:
ValuesConfig
,
segmentIO: (
IOAction
) ⇒
IOStrategy
,
segmentCompressions: (
UncompressedBlockInfo
) ⇒
Seq
[
Compression
]
,
compactionExecutionContext:
CompactionExecutionContext
,
throttle: (
LevelMeter
) ⇒
Throttle
)
extends
LevelConfig
with
Product
with
Serializable
sealed
trait
PrefixCompression
extends
AnyRef
sealed
trait
RandomKeyIndex
extends
AnyRef
sealed
trait
RecoveryMode
extends
AnyRef
sealed
trait
SortedKeyIndex
extends
AnyRef
sealed
trait
SwayDBConfig
extends
AnyRef
case class
SwayDBMemoryConfig
(
level0:
LevelZeroMemoryConfig
,
level1:
LevelConfig
,
otherLevels:
List
[
LevelConfig
]
)
extends
SwayDBConfig
with
Product
with
Serializable
case class
SwayDBPersistentConfig
(
level0:
LevelZeroConfig
,
level1:
LevelConfig
,
otherLevels:
List
[
LevelConfig
]
)
extends
SwayDBConfig
with
Product
with
Serializable
sealed
trait
UncompressedBlockInfo
extends
AnyRef
case class
ValuesConfig
(
compressDuplicateValues:
Boolean
,
compressDuplicateRangeValues:
Boolean
,
ioStrategy: (
IOAction
) ⇒
IOStrategy
,
compression: (
UncompressedBlockInfo
) ⇒
Seq
[
Compression
]
)
extends
Product
with
Serializable
Value Members
object
ActorConfig
object
BinarySearchIndex
object
ConfigWizard
http://swaydb.io#configuring-levels
object
Dir
extends
Serializable
object
FileCache
object
IOAction
object
IOStrategy
object
MMAP
object
MemoryCache
object
MightContainIndex
object
PrefixCompression
object
RandomKeyIndex
object
RecoveryMode
object
SortedKeyIndex
object
TrashLevelConfig
extends
LevelConfig
with
Product
with
Serializable
object
UncompressedBlockInfo
Ungrouped