SweepPolicy

org.llm4s.agent.graph.SweepPolicy
See theSweepPolicy companion class
object SweepPolicy

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(retention: RetentionPolicy, tombstoneAge: Option[FiniteDuration], batchSize: Int): SweepPolicy

Throws IllegalArgumentException for an invalid limit; use of for untrusted input.

Throws IllegalArgumentException for an invalid limit; use of for untrusted input.

Attributes

def of(retention: RetentionPolicy, tombstoneAge: Option[FiniteDuration], batchSize: Int): Result[SweepPolicy]

Concrete fields

val DefaultBatchSize: Int

The threads one call visits unless a policy says otherwise.

The threads one call visits unless a policy says otherwise.

Attributes

val MaxBatchSize: Int

The most threads one call may visit: a larger page would not stay within a store's bound.

The most threads one call may visit: a larger page would not stay within a store's bound.

Attributes

Changes nothing: Checkpointer.sweep only visits.

Changes nothing: Checkpointer.sweep only visits.

Attributes