CheckpointStore

org.llm4s.agent.graph.spi.CheckpointStore
See theCheckpointStore companion object
@Experimental
final class CheckpointStore extends AutoCloseable

An open checkpoint store, as a CheckpointerBackend returns it: the Checkpointer to build a GraphRuntime over, and the means to close what the backend opened for it (a file, a connection pool).

Close it when the application stops, after every runtime over it has finished: close() releases the backend's resources once, and later calls do nothing. Calls to the checkpointer after close fail as the store documents.

Value parameters

kind

the llm4s.agent.checkpointer.kind the store was opened for

Attributes

Companion
object
Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def close(): Unit

Closes what the backend opened for the store; only the first call does anything.

Closes what the backend opened for the store; only the first call does anything.

Attributes

def isClosed: Boolean

Whether close has been called.

Whether close has been called.

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Concrete fields

val kind: String