LevelDBOptions

sealed class LevelDBOptions : Options.Open

Types

BlockRestartInterval
Link copied to clipboard
common
data class BlockRestartInterval(blockRestartInterval: Int) : LevelDBOptions
Number of keys between restart points for delta encoding of keys.
BlockSize
Link copied to clipboard
common
data class BlockSize(blockSize: Int) : LevelDBOptions
Approximate size of user data packed per block.
BloomFilterBitsPerKey
Link copied to clipboard
common
data class BloomFilterBitsPerKey(bloomFilterBitsPerKey: Int) : LevelDBOptions
If non-0, use a Bloom filter policy to reduce disk reads.
CacheSize
Link copied to clipboard
common
data class CacheSize(cacheSize: Int) : LevelDBOptions
Size of the LRU cache LevelDB will use to prevent unneeded disk access.
Companion
Link copied to clipboard
common
object Companion
MaxFileSize
Link copied to clipboard
common
data class MaxFileSize(maxFileSize: Int) : LevelDBOptions
Leveldb will write up to this amount of bytes to a file before switching to a new one.
MaxOpenFiled
Link copied to clipboard
common
data class MaxOpenFiled(maxOpenFiles: Int) : LevelDBOptions
Number of open files that can be used by the DB.
OpenPolicy
Link copied to clipboard
common
data class OpenPolicy(openPolicy: LevelDB.OpenPolicy) : LevelDBOptions
Defines how to react if the database exists or not.
ParanoidChecks
Link copied to clipboard
common
data class ParanoidChecks(paranoidChecks: Boolean) : LevelDBOptions
If true, the implementation will do aggressive checking of the data it is processing and will stop early if it detects any errors.
PrintLogs
Link copied to clipboard
common
data class PrintLogs(printLogs: Boolean) : LevelDBOptions
If true, the LevelDB implementation will print internal logs.
RepairOnCorruption
Link copied to clipboard
common
data class RepairOnCorruption(repairOnCorruption: Boolean) : LevelDBOptions
If a DB cannot be opened, you may attempt to set this to true to resurrect as much of the contents of the database as possible.
ReuseLogs
Link copied to clipboard
common
data class ReuseLogs(reuseLogs: Boolean) : LevelDBOptions
EXPERIMENTAL: If true, append to existing MANIFEST and log files when a database is opened.
SnappyCompression
Link copied to clipboard
common
data class SnappyCompression(snappyCompression: Boolean) : LevelDBOptions
Whether to compress blocks using the Snappy compression algorithm.
WriteBufferSize
Link copied to clipboard
common
data class WriteBufferSize(writeBufferSize: Int) : LevelDBOptions
Amount of data to build up in memory (backed by an unsorted log on disk) before converting to a sorted on-disk file.

Inheritors

LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
LevelDBOptions
Link copied to clipboard
DBLoggerFactory
Link copied to clipboard
TrackClosableAllocation
Link copied to clipboard
FailOnBadClose
Link copied to clipboard