Factory

@Serializable
sealed interface Factory

Represents a factory interface for creating storage instances. The default implementation is InMemoryStorageFactory which stores data in memory

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract var epoch: Int

Functions

Link copied to clipboard
open fun epoch(epoch: Int): Storage.Factory
Link copied to clipboard
abstract fun open(allocator: BufferAllocator, memoryCache: MemoryCache, diskCache: DiskCache?, dbName: DatabaseName, meterRegistry: MeterRegistry? = null, storageVersion: StorageVersion = VERSION, remotes: Map<RemoteAlias, Remote> = emptyMap()): BufferPool