CheckpointerBackends

org.llm4s.agent.graph.spi.CheckpointerBackends
See theCheckpointerBackends companion object
@Experimental
final class CheckpointerBackends

The checkpoint store backends CheckpointerConfigLoader.open can dispatch to, keyed by kind.

Usually obtained from CheckpointerBackends.discover, which reads META-INF/services/org.llm4s.agent.graph.spi.CheckpointerBackend entries off the classpath. The memory kind is always available, an InMemoryCheckpointer on the system clock, unless a registered backend claims it. When two backends claim one kind the later registration wins, so an explicit withBackend replaces a discovered one.

Value parameters

discovered

whether this set came from classpath discovery rather than explicit registration

failures

one line per service entry that could not be loaded, for diagnosing a missing backend; empty when discovery was clean or did not run

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def find(kind: String): Option[CheckpointerBackend]

The backend for kind, matched case-insensitively; the built-in memory one if none claims memory.

The backend for kind, matched case-insensitively; the built-in memory one if none claims memory.

Attributes

def kinds: Vector[String]

The kinds a backend is available for: memory, then the registered ones in registration order.

The kinds a backend is available for: memory, then the registered ones in registration order.

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

This set plus backend, which replaces any backend for the same kind.

This set plus backend, which replaces any backend for the same kind.

Attributes

Concrete fields

val discovered: Boolean
val failures: Vector[String]