CachePolicy

org.llm4s.agent.graph.CachePolicy
See theCachePolicy companion class
object CachePolicy

Attributes

Companion
class
Source
CachePolicy.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(ttl: Option[FiniteDuration], maxEntries: Int): CachePolicy

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

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

Attributes

Source
CachePolicy.scala
def of(ttl: Option[FiniteDuration], maxEntries: Int): Result[CachePolicy]

Attributes

Source
CachePolicy.scala

Concrete fields

Attributes

Source
CachePolicy.scala