Package-level declarations

Types

Link copied to clipboard
class FileCheckpointer<State>(directory: Path, serializer: StateSerializer<State>, fileSystem: FileSystem = SystemFileSystem, maxHistory: Int = Int.MAX_VALUE) : Checkpointer<State>

A persistent Checkpointer that stores the checkpoints of each thread in one file inside directory: one line of JSON for each step of the thread, oldest first.

Link copied to clipboard
class FileStore(directory: Path, fileSystem: FileSystem = SystemFileSystem, clock: Clock = Clock.System) : Store

A persistent Store that keeps its items in files inside directory: a folder for each part of a namespace, and in it one file of JSON with the items of that namespace. The items of listOf("users", "ana") are in users/ana/items.json.