SimpleStoreFactory

class SimpleStoreFactory

Obtain a SimpleStore interface that can read and write into a namespace.

Only one instance per namespace may exist at any time to guarentee FIFO-ordering within the namespace. A namespace is a set of /-delimited strings that refer to a logical location on disk. It is recommended a random UUID be used to both prevent collisions and to obfuscate the contents on disk from rooted users.

Functions

Link copied to clipboard
open fun crashIfAnyOpen()
Link copied to clipboard
open fun create(directoryProvider: DirectoryProvider, namespace: String): SimpleStore
Obtain a store for a namespace with default configuration.
open fun create(directoryProvider: DirectoryProvider, namespace: String, config: NamespaceConfig): SimpleStore
Obtain a store for a namespace.