package map
Type Members
- trait MapCache[K, V] extends AnyRef
- trait MapCacheBuilder[C] extends AnyRef
- class MemoryMap[K, V, C <: MapCache[K, V]] extends Map[K, V, C] with LazyLogging
- Attributes
- protected
- case class PersistentMap[K, V, C <: MapCache[K, V]](path: Path, mmap: data.config.MMAP.Map, fileSize: Long, flushOnOverflow: Boolean, cache: C, currentFile: DBFile)(implicit fileSweeper: FileSweeperActor, bufferCleaner: ByteBufferSweeperActor, writer: MapEntryWriter[Put[K, V]], forceSaveApplier: ForceSaveApplier) extends Map[K, V, C] with LazyLogging with Product with Serializable
- Attributes
- protected
- sealed case class RecoveryResult[+T](item: T, result: IO[Error.Map, Unit]) extends Product with Serializable
Files can be partially recovered based on the value set for swaydb.data.config.RecoveryMode.
Files can be partially recovered based on the value set for swaydb.data.config.RecoveryMode.
This instance stores the result of the recovery of the target swaydb.core.io.file.DBFile and the result of each partial recovery.
This instance will only contain failure if the file was partially recovered. If there was a full failure then a IO outside this instance should return the failure.