Package-level declarations

Types

Link copied to clipboard
class PostgresCheckpointer<State>(dataSource: DataSource, serializer: StateSerializer<State>, table: String = DEFAULT_TABLE, maxHistory: Int = Int.MAX_VALUE, createTable: Boolean = true) : Checkpointer<State>

A persistent Checkpointer that saves the checkpoints of each thread in a table of a PostgreSQL database, through the DataSource of the app. Servers with several instances share it, so a run that paused on one instance is resumed on another:

Link copied to clipboard
class PostgresStore(dataSource: DataSource, table: String = DEFAULT_TABLE, clock: Clock = Clock.System, createTable: Boolean = true) : Store

A persistent Store that keeps its items in a table of a PostgreSQL database, through the DataSource of the app, so that every instance of a server remembers what an agent learned: