RewrapPolicy

org.llm4s.agent.encryption.RewrapPolicy
See theRewrapPolicy companion object
@Experimental
final case class RewrapPolicy

How one call of EncryptingCheckpointer.rewrap works: on at most batchSize threads, for about budget - it finishes the thread it is in, so a call always makes progress, then hands back its cursor - claiming each thread it changes for claimTtl, renewed as it goes.

apply and the with* setters throw IllegalArgumentException for a batchSize outside 1 to SweepPolicy.MaxBatchSize, or a non-positive budget or claimTtl; RewrapPolicy.of returns a ValidationError.

Attributes

Companion
object
Source
KeyRotation.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
KeyRotation.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product